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

Drop and rename show up differently in $currOP on mongos than on mongod

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution

      transactions_block_ddl.js tests that open transactions block ddl operations on the involved collections. Until recently this test was blocked from running in sharded environments due to SERVER-84330, but upon unblocking the tests it was found that some ddl operations show up differently in $currOp on unsharded and sharded clusters. 

      For example, for this test a collection drop shows up as 

      "command" : drop

       in an unsharded environment but as 

      "command" : _shardsvrDropCollection

       in a sharded environment. From the test, we know these differences also exist for a database drop, a collection rename within the same database and a collection rename between two different databases. 

      We should either reconcile these differences in $currOp or change the test reflect this. 

            Assignee:
            mickey.winters@mongodb.com Mickey Winters
            Reporter:
            kristina.znam@mongodb.com Kristina Znam
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: