Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage_service: register schema version observer before joining grou…
…p0 and starting gossiper The schema version is updated by group0, so if group0 starts before schema version observer is registered some updates may be missed. Since the observer is used to update node's gossiper state the gossiper may contain wrong schema version. Fix by registering the observer before starting group0 and even before starting gossiper to avoid a theoretical case that something may pull schema after start of gossiping and before the observer is registered. Fixes: scylladb#15078 Message-Id: <ZOYZWhEh6Zyb+FaN@scylladb.com>
- Loading branch information