net.box: add info about sequence to remote space object
A remote space object presented by a net.box connection mimics the API of a local space object presented by box.space. Currently, it misses information about sequences. Let's add it. Note, we have to handle the case when the recently introduced _vspace_sequence system space view is missing on the remote host. To check that this works correctly, we reuse the 2.10.4 test data created by commit 1c33484d ("box: add auth_history and last_modified fields to _user space"). We also add the 'gen.lua' that can be used to regenerated the data. Closes #7858 NO_DOC=bug fix
Showing
- changelogs/unreleased/gh-7858-net-box-space-sequence.md 4 additions, 0 deletionschangelogs/unreleased/gh-7858-net-box-space-sequence.md
- src/box/lua/net_box.c 25 additions, 12 deletionssrc/box/lua/net_box.c
- src/box/lua/net_box.lua 19 additions, 1 deletionsrc/box/lua/net_box.lua
- test/box-luatest/gh_7858_net_box_space_sequence_test.lua 114 additions, 0 deletionstest/box-luatest/gh_7858_net_box_space_sequence_test.lua
- test/box-luatest/upgrade/2.10.4/00000000000000000009.snap 0 additions, 0 deletionstest/box-luatest/upgrade/2.10.4/00000000000000000009.snap
- test/box-luatest/upgrade/2.10.4/00000000000000000014.snap 0 additions, 0 deletionstest/box-luatest/upgrade/2.10.4/00000000000000000014.snap
- test/box-luatest/upgrade/2.10.4/gen.lua 15 additions, 0 deletionstest/box-luatest/upgrade/2.10.4/gen.lua
- test/box/net.box_iproto_transactions_over_streams.result 1 addition, 4 deletionstest/box/net.box_iproto_transactions_over_streams.result
- test/box/net.box_iproto_transactions_over_streams.test.lua 1 addition, 2 deletionstest/box/net.box_iproto_transactions_over_streams.test.lua
Loading