HDDS-1905. PipelineActionHandler is not closing the pipeline when close action is received. (#1227)
This commit is contained in:
parent
11272159bb
commit
2662e20580
@ -61,6 +61,7 @@ public void onMessage(PipelineActionsFromDatanode report,
|
||||
"Reason : {}", action.getAction(), pipeline,
|
||||
report.getDatanodeDetails(),
|
||||
action.getClosePipeline().getDetailedReason());
|
||||
pipelineManager.finalizeAndDestroyPipeline(pipeline, true);
|
||||
} catch (IOException ioe) {
|
||||
LOG.error("Could not execute pipeline action={} pipeline={} {}",
|
||||
action, pipelineID, ioe);
|
||||
|
Loading…
Reference in New Issue
Block a user