shutdown path is not clean for storage engines

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Leif Walsh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: