Skip creating oplog entry for unreplicated collections

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2024-01-08, Repl 2024-01-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to SERVER-81613 (which was for CRUD operations), we should skip creating an oplog entry in onCreateCollection for unreplicated collections. Currently we create a MutableOplogEntry and then only check if the collection is unreplicated here, but we should skip creating the oplog entry in the first place

            Assignee:
            Wenbin Zhu
            Reporter:
            Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: