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

shutdown path is not clean for storage engines

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.7.8
    • Component/s: Storage
    • None
    • Storage Execution
    • ALL

      TokuFT is fairly draconian about closing and dropping dictionaries, and about shutting down while things are still open.

      Attached are two patches:

      1) During a clean shutdown, close all databases (which in turn will close all dictionaries) before closing the environment.
      2) Before dropping a collection, close the record store backing it, because TokuFT complains if you drop an open dictionary.

      These patches are part of https://github.com/mongodb/mongo/pull/834, this ticket is mostly to explain the issue and have a record of it.

        1. 01-kv_storage_engine_clean_shutdown.patch
          0.8 kB
          Leif Walsh
        2. 02-kv_record_store_close_before_drop.patch
          1 kB
          Leif Walsh

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            leifwalsh Leif Walsh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: