jakubzytka opened a new pull request, #3102: URL: https://github.com/apache/cassandra/pull/3102
The patch introduces a DecayingBuckets class that encapsulates decayingBuckets and the now-immutable decayLandmark. DecayingBuckets are never rescaled in place, so we can now ensure no updates with wrong weight and no snapshots of a half-rescaled reservoir. The patch retains the original update performance. The patch contains a disabled (`@Ignore`) test demonstrating the update vs rescale race condition in practice. -- 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]

