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

drop_index.js fails when run in passthrough suite with stepdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.8, 5.0.2, 5.1.0-rc0
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Execution Team 2021-07-12
    • 20

    Description

      When the jsCore test drop_index.js is run in a replica set passthrough configuration, a stepdown occurring after dropping multiple indexes may result in the subsequent listIndexes command returning one of the dropped indexes. This could be caused by the listIndexes connected to a new primary that may not replicated the oplog entries for both dropped indexes (c_1 and d_1).

      According to SERVER-37727, a successful dropIndexes command from the client for multiple indexes results in replicating one dropIndexes oplog entry per index dropped.

      Attachments

        Issue Links

          Activity

            People

              yuhong.zhang@mongodb.com Yuhong Zhang
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: