gh-737: add method which is invoked once per replica set
Implement box.once(). Right now there is a race in box.once(), this is somethign we'll need to fix when we have master election on simultaneous bootstrap. The patch merely "establishes" the syntax which is going to work most of the time.
Showing
- src/box/lua/schema.lua 16 additions, 0 deletionssrc/box/lua/schema.lua
- test/box/misc.result 1 addition, 0 deletionstest/box/misc.result
- test/replication/once.result 36 additions, 0 deletionstest/replication/once.result
- test/replication/once.test.lua 12 additions, 0 deletionstest/replication/once.test.lua
Loading
Please register or sign in to comment