[SERVER-48295] Remove operation key in killAndDelistOperation Created: 19/May/20  Updated: 29/Oct/23  Resolved: 19/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc7, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Gantt Dependency
Related
is related to SERVER-47802 Destroy opCtx after responding to cli... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Service arch 2020-06-01
Participants:
Linked BF Score: 26

 Description   

SERVER-47802 postponed the destruction of operations in ServiceStateMachine. This can potentially cause issues for retry-able operations, where a new operation uses the same operation key as the detached operation (which is yet to be destroyed).

We should release the operation key inside killAndDelistOperation() to avoid such incidents.



 Comments   
Comment by Githook User [ 20/May/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-48295 Remove operation key in killAndDelistOperation

(cherry picked from commit 601c7011ae1be252bc9bfd0031022c6ccae846b3)
Branch: v4.4
https://github.com/mongodb/mongo/commit/b60a311dffb25eac00c2faaf069cf9efd6075fb3

Comment by Githook User [ 19/May/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-48295 Remove operation key in killAndDelistOperation
Branch: master
https://github.com/mongodb/mongo/commit/601c7011ae1be252bc9bfd0031022c6ccae846b3

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