nandakumar131 commented on code in PR #5604:
URL: https://github.com/apache/ozone/pull/5604#discussion_r1396956385
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineManagerImpl.java:
##########
@@ -535,9 +548,11 @@ public void closeStalePipelines(DatanodeDetails
datanodeDetails) {
pipelinesWithStaleIpOrHostname.size());
pipelinesWithStaleIpOrHostname.forEach(p -> {
try {
- LOG.info("Closing the stale pipeline: {}", p.getId());
- closePipeline(p, false);
- LOG.info("Closed the stale pipeline: {}", p.getId());
+ final PipelineID id = p.getId();
+ LOG.info("Closing the stale pipeline: {}", id);
+ closePipeline(id);
+ deletePipeline(id);
Review Comment:
I believe the intention here was to close the pipeline immediately
(HDDS-5916).
`closePipeline(p, false)`, the timeout was `false`. I didn't want to change
the behaviour.
--
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]