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

Add MongoS server status metrics to track how often a cursor has more than 1 batch

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0-alpha3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Repl 2021-01-25

      MongoS starts off by issuing a query of batch size 0. Thus, cursors by MongoS will always call a getMore, and therefore, the server status metric which tracks how many cursors return more than one batch will have an artificially inflated value.

      The solution - we will be counting the number of cursors that call getMore on MongoS. Thus we will know when to ignore the artificially inflated value.

            Assignee:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: