Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
The version check gate in AnticompactionTask will fail with -betaX-SNAPSHOT and -rcX-SNAPSHOT builds. As SystemKeyspace.getReleaseVersion will return null for those. This means dtests and anyone else testing with dev builds will be getting the wrong repair behavior.
SemanticVersion peerVersion = SystemKeyspace.getReleaseVersion(neighbor); if (peerVersion != null && peerVersion.compareTo(VERSION_CHECKER) > 0) { MessagingService.instance().sendRR(acr.createMessage(), neighbor, new AnticompactionCallback(this), TimeUnit.DAYS.toMillis(1), true); } else { MessagingService.instance().sendOneWay(acr.createMessage(), neighbor); // immediately return after sending request set(neighbor); }
Attachments
Attachments
Issue Links
- relates to
-
CASSANDRA-9422 SystemKeyspaceTest fails with non-release version string
- Resolved