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

FSM workload "view_catalog_direct_system_writes.js" should peform writes to system.views using non-atomic apply ops instead of atomic apply ops.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-08-24
    • 65

      SERVER-43633 has exposed a 3 way deadlock issue involving applyOps cmd, prepared transaction and oplog find command by making the user writes (insert/delete ops) to system.views collection via applyOps cmd in fsm workload view_catalog_direct_system_writes.js . To be noted, 'applyOps' cmd by default runs in atomic mode. Atomic mode apply ops consisting of CRUD ops always take global lock in X mode.

      As we currently have lot of applyOps related issues, there is a server ticket to remove atomic applyOps mode (see SERVER-33182). So in order to make evergreen happy, as a temporary fix, we should make the applyOps cmd in view_catalog_direct_system_writes.js to run with allowAtomic flag set as false.

            Assignee:
            suganthi.mani@mongodb.com Suganthi Mani
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: