akka-persistence-cassandra
akka-persistence-cassandra copied to clipboard
Support for ScyllaDB
As it stands various persistent query tests sporadically fail with ScyllaDB, particularly the EventsByTagStageSpec
. A lot of time was spent working with/around Cassandra's undocumented/incorrectly documented semantics around logged batch isolation. The same effort needs to take place for ScyllaDB.
If you want to run against a local ScyllaDB you can set mode to External in CassandraLifecycle.scala
and most the tests run.
EventsByTagMigrationSpec
fails consistently as it appears the semantics of dropping materialized views differs between Cassandra and ScyllaDB.
In our tests, we had to set cassandra-journal.events-by-tag.enabled = false
for recovery to work. Otherwise, recovery would fail sporadically, even though we are not using query or tags.