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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding 2016-08-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: