GitHub user raboof added a comment to the discussion: Add new deleteObject 
functions to Persistence API

> I think it would be consistent with the API for persist to have the delete 
> fail when the revision number does not match (meaning there was a concurrent 
> write between reading the value and deleting it).

to be clear: my proposal would be to return a failure only when an active 
record with a mismatching revision number is found, but keep returning 
`Success(Done)` if the entity is already deleted.

GitHub link: 
https://github.com/apache/pekko/discussions/1233#discussioncomment-8913848

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to