[SERVER-57217] Don't report remainingOperationTimeEstimatedSecs in currentOp metrics for resharding for donors and coordinators Created: 26/May/21 Updated: 29/Oct/23 Resolved: 23/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.4, 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Junhson Jean-Baptiste (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-T-autocommits | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||||||||||
| Sprint: | Sharding 2021-06-14, Sharding 2021-06-28 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 163 | ||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||
| Description |
|
Currently, all roles report remainingOperationTimeEstimatedSecs in their currentOp output. This should only be reported by recipients. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 06/Oct/21 ] |
|
Author: {'name': 'Junhson Jean-Baptiste', 'email': 'junhson.jean-baptiste@mongodb.com', 'username': 'junhsonjb'}Message: (cherry picked from commit f2f5aa45d289349eaae9fdbf1f7bb54ea25819bf) |
| Comment by Githook User [ 22/Jun/21 ] |
|
Author: {'name': 'Junhson Jean-Baptiste', 'email': 'junhson.jean-baptiste@mongodb.com', 'username': 'junhsonjb'}Message: |
| Comment by Githook User [ 17/Jun/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Revert " This reverts commit e8f96019646425bc352f09b62d8e86b0e41f5d5b. |
| Comment by Githook User [ 16/Jun/21 ] |
|
Author: {'name': 'Junhson Jean-Baptiste', 'email': 'junhson.jean-baptiste@mongodb.com', 'username': 'junhsonjb'}Message: |
| Comment by Janna Golden [ 09/Jun/21 ] |
|
max.hirschhorn, makes sense - I changed the description to reflect your comment and re-opened the ticket. |
| Comment by Max Hirschhorn [ 09/Jun/21 ] |
|
janna.golden, I think remainingOperationTimeEstimatedSecs is being reported in all roles when it is only something which makes sense for recipients. I agree the other metrics look to be the appropriate switch case. |
| Comment by Janna Golden [ 09/Jun/21 ] |
|
I looked into this and currentOp does not report all roles, it only reports roles that the node is actively running. Closing as "Won't fix". |
| Comment by Blake Oler [ 26/May/21 ] |
|
Yes. fixed. |
| Comment by Max Hirschhorn [ 26/May/21 ] |
|
blake.oler, could you confirm this ticket is meant specifically to change the $currentOp behavior? We intentionally report all metrics for serverStatus to prevent the schema from changing as that makes FTDC less efficient. |