Closed xirc closed 1 year ago
Closes: https://github.com/lerna-stack/akka-entity-replication/issues/201
akka-entity-replication supports deleting old events and snapshots. This deletion feature is an opt-in feature (disabled is the default) since it only supports the Akka Persistence Cassandra. The deletion criteria is based on sequence number.
akka-entity-replication
There are four related persistent actors:
lerna.akka.entityreplication.raft.RaftActor
lerna.akka.entityreplication.raft.snapshot.sync.SnapshotSyncManager
lerna.akka.entityreplication.raft.snapshot.SnapshotStore
lerna.akka.entityreplication.raft.eventsourced.CommitLogStoreActor
They delete old events and snapshots automatically when they save a snapshot. If a deletion fails, they will log a warning message.
The newly introduced settings are:
lerna.akka.entityreplication.raft.delete-old-events
lerna.akka.entityreplication.raft.delete-old-snapshots
lerna.akka.entityreplication.raft.delete-before-relative-sequence-nr
lerna.akka.entityreplication.raft.snapshot-sync.delete-old-events
lerna.akka.entityreplication.raft.snapshot-sync.delete-old-snapshots
lerna.akka.entityreplication.raft.snapshot-sync.delete-before-relative-sequence-nr
lerna.akka.entityreplication.raft.entity-snapshot-store.delete-old-events
lerna.akka.entityreplication.raft.entity-snapshot-store.delete-old-snapshots
lerna.akka.entityreplication.raft.entity-snapshot-store.delete-before-relative-sequence-nr
lerna.akka.entityreplication.raft.eventsourced.persistence.delete-old-events
lerna.akka.entityreplication.raft.eventsourced.persistence.delete-old-snapshots
lerna.akka.entityreplication.raft.eventsourced.persistence.delete-before-relative-sequence-nr
Closes: https://github.com/lerna-stack/akka-entity-replication/issues/201
akka-entity-replication
supports deleting old events and snapshots. This deletion feature is an opt-in feature (disabled is the default) since it only supports the Akka Persistence Cassandra. The deletion criteria is based on sequence number.There are four related persistent actors:
lerna.akka.entityreplication.raft.RaftActor
lerna.akka.entityreplication.raft.snapshot.sync.SnapshotSyncManager
lerna.akka.entityreplication.raft.snapshot.SnapshotStore
lerna.akka.entityreplication.raft.eventsourced.CommitLogStoreActor
They delete old events and snapshots automatically when they save a snapshot. If a deletion fails, they will log a warning message.
The newly introduced settings are:
lerna.akka.entityreplication.raft.delete-old-events
lerna.akka.entityreplication.raft.delete-old-snapshots
lerna.akka.entityreplication.raft.delete-before-relative-sequence-nr
lerna.akka.entityreplication.raft.snapshot-sync.delete-old-events
lerna.akka.entityreplication.raft.snapshot-sync.delete-old-snapshots
lerna.akka.entityreplication.raft.snapshot-sync.delete-before-relative-sequence-nr
lerna.akka.entityreplication.raft.entity-snapshot-store.delete-old-events
lerna.akka.entityreplication.raft.entity-snapshot-store.delete-old-snapshots
lerna.akka.entityreplication.raft.entity-snapshot-store.delete-before-relative-sequence-nr
lerna.akka.entityreplication.raft.eventsourced.persistence.delete-old-events
lerna.akka.entityreplication.raft.eventsourced.persistence.delete-old-snapshots
lerna.akka.entityreplication.raft.eventsourced.persistence.delete-before-relative-sequence-nr