box: move on_shutdown triggers to the trigger registry
The commit moves on_shutdown triggers to the trigger registry. The triggers set by C API and internal triggers remain unchanged - only Lua user triggers are affected. Changelog entry of #8657 is populated with box.ctl triggers and is slightly improved. Closes #8657 NO_DOC=later
Showing
- changelogs/unreleased/gh-8657-move-triggers-to-trigger-registry.md 6 additions, 6 deletions...s/unreleased/gh-8657-move-triggers-to-trigger-registry.md
- src/box/box.cc 4 additions, 0 deletionssrc/box/box.cc
- src/box/box.h 4 additions, 1 deletionsrc/box/box.h
- src/box/lua/ctl.c 1 addition, 2 deletionssrc/box/lua/ctl.c
- src/on_shutdown.c 42 additions, 2 deletionssrc/on_shutdown.c
- src/on_shutdown.h 3 additions, 3 deletionssrc/on_shutdown.h
- test/box-luatest/triggers_old_api_test.lua 1 addition, 0 deletionstest/box-luatest/triggers_old_api_test.lua
Loading
Please register or sign in to comment