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

multi index creates are given wrong timestamps

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0-rc1, 4.1.1
    • Replication, Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-06-04
    • 63

    Description

      If a user creates more than one index at a time, then all index completion (the ready: true write) is done at the timestamp of the last oplog entry.

      This is because the transaction calls are sequenced as such:

      1. Index A is ready
      2. Index B is ready
      3. Set timestamp to T1
      4. Write oplog entry for index A
      5. Set timestamp to T2
      6. Write oplog entry for index B

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: