EphemeralForTest does not unindex records in capped collections on rollback.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.4.11, 3.6.0-rc4
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Hide

      resmoke --suites replica_sets --storageEngine ephemeralForTest jstests/replsets/rollback_crud_op_sequences.js

      Show
      resmoke --suites replica_sets --storageEngine ephemeralForTest jstests/replsets/rollback_crud_op_sequences.js
    • Storage 2017-11-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Part of the contract of RecordStore::cappedTruncateAfter is to call aboutToDeleteCapped on each document being removed. This callback results in the catalog/Collection object calling the appropriate unindex methods.

      However EphemeralForTestRecordStore only removes the documents.

            Assignee:
            Daniel Gottlieb (Inactive)
            Reporter:
            Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: