Hi everyone,
if I perform a rolling Update with Remember-Entities on then the new node get plenty of errors from this line of code:
val errMsg = s"Invalid replayed event [sequenceNr=${r.persistent.sequenceNr}, writerUUID=${r.persistent.writerUuid}]. " +
s"There was already a newer writer whose last replayed event was [sequenceNr=${seqNo}, writerUUID=${writerUuid}] for the same persistenceId [${r.persistent.persistenceId}]." +
"Perhaps, the old writer kept journaling messages after the new writer created, or duplicate persistenceId for different entities?"
Erros look like this:
2025-05-06 17:32:35.340 - WARN - a.persistence.journal.ReplayFilter - akka://ts-ng@192.168.21.144:2552/system/akka.persistence.cassandra.journal/$mb - Invalid replayed event [sequenceNr=1580783, writerUUID=3fd53bf6-0ea6-4a1f-8027-ce31811f6da6]. There was already a newer writer whose last replayed event was [sequenceNr=1580782, writerUUID=883dce50-bfb8-4216-a451-68872b9aac95] for the same persistenceId [/sharding/IShard/3728].
Perhaps, the old writer kept journaling messages after the new writer created, or duplicate persistenceId for different entities?
What can cause this issue?
thanks,
Kevin