Skip to content

fix: Clean up service containers on DLE failure #213

Viktor Grigorev requested to merge fix-dle-containers-cleanup into master

Description

Sometimes DLE during emergency exit does not clean-up service containers. It could lead to data corruption (for details see #213 (closed))

To fix this issue we have to handle carefully error cases during DLE initialisation

  • cancel context to stop changes from go-routines
  • stop and remove all running service containers

Related issue

#213 (closed)

Examples

Checklist

  • the MR description has been reviewed
  • this MR contains text changes and they have been reviewed OR there are no texts changes
  • this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes
  • this MR contains API changes, specifications reflect those changes and they have been reviewed OR there are no API changes
Edited by Artyom Kartasov

Merge request reports