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

drop_index.js fails when run in passthrough suite with stepdown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.8, 5.0.2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Execution Team 2021-07-12
    • 20

      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.

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

              Created:
              Updated:
              Resolved: