Description
On receiving pipeline action we close the pipeline and wait for all containers to get closed. Currently pipeline is destroyed on datanodes only after all the containers have been closed. There is a possibility for containers to never get to CLOSED state if there is a two node failure. In such scenarios the pipeline needs to be destroyed and removed from SCM after a timeout.