[SERVER-51529] Consider views creation on namespace used by RecoverRefresh thread Created: 14/Oct/20  Updated: 29/Oct/23  Resolved: 20/Oct/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: PM-1645-Milestone-1, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-10-19, Sharding 2020-11-02
Participants:
Linked BF Score: 60

 Description   

In the recoverRefresh exit block, the namespace is being locked with views forbidden.

While it is correct to state that no operation on a view should end up calling onShardVersionMismatch, it cannot be assumed that a view will not be created on a non-existing namespace being recovered (as it often happens in BF-19064 failures).



 Comments   
Comment by Githook User [ 20/Oct/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-51529 Consider views creation on namespace used by RecoverRefresh thread
Branch: master
https://github.com/mongodb/mongo/commit/081f7acefa6e26698ba1177ed362e4f8006944d0

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