On Mon, 2018-12-10 at 14:57 +0100, Bertrand Delacretaz wrote: > Hi Robert, > > On Mon, Dec 10, 2018 at 2:46 PM Robert Munteanu <[email protected]> > wrote: > > ...is this something that can be seen in scope of the > > feature model (launcher?) or is the recommendation to use other > > mechanisms?... > > I haven't been involved much with the feature model but in general I > think we should move towards immutable instances - so once you have > started a Sling instance for the first time, from a deployment's > point > of view its OSGi state is frozen and cannot be changed anymore. > > 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.
I'm actually not using Sling :-) in this particular instance so I'm abusing the dev list for feature model discussions I guess. But yes, I guess this is a valid reply, just drop everything ( except persisted state ) and start over. Robert
