Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
Sharding 2020-07-27
Description
After a chunk is split, a split event will be recorded in the config.changelog collection. Currently the shard name & server name recorded in this changelog is the replica set of CSRS and host:port of the CSRS primary.
"_id" : "CSRS_primary_host:CSRS_primary_port-XXX-YYY",
|
"server" : "CSRS_primary_host:CSRS_primary_port",
|
"shard" : "config",
|
It would be nice if the shard name & server could be the shard that owns the chunk. This would help to check the split activities on the shards and might help to identify hot shards etc.
Attachments
Issue Links
- is documented by
-
DOCS-13786 Investigate changes in SERVER-49307: In changelog, report the shard name (& server host:port) for the shard that owns the chunk, instead of CSRS replica set name (& CSRS primary host:port)
-
- Closed
-
- is related to
-
SERVER-35639 Changelog entries should include port
-
- Closed
-
-
SERVER-36411 Changelog entries should include shard name
-
- Closed
-