replication: always reload URIs on reconfiguration
Even if the new value of box.cfg.replication is the same as the old one, we still need to recreate appliers' IO stream contexts from the URIs on reconfiguration, because a URI parameter may store a path to a file (for example, an SSL certificate), which could change. Needed for tarantool/tarantool-ee#432 NO_DOC=ee NO_TEST=ee NO_CHANGELOG=ee
Showing
- src/box/applier.cc 10 additions, 0 deletionssrc/box/applier.cc
- src/box/applier.h 8 additions, 0 deletionssrc/box/applier.h
- src/box/box.cc 4 additions, 1 deletionsrc/box/box.cc
- src/box/replication.cc 10 additions, 0 deletionssrc/box/replication.cc
- src/box/replication.h 13 additions, 0 deletionssrc/box/replication.h
- src/lib/core/iostream.c 2 additions, 3 deletionssrc/lib/core/iostream.c
- src/lib/core/iostream.h 11 additions, 0 deletionssrc/lib/core/iostream.h
Loading
Please register or sign in to comment