In this jira, we shall convert all OM Bucket related operations to OM HA model, which is a 2 step.
- StartTransaction, where we validate request and check for any errors and return the response.
- ApplyTransaction, where original OM request will have a response which needs to be applied to OM DB. This step is just to apply response to Om DB.
In this way, all requests which are failed with like bucket not found or some conditions which i have not satisfied like when deleting bucket should be empty, these all will be executed during startTransaction, and if it fails these requests will not be written to raft log also.