[SERVER-79490] Dbcheck should not fail with CommandNotSupportedOnView Created: 31/Jul/23  Updated: 29/Oct/23  Resolved: 18/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Moustafa Maher Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-63951 dbCheck should handle concurrent repl... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Sprint: Repl 2023-08-07, Repl 2023-08-21
Participants:
Linked BF Score: 17

 Description   

dbcheck catches an exception CommandNotSupportedOnView here (see the BF-29373 for the scenario) and log it as a health log error.

We should catch the exception here and log it as a warning like we do when the collection doesn't exist here.



 Comments   
Comment by Githook User [ 18/Aug/23 ]

Author:

{'name': 'Moustafa Maher Khalil', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-79490 Dbcheck should not fail with CommandNotSupportedOnView
Branch: master
https://github.com/mongodb/mongo/commit/a5f8c29144c00601411cf5332ea81ad79de7c968

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