[SERVER-56783] createIndex on empty collection could throw NamespaceNotFound error Created: 10/May/21  Updated: 29/Oct/23  Resolved: 10/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0-rc1, 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_other_required, post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.9
Sprint: Repl 2021-05-17
Participants:

 Description   

SERVER-56527 made the tenant oplog applier ignore creatIndex oplog entry for empty collections. But this could throw NamespaceNotFound error, which is not handled properly. We should catch and ignore NamespaceNotFound error.



 Comments   
Comment by Githook User [ 10/May/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-56783: Ignore NamespaceNotFound for createIndex in tenant oplog applier

(cherry picked from commit 8f87828a42fbe05df15265eda5a0835772169f16)
Branch: v4.9
https://github.com/mongodb/mongo/commit/bd9cbc9a6a8d192895298133c2d3f65c00545617

Comment by Githook User [ 10/May/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-56783: Ignore NamespaceNotFound for createIndex in tenant oplog applier
Branch: master
https://github.com/mongodb/mongo/commit/8f87828a42fbe05df15265eda5a0835772169f16

Generated at Thu Feb 08 05:40:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.