Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4335

Don't fail rollback_to_stable due to sweep activity

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.4, 4.1.4, WT3.2.0
    • Affects Version/s: 4.0.0
    • Component/s: None
    • None
    • 2
    • Storage Engines 2018-10-08
    • v4.0

      Some MongoDB tests are failing with the following error message:

      WT_CONNECTION.rollback_to_stable: __txn_rollback_to_stable_check, 455: rollback_to_stable illegal with active transactions
      

      This is despite no MongoDB operations being active when rollback_to_stable is called.

      Debugging indicates that the sweep thread can have a transaction active when removing stale entries from the lookaside table, and that transaction can cause the check to fail unnecessarily.

      Since the later phase of rollback_to_stable holds a lock to prevent sweep running concurrently, this check should use the same approach to avoid spurious failures.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: