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

`IndexCatalogEntryImpl::_catalogIsReady` is unsafe to unconditionally call.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.2, 4.1.2
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-07-30
    • 19

    Description

      The condition added here is to guard against WT snapshot isolation with read timestamp semantics where a read timestamp of T can sometimes not see committed updates [index build completions] at time < T if the WT transaction were opened before the update [index build] was committed.

      However, while it's possible the timing of events would show storage seeing an index as building, but not complete, it's also possible the storage engine doesn't see the index build having begun. In that circumstance, a call to `_catalogIsReady` is fatal.

      Attachments

        Activity

          People

            dewal.gupta Dewal Gupta
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: