akka / akka-persistence-cassandra

A replicated Akka Persistence journal backed by Apache Cassandra
https://doc.akka.io/docs/akka-persistence-cassandra/
Other
329 stars 135 forks source link

Support for ScyllaDB #366

Open chbatey opened 6 years ago

chbatey commented 6 years ago

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.

assiotis commented 5 years ago

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.