Index catalog entry can have incorrect generateTableWrites value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2025-10-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We replState->setGenerateTableWrites in _buildPrimaryDrivenIndex, which happens after we use the replState->generateTableWrites()to set the index build catalog entry's generateTableWrites value in _setUpIndexBuildInner.

      This is leading to issues implementing SERVER-110840. We can set the options.generateTableWrites without referring to replState->generateTableWrites() as within _setUpIndexBuildInner, we case on if we have a primary or secondary and we have access to the IndexBuildMethod.

            Assignee:
            Stephanie Eristoff
            Reporter:
            Stephanie Eristoff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: