sedulam opened a new pull request, #4728: URL: https://github.com/apache/cassandra/pull/4728
Ticket: https://issues.apache.org/jira/browse/CASSANDRA-18282 This backports CASSANDRA-17810 (which fixed the root cause on 5.0+) to 4.1, plus improves the RTBoundValidator error message to spell out "Range Tombstone" and include the partition key. Background: when a replica-side read is aborted mid-iteration, the old CheckForAbort transformation silently truncates the iterator with stop(). If the truncation happens inside a range tombstone span, the resulting iterator has an open RT marker with no close marker, triggering IllegalStateException in RTBoundValidator. The fix throws QueryCancelledException instead, so callers discard the partial response. ## Test plan - Unit tests: ReadCommandTest (abort tests updated) - Distributed test: TimeoutAbortTest (new) reproduces the original scenario - Full test suite passes locally -- 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]

