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

EphemeralForTest does not unindex records in capped collections on rollback.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.11, 3.6.0-rc4
    • 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

    Description

      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.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb
            daniel.gottlieb@mongodb.com Daniel Gottlieb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: