sumitagrawl commented on code in PR #6360:
URL: https://github.com/apache/ozone/pull/6360#discussion_r1562502730
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/scm/ReconNodeManager.java:
##########
@@ -321,4 +321,27 @@ public long getNodeDBKeyCount() throws IOException {
return nodeCount;
}
}
+
+ /**
+ * Remove an existing node from the NodeDB. Explicit removal from admin user.
+ * First this API call removes the node info from NodeManager memory and
+ * if successful, then remove the node finally from NODES table as well.
+ *
+ * @param datanodeDetails Datanode details.
+ */
+ @Override
+ public void removeNode(DatanodeDetails datanodeDetails) throws
NodeNotFoundException, IOException {
+ try {
Review Comment:
ok, so deadnode handler is already called for decommissioned state also.
--
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]