allocation failure creating collection leads to inconsistent state

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: MMAPv1, Storage
    • None
    • Storage Execution
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Examples of allocation failures:

      • out of disk space when saving document in system.namespaces
      • out of hash table space when saving NamespaceDetails
      • out of disk space when creating extents

      Observed example of inconsistent state:

      • system.namespaces object exists without a corresponding NamespaceDetails and cannot be removed easily

      Reproduce:

      for( i = 0; i < 13000; ++i ) {
      db[ 'c_' + i ].save( {} );
      }
      db.getCollectionNames().forEach( function

      { assert( db[x].stats().ok ); }

      );

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Aaron Staple (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: