[SERVER-15443] Provide mechanism for inspecting the slave tracking map Created: 29/Sep/14  Updated: 27/Oct/15  Resolved: 27/Oct/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.8.0-rc0

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-15425 Make new replication code resilient t... Closed
related to SERVER-15427 Add command to manage the slave map Backlog
is related to SERVER-15444 Clean op old entries in the slave tra... Closed
is related to DOCS-4313 Update serverStatus documentation for... Closed
Operating System: ALL
Participants:

 Description   

Possibly a serverStatus section?

Needs to be done now that we removed the local.slaves collection



 Comments   
Comment by Spencer Brody (Inactive) [ 27/Oct/14 ]

Note that the information about the slaves replication progress is only included in the "repl" section of serverStatus if serverStatus was given a "repl" argument with a value greater than or equal to 1, for example:

> db.serverStatus({repl:1}).repl
{
	"setName": "mySet",
	"setVersion": 1,
	"ismaster": false,
	"secondary": true,
	"hosts": [
		"ubuntu:20001",
		"ubuntu:20002",
		"ubuntu:20003"
	],
	"me": "ubuntu:20001",
	"rbid": 171353522,
	"slaves": [
		{
			"rid": ObjectId("544eb5e2ea4738723fb5bdd5"),
			"optime": Timestamp(1414444530, 1),
			"host": "ubuntu:20001",
			"memberID": 0
		},
		{
			"rid": ObjectId("000000000000000000000000"),
			"optime": Timestamp(0, 0),
			"host": "ubuntu:20002",
			"memberID": 1
		},
		{
			"rid": ObjectId("000000000000000000000000"),
			"optime": Timestamp(0, 0),
			"host": "ubuntu:20003",
			"memberID": 2
		}
	]
}

Comment by Githook User [ 27/Oct/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-15443 Add information from slave tracking map to server status 'repl' section
Branch: master
https://github.com/mongodb/mongo/commit/f6a2b20d8b49a0cd2065e16dfeb87de6c14bb5d0

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