> I share the same concern. We do want to save along the way since we
> cannot be sure there will be a clean shutdown (jvm segfaults anybody?),
> so eventually on shutdown we'd just be saving whatever was already
> saved the last time the config did change?

Yeah its a darned if you do darned if you don't sort of thing. On the 
one hand saving when the user decides to from the ui or at shutdown 
allows the ability to rollback or revert changes. Auto-saving everytime 
something gets modified removes the ability to do that but prevents loss 
of data when the system crashes.

I wonder if we could introduce the idea of a session (and i dont really 
mean page session here) to get best of both worlds. Basically instead of 
saving directly to persistence we save to a session. The session is 
persisted immediately to disk whenever a change occurs. If the user 
decides to save changes from the session are persisted. In the event of 
a jvm crash GeoServer could detect that the session was not saved and 
restore it so no work is lossed. Not sure if it will work or its worth 
the effort, just a crazy idea.

-Justin
> 
> Cheers
> Andrea
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
> 
> !DSPAM:4007,4861e956213247082231907!
> 


-- 
Justin Deoliveira
The Open Planning Project
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to