[SERVER-57768] Deprecated counters aren't reset to zero on wrap Created: 16/Jun/21  Updated: 29/Oct/23  Resolved: 17/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.15, 4.4.7, 5.0.0-rc3, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Irina Yatsenko (Inactive) Assignee: Irina Yatsenko (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
is caused by SERVER-56501 Add op counters for legacy op codes (... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4, v4.2
Sprint: Query Execution 2021-06-28
Participants:

 Description   

The fix for https://jira.mongodb.org/browse/SERVER-56501 forgot to reset new fields in 
OpCounters::_checkWrap.



 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 [ 18/Jun/21 ]

Author:

{'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}

Message: SERVER-57768 Reset deprecated opcounters on wrap

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

Comment by Githook User [ 18/Jun/21 ]

Author:

{'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}

Message: SERVER-57768 Reset deprecated opcounters on wrap

(cherry picked from commit 0ee91c815a2f6753ecd93b42bc0b4c28c0485d3e)
Branch: v4.2
https://github.com/mongodb/mongo/commit/6bf80def29a28cc5dddf7fad9bc85e23c2453eb1

Comment by Githook User [ 18/Jun/21 ]

Author:

{'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}

Message: SERVER-57768 Reset deprecated opcounters on wrap

(cherry picked from commit 0ee91c815a2f6753ecd93b42bc0b4c28c0485d3e)
Branch: v4.4
https://github.com/mongodb/mongo/commit/ccb491cd781ce5273745dea42c4fc5651285a012

Comment by Githook User [ 17/Jun/21 ]

Author:

{'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}

Message: SERVER-57768 Reset deprecated opcounters on wrap
Branch: master
https://github.com/mongodb/mongo/commit/0ee91c815a2f6753ecd93b42bc0b4c28c0485d3e

Comment by Irina Yatsenko (Inactive) [ 16/Jun/21 ]

Yes, the backport of SERVER-56501 to 4.0 has to modify this part of the change anyway so it will be fixed with BACKPORT-9470. Others will need separate backports.

Comment by Ethan Zhang (Inactive) [ 16/Jun/21 ]

Yes. all but 4.0 which is handled in BACKPORT-9470.

Is that correct? irina.yatsenko

Comment by Kyle Suarez [ 16/Jun/21 ]

irina.yatsenko and ethan.zhang, do we also need to backport this to all of the branches that contain the commit in SERVER-56501?

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