# A catch with persistent file stores

**URL:** https://discourse.nodered.org/t/a-catch-with-persistent-file-stores/21062
**Category:** General
**Created:** [30 January 2020 22:55 UTC](https://discourse.nodered.org/t/a-catch-with-persistent-file-stores/21062 "2020-01-30T22:55:47Z")
**Posts on this page:** 1
**Showing post:** 52

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [4 February 2020 10:36 UTC](https://discourse.nodered.org/t/a-catch-with-persistent-file-stores/21062/52 "2020-02-04T10:36:40Z")

</div>

> [@afelix](#):
>
> Should the conclusions drawn so far from this topic be added to the Graceful Shutdown design note

What conclusions in particular? This topic has covered a lot of ground - not all of it pertinent.

The graceful shutdown design note is related to how a flow can be stopped cleanly - without dropping messages that are already 'inflight' within the flow. That is all predicated on the runtime being allowed to shutdown cleanly.

The context file store already does flush to disk when the runtime is being shutdown cleanly.

There is a separate issue over whether the runtime is being allowed to shutdown cleanly or not, depending on the many ways people chose to run it - nodemon, systemd, pm2... etc etc.

---

_[View the full topic](https://discourse.nodered.org/t/a-catch-with-persistent-file-stores/21062)._
