Fix index build making path multikey even for aborted transaction ops

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      IndexBuildInterceptor::_multikeyPaths is mutated unconditionally on sideWrite() in primary's process memory but has no RecoveryUnit::onRollback hook.

      An aborted txn will cause the multikey change to make it into durable catalog at commit-build ts, while secondary's interceptor (oplog-driven) never sees the aborted writes.

      The primary believes the index is multikey, while the secondary considers it not multikey.

            Assignee:
            Yujin Kang Park
            Reporter:
            Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: