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

IndexBuildInterceptor rollback handler access _sideWritesCounter field after interceptor is destroyed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3.1
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Execution Team 2019-08-26

      Description

      Aborting a transaction that began while an index build is in progress may invoke registered changes in the RecoveryUnit to rollback changes to the temporary tables used by the index build. In the event of a replica set step down, the index build may be cleaned up, along with the associated IndexBuildInterceptor and the temporary tables, before the abort procedure is completed for the transaction. This may result in the rollback handler in the RecoveryUnit accessing the internal state of an IndexBuildInterceptor that is no longer available. A potential scenario, which requires SERVER-42824 to be implemented , is described in SERVER-42621.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: