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

Create a stress test to exercise opening and closing of sessions in parallel to rollback-to-stable

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 0
    • 2023-03-21 Ellen Ripley

      While working on WT-7909, I encountered a scenario where WiredTiger merge testing was green however a lot of MongoDB test failures were observed when a patch test was created for daily WT drops. The root cause was found out to be the new logic added for WT-7909 that walked session list in WT_CONNECTION_IMPL data structure. None of the existing WT tests exercise opening and closing sessions in parallel to the rollback-to-stable operation. This means we were unable to detect a bug where we inspected fields inside a WT_SESSION_IMPL struct for a session that has closed and was inactive. 

      The aim of this ticket to use one of the testing framework to exercise such code paths where we inspect the session list without holding locks (e.g., _wt_txn_user_active(), _wt_gen_drain()).

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            haseeb.bokhari@mongodb.com Haseeb Bokhari (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: