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

Skip creating oplog entry for unreplicated collections

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

      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@mongodb.com Wenbin Zhu
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: