[Tarantool-patches] [PATCH v17 5/5] test: add gh-6036-term-order test

Cyrill Gorcunov gorcunov at gmail.com
Mon Sep 27 10:33:43 MSK 2021


On Mon, Sep 27, 2021 at 10:13:32AM +0300, Serge Petrenko wrote:
> 
> I think it would be simpler to do something like:
> 
> cfg_tbl = {every common parameter}
> 
> if INSTANCE_ID == 'replica2' then cfg_tbl.read_only = true
> 
> box.cfg{} calls for master and replica 1 are identical, replica2 only
> differs in read_only = true.

Good point! Will do, thanks!

	Cyrill


More information about the Tarantool-patches mailing list