Info
The rename oplog looks like this:
{
"op" : "c",
"ns" : "reshardingDb.$cmd",
"ui" : UUID("2c7b8ac2-9840-4c57-9d1c-4f9905ed1fe3"),
"o" : {
"renameCollection" : "reshardingDb.system.resharding.f1b71bc0-6a4c-4cd5-b6ef-ac50e5de3170",
"to" : "reshardingDb.coll",
"stayTemp" : false,
"dropTarget" : UUID("f1b71bc0-6a4c-4cd5-b6ef-ac50e5de3170")
},
"o2" : {
"numRecords" : 0
},
"ts" : Timestamp(1627312165, 17),
"t" : NumberLong(1),
"v" : NumberLong(2),
"wall" : ISODate("2021-07-26T15:09:25.358Z"),
"fromMigrate" : true
}
But it gets filtered out because this fromMigrate != true expression is always present, regardless of the showMigrationEvents boolean argument.
Top User Comments
xgen-internal-githook commented on Tue, 24 Aug 2021 17:46:31 +0000:
Author:
{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}
Message: SERVER-58857 Do not filter 'fromMigrate' events if 'showMigrationEvents' option has been specified.
Branch: v5.0
https://github.com/mongodb/mongo/commit/e15a429d9c1c2c6d5fe5d186b866ae7d8e7c6e60
oren.ovadia commented on Mon, 26 Jul 2021 21:32:40 +0000:
Thanks Justin.
Question: Is it possible to backport this fix to 5.0?
CC:marcus.eagan