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

Remove WT_CONN_SERVER_RUN flag

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: