Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63989

Retry rollback_to_stable until all concurrent operations finish

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v5.0, v4.4
    • Execution Team 2022-03-21, Execution Team 2022-04-04
    • 35

      The rollback_to_stable operation requires callers to"close or reset all open cursors before the call, and no other API calls should be made for the duration of the call."

      If that does not happen, the operation will fail with the following error:

      {"t":{"$date":"2022-01-28T01:09:22.818+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"BackgroundSync","msg":"WiredTiger error message","attr":{"error":22,"message":{"ts_sec":1643332162,"ts_usec":818250,"thread":"2:0x7f13c99e3700","session_name":"txn rollback_to_stable","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"int __rollback_to_stable_check(WT_SESSION_IMPL *):1391:rollback_to_stable illegal with active transactions","error_str":"Invalid argument","error_code":22}}}
      

      We should retry rollback_to_stable until the system quiesces.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: