Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14452

Investigate changes in SERVER-50286: Indicate if operation is reading from a view in the log file

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 5.0.0-rc0
    • manual, Server
    • None

    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.)

      Attachments

        Issue Links

          Activity

            People

              jason.price@mongodb.com Jason Price
              backlog-server-pm Backlog - Core Eng Program Management Team
              Jess Mokrzecki Jess Mokrzecki
              Irina Yatsenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 33 weeks, 3 days ago