[SERVER-9493] Record shard on splits in config.changelog Created: 28/Apr/13  Updated: 06/Dec/22  Resolved: 23/Feb/17

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

Type: Bug Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

It is useful when putting together a timeline and change events to have the shard name of the chunk along with the split info (what we have now):

{	"_id" : "name-2013-04-10T09:16:03-3003692",
	"server" : "name",
	"clientAddr" : "host:port",
	"time" : ISODate("2013-04-10T09:16:03.269Z"),
	"what" : "split",
	"ns" : "db.coll",
	"details" : {
		"before" : {
			"min" : {
				"_id" : ObjectId("51111bb9f7458a355db90bde")
			},
			"max" : {
				"_id" : { "$maxKey" : 1 }
			},
			"lastmod" : {
				"t" : 5,
				"i" : 0
			},
			"lastmodEpoch" : ObjectId("000000000000000000000000")
		},
		"left" : {
			"min" : {
				"_id" : ObjectId("51111bb9f7458a355db90bde")
			},
			"max" : {
				"_id" : ObjectId("51652cbc0f20b457d88f72b2")
			},
			"lastmod" : {
				"t" : 5,
				"i" : 2
			},
			"lastmodEpoch" : ObjectId("50e43b10c7a85e5442126201")
		},
		"right" : {
			"min" : {
				"_id" : ObjectId("51652cbc0f20b457d88f72b2")
			},
			"max" : {
				"_id" : { "$maxKey" : 1 }
			},
			"lastmod" : {
				"t" : 5,
				"i" : 3
			},
			"lastmodEpoch" : ObjectId("50e43b10c7a85e5442126201")
		}
	}
}


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