[GODRIVER-978] Implement driver.Operation Created: 18/Apr/19  Updated: 28/Oct/23  Resolved: 02/May/19

Status: Closed
Project: Go Driver
Component/s: Core API
Affects Version/s: None
Fix Version/s: 1.1.0

Type: New Feature Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Kristofer Brandow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Core API

 Description   

During the GODRIVER-617 prototype the design converged on a single underlying operation type, called driverx.OperationContext. This is a single type that's capable of running any kind of driver operation. For the production implementation, the name will be driver.Operation and it should contain all of the functionality the driverx.OperationContext prototype contained.

Additionally, to handle single server and single connection operation executions, a SingleServerDeployment type and a SingleConnectionDeployment type should be implemented. 

This type needs to handle compression of wire messages and command monitoring.



 Comments   
Comment by Kristofer Brandow (Inactive) [ 02/May/19 ]

Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/452888.

Comment by Githook User [ 02/May/19 ]

Author:

{'name': 'Kris Brandow', 'username': 'skriptble', 'email': 'kris@mongodb.com'}

Message: Implement driver.Operation

GODRIVER-978

Change-Id: I04edf66b382b7932fd2bb9cf503d64f1ceb5426b
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/35e5cb4ca57ed42d96e07336f3becd1e6110b404

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