On Mon, 10 Dec 2018 at 14:31, Robert Munteanu <[email protected]> wrote:
> On Mon, 2018-12-10 at 15:15 +0100, Karl Pauls wrote: > > ... > > > > Would that cause trouble in your case? I tend to think that it > > > > would > > > > help people move to a devops mindset, where Sling instances are > > > > throwaway. > > ... > > > But yes, I guess this is a valid reply, just drop everything ( > > > except > > > persisted state ) and start over. > > > > Yeah, fwiw, that was the underlying idea - there are no restarts > > anymore. I guess we might want to consider emphasising this by making > > it the default to clear the cache on restarts so that you always > > start > > from a clean state. > > That could work, and we should consider if this should be the default > or behind a feature flag. The reason for not making it the default is > that people might mess around with their setup, e.g. create configs, > stop bundles, and if the changes are not persisted between restarts it > will be confusing and unpleasant. > AFAIK you need to delete the 'launcher' cache directory yourself to get a clean sheet. I think it would make sense to do this via a command line option. Best, David
