applier: send IPROTO_ID to master
We need it to retrieve the default authentication method that should be used by the applier if not set explicitly in URI. In future, we may also use it for other things, e.g. fetching the master's name. The IPROTO_ID request is sent only if the master's version is >= 2.10.0. An error received in reply to IPROTO_ID is logged, but doesn't abort replication, because IPROTO_ID is optional. Needed for #7989 NO_DOC=internal NO_CHANGELOG=internal
Showing
- src/box/applier.cc 23 additions, 1 deletionsrc/box/applier.cc
- src/box/xrow.c 24 additions, 0 deletionssrc/box/xrow.c
- src/box/xrow.h 15 additions, 0 deletionssrc/box/xrow.h
- test/replication-luatest/iproto_id_error_test.lua 44 additions, 0 deletionstest/replication-luatest/iproto_id_error_test.lua
Loading
Please register or sign in to comment