Incomplete synchonization in XStreamPersister
---------------------------------------------
Key: GEOS-3396
URL: http://jira.codehaus.org/browse/GEOS-3396
Project: GeoServer
Issue Type: Bug
Components: Configuration
Affects Versions: 2.0-RC1
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 2.0-RC2
Access to the configuration by multiple threads is possible via the web UI already and it just became more likely with the restconfig plugin.
The XStreamPersister has a proper synchonization inside the persist method, but the same should occurr in any method accessing the file system. Think for example someone renaming a feature type while someone else is writing out a modified ft configuration to the old file name.
Eventually having a transactional file system support would be best (we'll have to introduce transaction support for the Hibernate backend anyways no?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira