Closed LeonidVas closed 1 year ago
When using the queue in the replica set, when switching from master to replica and then back again, the module does not allow to work with tubes created on the replica.
The initial settings are taken from here.
master:
box.cfg({read_only = true})
replica:
box.cfg({read_only = false}) queue.create_tube('tube', 'fifo') box.cfg({read_only = true})
box.cfg({read_only = false})
and now we trying to use the `tube'.
tarantool> queue.tube.tube:put("a1") --- - error: '[string "return queue.tube.tube:put("a1")"]:1: attempt to index field ''tube'' (a nil value)' ...
When using the queue in the replica set, when switching from master to replica and then back again, the module does not allow to work with tubes created on the replica.
The initial settings are taken from here.
master:
box.cfg({read_only = true})
replica:
master:
box.cfg({read_only = false})
and now we trying to use the `tube'.