Fantom-foundation / Norma

Integration project of Carmen and Tosca
GNU Lesser General Public License v3.0
2 stars 9 forks source link

[Fix] Uses SigInt to Gracefully shutdown client before stopping the container #253

Closed rpl-ffl closed 1 week ago

rpl-ffl commented 3 weeks ago

Currently, we gracefully stop the client by directly stopping the container (simulating SigTerm). This results in sporadic dirty database if the container was stopped before the client gracefully shutdown.

The setup has been extended so that SigInt (Ctrl+C) can be propagated from Norma -> Container -> Client. This SigInt is now used to signal graceful client stop before actually stopping the container.