siddhantsangwan opened a new pull request, #4339: URL: https://github.com/apache/ozone/pull/4339
## What changes were proposed in this pull request? This PR replaces usages of LegacyReplicationManager.MoveResult with corresponding MoveManager.MoveResult results. This will allow Container Balancer to use MoveManager in the future while maintaining compatibility with Legacy Replication Manager. ``` Legacy -> MoveManager 1. FAIL_NOT_RUNNING, FAIL_NOT_LEADER -> FAIL_LEADER_NOT_READY 2. UNEXPECTED_REMOVE_SOURCE_AT_INFLIGHT_REPLICATION, UNEXPECTED_REMOVE_TARGET_AT_INFLIGHT_DELETION -> FAIL_UNEXPECTED_ERROR 3. FAIL_CAN_NOT_RECORD_TO_DB -> FAIL_UNEXPECTED_ERROR ``` Added logs wherever we're failing with `FAIL_UNEXPECTED_ERROR`. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8073 ## How was this patch tested? No new tests required. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
