Attila Doroszlai created HDDS-12554:
---------------------------------------
Summary: Support callback on completed reconfiguration
Key: HDDS-12554
URL: https://issues.apache.org/jira/browse/HDDS-12554
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Attila Doroszlai
Assignee: Sumit Agrawal
ReconfigurableBase updates properties one by one. But some group of related
properties may be reconfigurable only atomically. Example: replication is
configured with "type" and "replication" (which is the type-specific
description of the replication config). Updating type or replication
separately results in invalid configuration (RATIS/THREE -> EC/THREE ->
EC/rs-3-2-1024k should be updated in one step).
To handle this situation, reconfiguration framework should allow registering
callbacks for "reconfiguration completed" event. Reconfigured properties are
accessible via {{ReconfigurableBase#getReconfigurationTaskStatus}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]