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

Server can abort when creating capped collection with invalid size

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc0
    • Affects Version/s: 3.0.0
    • Component/s: Storage
    • Fully Compatible
    • ALL
    • Integration 2016-09-19, Integration 2016-10-10
    • 0

      This bug affects versions 3.0+.

      WiredTiger exhibits an invariant failure:

      2016-05-10T16:49:21.101-0400 I -        [conn2] Invariant failure _cappedMaxSize > 0 src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp 825
      2016-05-10T16:49:21.101-0400 I -        [conn2] 
      
      ***aborting after invariant() failure
      

      mmapv1 exhibits a fatal assertion:

      2016-05-10T16:48:14.184-0400 I -        [conn1] Fatal assertion 18523 BadValue: size has to be >= 0
      2016-05-10T16:48:14.184-0400 I -        [conn1] 
      
      ***aborting after fassert() failure
      

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: