box.ctl: rename clear_synchro_queue to promote
New function name will be `box.ctl.promote()`. It's much shorter and closer to the function's now enriched functionality. Old name `box.ctl.clear_synchro_queue()` remains in Lua for the sake of backward compatibility. Follow-up #5445 Closes #3055 @TarantoolBot document Title: deprecate `box.ctl.clear_synchro_queue()` in favor of `box.ctl.promote()` Replace all the mentions of `box.ctl.clear_synchro_queue()` with `box.ctl.promote()` and add a note that `box.ctl.clear_synchro_queue()` is a deprecated alias to `box.ctl.promote()`
Showing
- changelogs/unreleased/box-ctl-promote.md 8 additions, 0 deletionschangelogs/unreleased/box-ctl-promote.md
- src/box/box.cc 11 additions, 11 deletionssrc/box/box.cc
- src/box/box.h 1 addition, 1 deletionsrc/box/box.h
- src/box/lua/ctl.c 5 additions, 3 deletionssrc/box/lua/ctl.c
- src/box/raft.c 2 additions, 2 deletionssrc/box/raft.c
- test/replication/gh-3055-election-promote.result 105 additions, 0 deletionstest/replication/gh-3055-election-promote.result
- test/replication/gh-3055-election-promote.test.lua 43 additions, 0 deletionstest/replication/gh-3055-election-promote.test.lua
- test/replication/suite.cfg 1 addition, 0 deletionstest/replication/suite.cfg
Loading
Please register or sign in to comment