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

multi index creates are given wrong timestamps

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc1, 4.1.1
    • Component/s: Replication, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Storage NYC 2018-06-04
    • Linked BF Score:
      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

              Assignee:
              daniel.gottlieb Daniel Gottlieb
              Reporter:
              daniel.gottlieb Daniel Gottlieb
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: