space: get rid of apply_initial_join_row method
There's no reason to use a special method instead of the generic space_execute_dml for applying rows received from a master during the initial join stage. Moreover, using the special method results in not running space.before_replace trigger, which makes it impossible to, for example, update space engine on a replica, see the on_schema_init test of the replication test suite. So this patch removes the special method altogether and makes the code that used it switch to space_execute_dml. Closes #4417
Showing
- src/box/applier.cc 14 additions, 8 deletionssrc/box/applier.cc
- src/box/blackhole.c 0 additions, 1 deletionsrc/box/blackhole.c
- src/box/memtx_engine.c 15 additions, 7 deletionssrc/box/memtx_engine.c
- src/box/memtx_space.c 0 additions, 30 deletionssrc/box/memtx_space.c
- src/box/space.c 0 additions, 9 deletionssrc/box/space.c
- src/box/space.h 0 additions, 16 deletionssrc/box/space.h
- src/box/sysview.c 0 additions, 1 deletionsrc/box/sysview.c
- src/box/vinyl.c 0 additions, 68 deletionssrc/box/vinyl.c
- test/replication/on_schema_init.result 6 additions, 0 deletionstest/replication/on_schema_init.result
- test/replication/on_schema_init.test.lua 3 additions, 0 deletionstest/replication/on_schema_init.test.lua
Loading
Please register or sign in to comment