[SERVER-18117] Bring back the _replSet page in the html interface Created: 20/Apr/15  Updated: 25/Jan/17  Resolved: 29/Apr/15

Status: Closed
Project: Core Server
Component/s: HTTP Console
Affects Version/s: 3.0.2
Fix Version/s: 3.0.4, 3.1.3

Type: Improvement Priority: Major - P3
Reporter: Chad Kreimendahl 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-17470 Remove link to replset data in the ht... Closed
Backwards Compatibility: Minor Change
Backport Completed:
Sprint: RPL 3 05/15/15
Participants:
Linked BF Score: 0

 Description   

The v2.6.x mongo/_replSet web page was highly useful and substantially easier to read than the repGetSetStatus page, which remains. What can be done to get it back into v3?



 Comments   
Comment by Githook User [ 15/May/15 ]

Author:

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

Message: SERVER-18117 Use str::stream instead of std::stringstream
Branch: v3.0
https://github.com/mongodb/mongo/commit/b284987fee1d1a6f3c276e9f940bf8b45d226fe5

Comment by Githook User [ 15/May/15 ]

Author:

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

Message: SERVER-18117 Fix compile of replset http interface code on 3.0 branch with old compilers
Branch: v3.0
https://github.com/mongodb/mongo/commit/4b4298044b6f76b65c5b9828f169d58b10a4438e

Comment by Githook User [ 14/May/15 ]

Author:

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

Message: SERVER-18117 Add replset view back to http interface
Branch: v3.0
https://github.com/mongodb/mongo/commit/4e5f3dd2ee37b118f9bfa5fb49adaa5a6b994cca

Comment by Githook User [ 14/May/15 ]

Author:

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

Message: Revert "SERVER-18117 Add replset view back to http interface"

This reverts commit f8f0557a3e920d01293e3d3c33ef25ec7f4a5a7c.
Branch: v3.0
https://github.com/mongodb/mongo/commit/b1140e1d7f3ed75161f9220581ce8475ce2ca2d3

Comment by Githook User [ 14/May/15 ]

Author:

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

Message: SERVER-18117 Add replset view back to http interface
Branch: v3.0
https://github.com/mongodb/mongo/commit/f8f0557a3e920d01293e3d3c33ef25ec7f4a5a7c

Comment by Spencer Brody (Inactive) [ 29/Apr/15 ]

Great, thanks for the feedback! Everything you listed should be present in the revived view.

Comment by Chad Kreimendahl [ 29/Apr/15 ]

Excellent.

  • I didn't even know about the minvalid mouseover. So that's all good.
  • Clock skew should be irrelevant to us as all of our systems should be spot on
  • We can live without the oplog view. We've used it once or twice when debugging a lagging set member, but have other, faster, ways of doing that now
  • We never set the rest flag and it still works (with an error in the logs), so this is all good, too

The things we really cared about were:
List of members with last heartbeat, status, priority, state and current optime. And then the recent replicaset log activity.

Comment by Spencer Brody (Inactive) [ 29/Apr/15 ]

The replset page in the html interface has been restored for the upcoming 3.1.3 release (we are also evaluating a backport to the 3.0 series) with the following small changes:

  • We no longer show the current node's "minvalid" when you mouse over its
    "optime" field
  • The "clock skew" column has been removed from the node table
  • You can no longer click on a node's "optime" field to see its last several
    oplog entries.
  • It no longer requires the --rest flag to view.

sallgeud, can you confirm that this will meet your needs, ie that you don't depend specifically on any of the 3 small features that were removed?

Comment by Githook User [ 29/Apr/15 ]

Author:

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

Message: SERVER-18117 Add replset view back to http interface
Branch: master
https://github.com/mongodb/mongo/commit/762e0cdc48281414c05ee3ef53277bdf138a4334

Comment by Daniel Pasette (Inactive) [ 23/Apr/15 ]

Hi Chad, we're going to look at what it will take to re-introduce it and evaluate a backport.

Comment by Ramon Fernandez Marina [ 21/Apr/15 ]

sallgeud, the replication subsystem went through a major re-write for 3.0, and the mongo/_replSet page was not part of it so it became deprecated. We'll take your request into consideration along with other pending work for the HTTP console.

Regards,
Ramón.

Comment by Ramon Fernandez Marina [ 21/Apr/15 ]

sallgeud, please see this comment in SERVER-17470. I'll see if I can gather more information on the topic.

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