Remove special-casing for capped collections in initial sync

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2025-06-09, Storage Execution 2025-06-23
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      Index builds used to not support document deletion while the index was being built, which caused major problems for initial sync of capped collections (see SERVER-29197). To work around this, initial sync special cases capped collections and creates indexes on them before inserting any documents.

      The root problem was fixed by hybrid index builds, and MultiIndexBlock now does the right thing if documents are deleted during an index build. This means that we can remove the special-casing and eliminate a place that index idents need to be plumbed through.

            Assignee:
            Thomas Goyne
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: