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

Add a metric for the size of the SessionCatalog under `logicalSessionRecordCache`

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.12, 4.0.22
    • Sharding
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Sharding 2019-06-03

    Description

      The logicalSessionRecordCache section of serverStatus contains details about the entries in the logical session cache. This cache serves as a source of 'truth' for which logical sessions are considered active or not and is used to reap the SessionCatalog.

      However, since the SessionCatalog is linked to the internal state of transactions - it can not always be reaped when a session expires from the logical sessions cache. Because of this, for diagnostics purposes we should have FTDC data for what's the number of sessions in the SessionCatalog.

      This ticket is to add a logicalSessionRecordCache.sessionCatalogSize metric, which tracks the number of the SessionCatalog entries.

      Attachments

        Issue Links

          Activity

            People

              kaloian.manassiev@mongodb.com Kaloian Manassiev
              kaloian.manassiev@mongodb.com Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: