[SERVER-29978] op log observer ids system collections wrong Created: 05/Jul/17  Updated: 06/Dec/22  Resolved: 09/Apr/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.4.5, 3.5.9
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Nathan Myers Assignee: Backlog - Replication Team
Resolution: Duplicate Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-30325 Cache transaction progress in the Ses... Closed
Assigned Teams:
Replication
Operating System: ALL
Participants:

 Description   

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.



 Comments   
Comment by Siyuan Zhou [ 09/Apr/20 ]

This has been fixed as part of SERVER-30325.

Generated at Thu Feb 08 04:22:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.