Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56304

Log time spent waiting for metadata refresh at CRUD level

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Needs Scheduling
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Diagnostics, Querying, Sharding
    • Labels:
      None

      Description

      When mongos and mongod are performing sharding metadata refresh CRUD operations are getting blocked, unfortunately this time is not currently logged in the CRUD operation log but we need to correlate that with refresh logs like:

      2021-04-23T13:04:35.737+0200 I SH_REFR  [ConfigServerCatalogCacheLoader-17] Refresh for collection adap.LinesEnhanced from version 98568|42||5fb3e9d4d35c25a2b0dd61ab to version 98568|45||5fb3e9d4d35c25a2b0dd61ab took 885 ms
      

      The total time that the CRUD operation is waiting should be added to the query log

        Attachments

          Activity

            People

            Assignee:
            backlog-server-sharding-emea Backlog - Sharding EMEA
            Reporter:
            renato.riccio Renato Riccio
            Participants:
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: