HDDS-1905. PipelineActionHandler is not closing the pipeline when close action is received. (#1227)

This commit is contained in:
Nanda kumar 2019-08-06 14:36:04 +05:30 committed by GitHub
parent 11272159bb
commit 2662e20580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);