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

allocation failure creating collection leads to inconsistent state

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

      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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: