Skip to content

System peers tables may be incorrectly repaired during a rolling upgrade.#4924

Open
minal-kyada wants to merge 1 commit into
apache:trunkfrom
minal-kyada:fix-system-peers-repair-during-rolling-upgrade
Open

System peers tables may be incorrectly repaired during a rolling upgrade.#4924
minal-kyada wants to merge 1 commit into
apache:trunkfrom
minal-kyada:fix-system-peers-repair-during-rolling-upgrade

Conversation

@minal-kyada

Copy link
Copy Markdown
Contributor

During a rolling upgrade from 4.0.4 to 4.0.5, the system peers tables are expected to be temporarily divergent from ClusterMetadata. Nodes still on 4.0.4 have not yet registered with TCM, so their peer table entries are not fully reflected in ClusterMetadata.directory.

SystemPeersValidator.validateAndRepair() does not account for this window, making it possible for the peers tables to end up in an incorrect state where valid peer entries have been removed or overwritten.

patch by @minal-kyada ; reviewed by @beobal and @maedhroz for CASSANDRA-21503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant