[Geoserver-devel] [jira] (GEOS-5867) ServicePersister re-writes all service config files on startup

Andrea Aime created BugGEOS-5867
ServicePersister re-writes all service config files on startup

Issue Type:

BugBug

Assignee:

Justin Deoliveira

Components:

Configuration

Created:

26/Jun/13 5:52 AM

Description:

During the load ServicePersister receives a handlePostServiceChange and just goes and rewrites the file.
This is not useful, but in a clustering scenario, it is harmful because the file can be rewritten while another node in the cluster is starting up and ends up looking at corrupt file (btw, the service loader seems to write directly to disk without creating a temp file beforehand)

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)