Get rid of IPROTO_SERVER_IS_RO
Not needed anymore as we now use the new IPROTO_VOTE command instead of IPROTO_VOTE_DEPRECATED. Let's remove it altogether and reuse its code for IPROTO_BALLOT (they are never decoded together so no conflict should happen). Worst that can happen is we choose a read-only master when bootstrapping an older version of tarantool.
Showing
- src/box/iproto.cc 3 additions, 6 deletionssrc/box/iproto.cc
- src/box/iproto_constants.c 3 additions, 4 deletionssrc/box/iproto_constants.c
- src/box/iproto_constants.h 1 addition, 2 deletionssrc/box/iproto_constants.h
- src/box/xrow.c 6 additions, 24 deletionssrc/box/xrow.c
- src/box/xrow.h 12 additions, 18 deletionssrc/box/xrow.h
Loading
Please register or sign in to comment