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

Remove WT_CONN_SERVER_RUN flag

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.2, 3.2.13, 3.4.4, 3.5.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage 2017-03-27, Storage 2017-04-17

      After WT-3097, we only use WT_CONN_SERVER_RUN in two places. It would be better to replace the use in session_api.c with a check of WT_CONN_CLOSING and to introduce an LSM-specific run flag that controls shutdown of LSM threads.

      Using module-specific run flags gives us the flexibility to shut down and restart individual modules plus control order of thread shutdown during connection close.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: