Provide minSequenceNr for snapshot deletion (#25590)
* Provide minSequenceNr for snapshot deletion Journals can use this to make the bulk deletion more efficient Use keepNrBatches to delete the last few snapshots in case previous deletes failed.
This commit is contained in:
parent
d7c463e033
commit
23b9266fca
3 changed files with 18 additions and 20 deletions
|
|
@ -693,7 +693,9 @@ A persistent actor can delete individual snapshots by calling the `deleteSnapsho
|
|||
when the snapshot was taken.
|
||||
|
||||
To bulk-delete a range of snapshots matching `SnapshotSelectionCriteria`,
|
||||
persistent actors should use the `deleteSnapshots` method.
|
||||
persistent actors should use the `deleteSnapshots` method. Depending on the journal used this might be inefficient. It is
|
||||
best practice to do specific deletes with `deleteSnapshot` or to include a `minSequenceNr` as well as a `maxSequenceNr`
|
||||
for the `SnapshotSelectionCriteria`.
|
||||
|
||||
### Snapshot status handling
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue