-
Type: Technical Debt
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
3
-
StorEng - Defined Pipeline
Summary
In the database_operation class, we define a set of operations: insert_operation, update_operation, remove_operation. There is some confusion about whether those represent an operation or a transaction. Indeed, we start and finish a transaction within those functions while a transaction is made of multiple operations. This is misleading.
Motivation
- Is this issue urgent?
No
Acceptance Criteria (Definition of Done)
Find a name that suits better what is actually done by those functions. In the long term, we may want to extract the transaction lifecycle outside those functions. Given the current name, those functions should only perform an operation that is included in a transaction.