[DOCS-14452] Investigate changes in SERVER-50286: Indicate if operation is reading from a view in the log file Created: 13/May/21  Updated: 13/Nov/23  Resolved: 06/Oct/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jason Price
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-50286 Indicate if operation is reading from... Closed
Participants:
Days since reply: 2 years, 18 weeks ago
Epic Link: DOCSP-15042
Story Points: 3

 Description   

Description

Downstream Change Summary

The changes in this ticket affect the slow log lines for operations on views. The indication that the namespace is a view is also present in $currentOp.

Description of Linked Ticket

Currently there is no indication in the log file for slow query entries that the target of the operation is a view.  This can be very confusing since, for example, the operation could report using an index for a field that is seemingly not used or have a sort when none is requested directly.  

We should indicate when the target entity is a view.  Such an indication could range from a simple boolean (eg isView:1) to something more complex like reporting the final generated pipeline (as is done when explain is used on such queries).  

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'jason-price-mongodb', 'email': 'jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com'}

Message: DOCS-14452 view in log
Branch: v5.0
https://github.com/mongodb/docs/commit/facf868b58afd0e1d1d24092f4a30df0c7c4d09b

Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'jason-price-mongodb', 'email': 'jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com'}

Message: DOCS-14452 view in log
Branch: master
https://github.com/mongodb/docs/commit/fb5e750b27704582ab8076e2e28af9f55e293b4b

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