He-Pin opened a new pull request, #2797:
URL: https://github.com/apache/pekko/pull/2797

   ## Motivation
   
   Multiple concurrent retention cycles could overlap and interfere with each 
other, potentially leading to incorrect snapshot/event deletion.
   
   ## Modification
   
   Added a guard to ensure only one retention (snapshot deletion) cycle runs at 
a time. New retention requests during an active cycle are deferred until the 
current one completes.
   
   ## Result
   
   Prevents potential data corruption from overlapping retention cycles.
   
   ## References
   
   - Upstream commit: 
[akka/akka-core@57b750a3dc](https://github.com/akka/akka-core/commit/57b750a3dc),
 which is now Apache licensed.
   - Cherry-picked from akka/akka-core v2.8.0 (released Sept 2022, BSL -> 
Apache 2.0 after 3 years).
   


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