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

RSTL released during two phase index build restarted by rollback via refetch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2020-01-27
    • Linked BF Score:
      20

      Description

      This invariant in ReplicationCoordinator::canAcceptWritesFor() may fail during an index rebuild started by a rollback using the refetch method. The two phase index build should be running with the RSTL acquired. However, we check for general two phase index build support, which is dependent on the current FCV, to determine if we need to keep the RSTL lock.

      Since the server supports running a mix of two and single phased index builds concurrently, one possible solution for the RSTL may be to use the index build method provided by the caller.

        Attachments

          Activity

            People

            Assignee:
            benety.goh Benety Goh
            Reporter:
            benety.goh Benety Goh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: