Roiocam commented on issue #155:
URL: 
https://github.com/apache/pekko-persistence-jdbc/issues/155#issuecomment-2066017600

   > The deleted flag though is still used to ensure the last sequence number 
isn't lost when deleting all events. To get rid of that low level logical 
deletion, the plugin would have to keep a metadata table of the last sequence 
number of each persistence id similar how persistence-cassandra does it.
   
   Thanks for the input, that's help!
   >
   > The other option to keep the deleted flag, we could optimize the delete by 
deleting up to n - 1, then mark the event n as deleted. That would avoid 
updating all rows before deleting them.
   
   I will finish this on #169
   
   


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