josh-mckenzie commented on a change in pull request #1213:
URL: https://github.com/apache/cassandra/pull/1213#discussion_r722424652
##########
File path: src/java/org/apache/cassandra/config/DatabaseDescriptor.java
##########
@@ -3447,6 +3447,105 @@ public static void
setConsecutiveMessageErrorsThreshold(int value)
conf.consecutive_message_errors_threshold = value;
}
+ public static boolean enablePartitionDenylist()
+ {
+ return conf.enable_partition_denylist;
+ }
+
+ public static void setEnablePartitionDenylist(boolean enabled)
+ {
+ conf.enable_partition_denylist = enabled;
+ }
+
+ public static boolean getDenylistWritesEnabled()
Review comment:
We also have:
```
public static boolean getClientTrackWarningsEnabled()
{
return conf.client_track_warnings_enabled;
}
```
but I think, in general, you're correct. I'll tidy the rest of them up to
conform with the majority idiom in the file.
--
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]