CassandraPersistenceQueries.currentEventsBefore
can skip deleted partitions
#208
Milestone
CassandraPersistenceQueries.currentEventsBefore
can skip deleted partitions
#208
For #201
CassandraPersistenceQueries.currentEventsBefore
iterates events on all partitions (from + 1
to 0) but can skip deleted partitions by using the highest deleted sequence number (callleddeleted_to
), which reduces some read-events queries.CassandraPersistenceQueries.currentEventsBefore
:akka-entity-replication/rollback-tool-cassandra/src/main/scala/lerna/akka/entityreplication/rollback/cassandra/CassandraPersistenceQueries.scala
Lines 177 to 189 in 1afe799
CassandraPersistenceQueries
can fetch the highest deleted sequence number (calleddeleted_to
) from the metadata table (akka.metadata
).deleted_to
is described as:The text was updated successfully, but these errors were encountered: