Add snapshot errors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-03-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Misha Tyulenev (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: