Changelog entries for split and merge now have a new field called "owningShard" under the "details" section of the entry. This refers to the shardId of the shard that owns the chunk(s) that were split or merged.
A changelog entry for a chunk split will now look something like:
{
|
"_id" : "CSRS_primary_host:CSRS_primary_port-XXX-YYY",
|
"server" : "CSRS_primary_host:CSRS_primary_port",
|
"shard" : "config",
|
"time" : ISODate("2020-23-07T00:00:00.00"),
|
"what" : "split",
|
"ns" : "db.collection",
|
"details" : {
|
"before" : {
|
...
|
},
|
"left" : {
|
...
|
},
|
"right" : {
|
...
|
},
|
"owningShard": shardId
|
}
|
}
|