You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If topology on raft mode is disabled, there is no use in registering RPCs that are exclusive to that mode. We should adjust the code in storage_service not to do that and make sure that the existing code does not accidentally try to send those RPCs when raft mode is disabled.
The text was updated successfully, but these errors were encountered:
make sure that the existing code does not accidentally try to send those RPCs when raft mode is disabled.
In fact, that would be dangerous if we release a version that sends those RPCs out. We then wouldn't be able to modify these RPCs in backward-incompatible way before going out of experimental mode!
We should be quick here and backport to 5.4 if necessary
…o use its RPCs' from Piotr Dulikowski
Topology on raft is still an experimental feature. The RPC verbs
introduced in that mode shouldn't be used when it's disabled, otherwise
we lose the right to make breaking changes to those verbs.
First, make sure that the aforementioned verbs are not sent outside the
mode. It turns out that `raft_pull_topology_snapshot` could be sent
outside topology-on-raft mode - after the PR, it no longer can.
Second, topology-on-raft mode verbs are now not registered at all on the
receiving side when the mode is disabled.
Additionally tested by running `topology/` tests with
`consistent_cluster_management: True` but with experimental features
disabled.
Fixes: #15862Closes#15917
* github.com:scylladb/scylladb:
storage_service: fix indentation
raft: topology: only register verbs in topology-on-raft mode
raft: topology: only pull topology snapshot in topology-on-raft mode
(cherry picked from commit 5cf18b1)
Sub-task of #15555, followup to #15196 (comment).
If topology on raft mode is disabled, there is no use in registering RPCs that are exclusive to that mode. We should adjust the code in
storage_service
not to do that and make sure that the existing code does not accidentally try to send those RPCs when raft mode is disabled.The text was updated successfully, but these errors were encountered: