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

EphemeralForTest does not unindex records in capped collections on rollback.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: