[SERVER-34110] Ignore NamespaceNotFound errors when refetching documents during rollback Created: 23/Mar/18  Updated: 29/Oct/23  Resolved: 07/May/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.6.6, 4.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Suganthi Mani
Resolution: Fixed Votes: 1
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-35368 DBClientBase::findOneByUUID should re... Closed
Related
is related to SERVER-33644 getMissingDoc in initial sync needs t... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Repl 2018-04-23, Repl 2018-05-07, Repl 2018-05-21
Participants:
Linked BF Score: 74

 Description   

The collection may be dropped on the sync source, in which case it will be dropped during oplog replay.



 Comments   
Comment by Githook User [ 22/May/18 ]

Author:

{'username': 'smani87', 'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com'}

Message: SERVER-34110 Ignore NamespaceNotFound errors when refetching documents during rollback.

(cherry picked from commit b8ec2b195ba2a6e024fa80ec85547f7a670e6df3)
Branch: v3.6
https://github.com/mongodb/mongo/commit/fb17c2df36c2638e9d769331b74a18d8ff221b8a

Comment by Githook User [ 07/May/18 ]

Author:

{'email': 'suganthi.mani@mongodb.com', 'name': 'Suganthi Mani', 'username': 'smani87'}

Message: SERVER-34110 Ignore NamespaceNotFound errors when refetching documents during rollback
Branch: master
https://github.com/mongodb/mongo/commit/b8ec2b195ba2a6e024fa80ec85547f7a670e6df3

Comment by Spencer Brody (Inactive) [ 27/Mar/18 ]

Regression in 3.6

Comment by Judah Schvimer [ 23/Mar/18 ]

They do not, but they do both use "DBClientBase::findOneByUUID". The solution depends on how low down we want to make the change.

Comment by Spencer Brody (Inactive) [ 23/Mar/18 ]

Do they both use the same getMissingDoc codepath? If so we can probably combine the tickets

Comment by Judah Schvimer [ 23/Mar/18 ]

That ticket is about initial sync, this is about rollback. The fix to that ticket very likely would fix this one.

Comment by Spencer Brody (Inactive) [ 23/Mar/18 ]

Dupe of SERVER-33644?

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