[SERVER-33013] Add snapshot errors Created: 30/Jan/18  Updated: 29/Oct/23  Resolved: 05/Mar/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-32268 Add SnapshotTooOld and SnapshotUnavai... Closed
Related
is related to SERVER-33664 add SnapshotUnavailable for atCluster... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-03-12
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 05/Mar/18 ]

Author:

{'email': 'misha@mongodb.com', 'name': 'Misha Tyulenev', 'username': 'mikety'}

Message: SERVER-33013 add SnapshotError class
Branch: master
https://github.com/mongodb/mongo/commit/6d104981a13bd51456fd4b49920e03c6e8ac494a

Generated at Thu Feb 08 04:32:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.