dcapwell commented on code in PR #3526:
URL: https://github.com/apache/cassandra/pull/3526#discussion_r1757236159


##########
src/java/org/apache/cassandra/config/Config.java:
##########
@@ -526,6 +526,13 @@ public class Config
      */
     public volatile int validation_preview_purge_head_start_in_sec = 60 * 60;
 
+    /*
+     * Toggles to turn on the logging or rejection of operations for token 
ranges that the node does not own,
+     * or is not about to acquire.
+     */
+    public volatile boolean log_out_of_token_range_requests = true;
+    public volatile boolean reject_out_of_token_range_requests = true;

Review Comment:
   reject for this type of error is far better than logging... *knowing* to 
scan the logs and detect it and how to "fix" are going to be a shocker to 
operators... so rejecting keeps the DB 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