-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Use Case
As a... node driver engineer
I want... all admin operations to use async syntax
So that... the driver is closer to generating async stack traces
User Impact
This is an internal change
Dependencies
Unknowns
Acceptance Criteria
Implementation Requirements
- Index operations to change:
- IndexesOperation, CreateIndexesOperation, CreateIndexOperation, EnsureIndexOperation, DropIndexOperation, DropIndexesOperation, IndexExistsOperation, IndexInformationOperation
- For each operation:
- Change its superclass from CommandCallbackOperation/AbstractCallbackOperation to CommandOperation/AbstractOperation
- change executeCallback/executeCommandCallback to execute/executeCommand and return it, remove callback argument, and remove all uses of callback in the class
- call server.commandAsync instead of server.command and return it
Testing Requirements
- clean up operation test files if need be
Documentation Requirements
- None
Follow Up Requirements
- None