Implement errors related to snapshots.
Implementation:
1. add errors (if not already added)
error_code("SnapshotUnavailable", 239) error_code("SnapshotTooOld", 240)
2. add
error_class("StaleSnapshotError", ["StaleConfig", "StaleShardVersion", "StaleEpoch", "SnapshotUnavailable", "SnapshotTooOld"])
Test:
no testcases are planned
- is duplicated by
-
SERVER-32268 Add SnapshotTooOld and SnapshotUnavailable exception
- Closed
- is related to
-
SERVER-33664 add SnapshotUnavailable for atClusterTime
- Closed