akka-persistence-redis icon indicating copy to clipboard operation
akka-persistence-redis copied to clipboard

Failed to persist event type [{}] with sequence number [{}] for persistenceId

Open skokorin opened this issue 6 years ago • 7 comments

Hi, I've got a persistence failure on one of environments after sometime. The problem there is no indication of cause of a problem. I receive "CircuitBreaker Timeout" as a cause, without nesting exception. How I can log or catch the reason for persistence failure.

skokorin avatar Mar 08 '18 13:03 skokorin

Circuit break opens when asyncWriteMessages returns a failed future. You would need to log the exception in this line https://github.com/hootsuite/akka-persistence-redis/blob/master/src/main/scala/com/hootsuite/akka/persistence/redis/journal/RedisJournal.scala#L64

ssong-van avatar Mar 19 '18 16:03 ssong-van

Do you get an error as stated in the issue title? Is something trying to persist an empty event? Can you log what's being persisted?

ssong-van avatar Mar 19 '18 16:03 ssong-van

i had the same error, i'm trying to persist an empty event, and Redis delete this key. What could i do to prevent this??

ninaball avatar Apr 23 '19 21:04 ninaball

I have the same issue.

hamelmoon avatar May 15 '19 02:05 hamelmoon

@ssong-van Is it fair to assume that this codebase is not actively maintained anymore?

naderghanbari avatar Dec 10 '20 19:12 naderghanbari

Hi, unfortunately we are no longer actively maintaining the proejct.

ssong-van avatar Dec 10 '20 23:12 ssong-van

I will go update the README

ssong-van avatar Dec 11 '20 00:12 ssong-van