Closed davidcorcoran closed 7 years ago
Thanks for creating the issue. I'll take a look at it.
You were absolutely correct, it was a bug. It should be fixed in release v2.4.17.2 and should be synced on Maven Central the following hours/days.
I've updated to v2.4.17.2 this morning and my tests which were previously failing are now passing. Thank you for fixing the bug and for fixing it so quickly. Both this and akka-persistence-jdbc
are great libraries.
Thanks!
In commit
9ce9a6b
"find deleted messages" you changed the waycurrentEventsByPersistenceId
(and thereforeeventsByPersistenceId
) worked so that they now return deleted messages. I think the expected behaviour for them would be to not return deleted messages. I believe that's how yourakka-persistence-jdbc
library works, messages flagged as deleted are filtered out.I stumbled across this while writing test code which was supposed to test that the correct messages we're being deleted, but the journal was always returning them despite the fact they were deleted.
So I think this is a bug, but could be wrong.
Thanks