Tejaskriya opened a new pull request, #8490:
URL: https://github.com/apache/ozone/pull/8490
## What changes were proposed in this pull request?
(move.timeout - move.replication.timeout - event.timeout.datanode.offset)
should at least be 9 minutes. Delete commands should get at least 9 minutes to
complete in the Datanode. Otherwise, the delete commands' expiry time would be
in the past, and hence won't be executed. We would have to wait for the
ReplicationManager to come in eventually to delete the replicas.
This is done using ContainerBalancer#validateConfiguration.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-13068
## How was this patch tested?
Manually tested that balancer doesn't start:
```
bash-4.2$ ozone admin containerbalancer start --move-timeout-minutes 55
Failed to start Container Balancer.
Failure reason: (hdds.container.balancer.move.timeout (50m) -
hdds.container.balancer.move.replication.timeout (55m) -
hdds.scm.replication.event.timeout.datanode.offset (6m)) should be greater than
9 minutes.
```
--
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]