[DOCS-14924] Investigate changes in SERVER-57310: record creation date of mongos Created: 10/Nov/21  Updated: 13/Nov/23  Resolved: 22/Dec/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.2.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jeffrey Allen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-57310 record creation date of mongos Closed
Participants:
Days since reply: 2 years, 3 weeks ago
Epic Link: DOCSP-17171
Story Points: 3

 Description   
Downstream Change Summary

Added a field to config.mongos called "created" which is a Date indicating when the MongoS instance started running.

Description of Linked Ticket

It'll be nice if we can store the creation date of each MongoS in the mongos collections.

mongos> db.getSiblingDB("config").mongos.find().pretty()
{
	"_id" : "hostname.local:27017",
	"advisoryHostFQDNs" : [
		"hostname.local"
	],
	"mongoVersion" : "4.4.5",
        "created": ISODate("2021-05-31T11:42:24.629Z"),
	"ping" : ISODate("2021-05-31T11:42:24.629Z"),
	"up" : NumberLong(430953),
	"waiting" : true
}

This could just be the time when the mongos document is created.

Sometimes, this kind of info help Devops or DBAs investigate environmental issues etc, with the CSRS and shards, we can get the creation date of the replica set from the replica set ID, but we don't have a way to tell MongoS creation date reliably.



 Comments   
Comment by Githook User [ 20/Jan/22 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14924): created date included in mongos output (#159)

  • (DOCS-14924): created date included in mongos output
  • updates per copy review
  • remove extra space
  • remove extra space
  • edit example output
  • updates per copy review
  • fix table format
  • change 'ping' data type
  • single source table
Comment by Githook User [ 21/Dec/21 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14924): created date included in mongos output (#159)

  • (DOCS-14924): created date included in mongos output
  • updates per copy review
  • remove extra space
  • remove extra space
  • edit example output
  • updates per copy review
  • fix table format
  • change 'ping' data type
  • single source table
Comment by Githook User [ 21/Dec/21 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14924): created date included in mongos output (#159)

  • (DOCS-14924): created date included in mongos output
  • updates per copy review
  • remove extra space
  • remove extra space
  • edit example output
  • updates per copy review
  • fix table format
  • change 'ping' data type
  • single source table
Comment by PM Bot [ 10/Nov/21 ]

Downstream changes updated for upstream SERVER-57310:
Added a field to config.mongos called "created" which is a Date indicating when the MongoS instance started running.

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