[SERVER-66749] Improve tenant migration donor and recipient currentOp output Created: 25/May/22 Updated: 29/Oct/23 Resolved: 16/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Christopher Caplinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Server Serverless 2023-02-20 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 55 | ||||||||||||
| Description |
|
Here is example currentOp output on the donor:
and recipient:
We should at least update the "state" fields to contain a descriptive string rather than number values like "4" and "2". In particular, when the donor is waiting for donorForgetMigration, it'd be helpful for its state to say something like "Waiting for donorForgetMigration command". It would also be nice name documentsToCopy and documentsCopied so that it's not surprising if documentsCopied is larger. Perhaps documentsToCopyAtStartOfClone and documentsCopiedIncludingOplogCatchup, if those are the right meanings? We could also change the recipient's "dataSyncCompleted" field to "migrationCompleted". It's confusing that today dataSyncCompleted remains false even after the donor has made the commit decision, and only gets set to true when the recipient receives recipientForgetMigration. |
| Comments |
| Comment by Githook User [ 16/Feb/23 ] |
|
Author: {'name': 'Christopher Caplinger', 'email': 'christopher.caplinger@mongodb.com', 'username': 'UnicodeSnowman'}Message: |
| Comment by Githook User [ 16/Nov/22 ] |
|
Author: {'name': 'Sviatlana Zuiko', 'email': 'sviatlana.zuiko@mongodb.com', 'username': 'szuiko'}Message: Revert " This reverts commit d608948720384e57ece7eb27513fcb338d24a34e. |
| Comment by Githook User [ 16/Nov/22 ] |
|
Author: {'name': 'Christopher Caplinger', 'email': 'christopher.caplinger@mongodb.com', 'username': 'UnicodeSnowman'}Message: |