[SERVER-55198] Ensure tenant migrations currentOp output types match design Created: 15/Mar/21  Updated: 29/Oct/23  Resolved: 31/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_other_required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.9
Sprint: Sharding 2021-03-22, Sharding 2021-04-05
Participants:

 Description   

A few of the fields output by the donor and recipient in a tenant migration have types that don't match those in the design, e.g. "blockTimestamp" on the donor which should have a Timestamp type, but instead is output as a BSON object of the form {"": <timestamp value>} (via this call to Timestamp::toBSON()). This ticket is to verify the types output by the donor and recipient for currentOp match those in the design, changing either the server or the design as necessary and adding test coverage.



 Comments   
Comment by Githook User [ 31/Mar/21 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-55198 Ensure tenant migrations currentOp output types match design
Branch: master
https://github.com/mongodb/mongo/commit/5e761684325b80de1d7e0183cd9099f5bc4c12fa

Generated at Thu Feb 08 05:35:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.