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

Don't include unneeded serverStatus command default sections on distlock manager calls

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding 2016-08-29

    Description

      ReplSetDistLockManager (via DistLockCatalogImpl::getServerInfo) can make a lot of serverStatus calls, and all it needs is two fields, electionId and localTime.

      In the serverStatus command call in DistLockCatalogImpl::getServerInfo, explicitly state in the command not to include most/all default included fields.

      For example, it includes the "sharding" section on every call, which now also resports migration statuses. It's wasted work.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: