ekaterinadimitrova2 commented on code in PR #1737:
URL: https://github.com/apache/cassandra/pull/1737#discussion_r924493660


##########
src/java/org/apache/cassandra/io/sstable/IndexSummaryManager.java:
##########
@@ -100,6 +100,7 @@ public void setResizeIntervalInMinutes(int 
resizeIntervalInMinutes)
     {
         int oldInterval = this.resizeIntervalInMinutes;
         this.resizeIntervalInMinutes = resizeIntervalInMinutes;
+        
DatabaseDescriptor.setIndexSummaryResizeIntervalInMinutes(resizeIntervalInMinutes);

Review Comment:
   I thought about it, it was probably made local long time ago when there were 
no Virtual Tables, but I was considering that in 4.1 using directly the getter 
will add one more operation multiplication if someone doesn't use minutes so 
stayed conservative :D  might be too conservative though :D 



-- 
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