Skip to content

Failure when trying to use the tube after switching back to the master #202

Closed
@LeonidVas

Description

@LeonidVas

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})

master:

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)'
...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions