[GODRIVER-1634] Deduplicate logic for updating cluster/operation time Created: 29/May/20  Updated: 28/Oct/23  Resolved: 29/May/20

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.4

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


 Description   

The calls for updating the session's cluster time and operation time are done in both Operation.Execute and Operation.roundTrip. We can change roundTrip to semantically mean "get the response and do all additional processing" by moving the FLE decryption into it and removing the update calls from Execute.



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

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1634 Consolidate response processing code in roundTrip (#414)
Branch: release/1.3
https://github.com/mongodb/mongo-go-driver/commit/66f247d005cb825d6819c5270eb4866ba2668948

Comment by Githook User [ 29/May/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1634 Consolidate response processing code in roundTrip (#414)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/b0ac484ad7810437811df4ecda9a71a387115427

Generated at Thu Feb 08 08:36:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.