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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-01-27
    • 20

      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.

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

              Created:
              Updated:
              Resolved: