nivykani opened a new pull request, #4948:
URL: https://github.com/apache/cassandra/pull/4948

   Currently, runWithCompactionsDisabled can’t tell the difference between a 
successful truncate vs a truncate that wasn’t successful due to being unable to 
stop compaction, because both return null. In either case, it logs “Truncate is 
complete” and returns success to the user. `TruncateBlockingTest` reproduces 
this bug.
   
   The proposed fix is adding a return value to check for success on 
truncateBlocking, as well as adding a new exception type for Truncate.
   
   The [Cassandra 
Jira](https://issues.apache.org/jira/browse/CASSANDRA-21527?filter=-2)
   
   


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