-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Context
We have accumulated several ways of running commands in the codebase. PYTHON-1357 identifies one area where we could reduce duplication, and probably should be done before this one. This keeps coming up when we have to change any logic around command execution, such as the client backpressure work.
We should have a single code path for command execution, and use it for all operations.
This will require some refactoring and making the centralized command runner more flexible.
Definition of done
All database operations are done from a central location.
Pitfalls
Ensure that we do not sacrifice performance or introduce any other regressions.
- blocks
-
PYTHON-1357 Refactor Cursor and CommandCursor
-
- In Code Review
-