beobal commented on code in PR #2946:
URL: https://github.com/apache/cassandra/pull/2946#discussion_r1410756165


##########
src/java/org/apache/cassandra/hints/HintsDescriptor.java:
##########
@@ -69,7 +70,7 @@ final class HintsDescriptor
     static final int VERSION_30 = 1;
     static final int VERSION_40 = 2;
     static final int VERSION_50 = 3;
-    static final int CURRENT_VERSION = 
DatabaseDescriptor.getStorageCompatibilityMode().isBefore(5) ? VERSION_40 : 
VERSION_50;
+    static final int CURRENT_VERSION = 
DatabaseDescriptor.getStorageCompatibilityMode().isBefore(5) ? VERSION_40 : 
VERSION_51;

Review Comment:
   Can we add a `HintsDescriptor::VERSION_51` here. There doesn't seem any real 
point in having these equivalent constants at the moment, but it might be 
confusing if it isn't consistent.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to