[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:
Backports
Depends
Documented
is documented by DOCS-14593 [SERVER] Investigate changes in SERVE... Closed
Problem/Incident
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: SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in currentOp metrics for resharding for donors and coordinators

(cherry picked from commit f2f5aa45d289349eaae9fdbf1f7bb54ea25819bf)
Branch: v5.0
https://github.com/mongodb/mongo/commit/bab8e011f78f0cc0a4008f74a5c2142d1fe0edfa

Comment by Githook User [ 22/Jun/21 ]

Author:

{'name': 'Junhson Jean-Baptiste', 'email': 'junhson.jean-baptiste@mongodb.com', 'username': 'junhsonjb'}

Message: SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in currentOp metrics for resharding for donors and coordinators
Branch: master
https://github.com/mongodb/mongo/commit/f2f5aa45d289349eaae9fdbf1f7bb54ea25819bf

Comment by Githook User [ 17/Jun/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: Revert "SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in currentOp metrics for resharding for donors and coordinators"

This reverts commit e8f96019646425bc352f09b62d8e86b0e41f5d5b.
Branch: master
https://github.com/mongodb/mongo/commit/817ffc748a45197542553b18549a35b4c2e9a2f2

Comment by Githook User [ 16/Jun/21 ]

Author:

{'name': 'Junhson Jean-Baptiste', 'email': 'junhson.jean-baptiste@mongodb.com', 'username': 'junhsonjb'}

Message: SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in currentOp metrics for resharding for donors and coordinators
Branch: master
https://github.com/mongodb/mongo/commit/e8f96019646425bc352f09b62d8e86b0e41f5d5b

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.

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