[SERVER-16499] sh.status shows incorrect owner and timing of balancer lock acquisition Created: 10/Dec/14  Updated: 18/Dec/14  Resolved: 11/Dec/14

Status: Closed
Project: Core Server
Component/s: Sharding, Shell
Affects Version/s: 2.8.0-rc2
Fix Version/s: 2.8.0-rc3

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Matt Kangas
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-16583 Balancer Lock Information Missing in ... Closed
Related
is related to SERVER-14882 Modify sh.status to include output fr... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

  balancer:
	Currently enabled:  yes
	Currently running:  yes
		Balancer lock taken at undefined by undefined

This is because helper function sh.getBalancerLockDetails() returns just lock document "state" field, not the entire document.



 Comments   
Comment by Githook User [ 11/Dec/14 ]

Author:

{u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'}

Message: SERVER-16499 Fix sh.getBalancerLockDetails

sh.getBalancerLockDetails was returning state instead of the whole lock object

Closes #873

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/c5cfff053584d58fe75d6e0bfbcb33bb6f46dbd8

Generated at Thu Feb 08 03:41:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.