op log observer ids system collections wrong

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Nathan Myers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: