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

op log observer ids system collections wrong

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.4.5, 3.5.9
    • Component/s: Replication
    • Labels:
    • Replication
    • ALL

      In db/op_observer_impl.cpp, there are three tests to identify system collections:

          if (strstr(nss.ns().c_str(), ".system.js")) {
          if (strstr(args.nss.ns().c_str(), ".system.js")) {
          if (nss.coll() == "system.js") {
      

      It seems clear that only the last is correct.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            nathan.myers Nathan Myers
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: