[SERVER-25360] Don't include unneeded serverStatus command default sections on distlock manager calls Created: 29/Jul/16  Updated: 18/Aug/16  Resolved: 11/Aug/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Won't Fix Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sharding 2016-08-29
Participants:

 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.


Generated at Thu Feb 08 04:08:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.