Server can abort when creating capped collection with invalid size

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Kamran K. (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: