-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource Lock (GSIP 106) #538
Conversation
Left Andrea/GeoSolutions in headers
Hi Jody, seems like a good start, just mind, the lock provider needs to be configurable, e.g., in a single node scenario you probably want the in memory one, in a multi-node scenario where all nodes are sharing the same data dir you'll need the file system based one, or maybe better a Hazelcast based one. |
The lock provider is configurable, see application context xml file. Only thing I did unusual is make an adapter so that GWC can make use of the GeoServer LockProvider. That way this single/multi-node configuration only has to happen once. |
Hi Jody, Cheers
|
ooh neat - I will give it a go. Jody Garnett On Tue, Mar 18, 2014 at 8:19 AM, Andrea Aime notifications@github.comwrote:
|
Well that was a lot more work then expected. Pull request includes requested UI changes (and docs). The lockProvider is currently provided "too late" in the game, since global settings need to be read first. I am going to view this as low risk since the content is only being read (not edited). Note we cannot pull the same trick as logging (logging (which parses the file by hand during servlet init) as the beans are not available until spring is ready. |
On Thu, Mar 20, 2014 at 3:53 PM, Jody Garnett notifications@github.comwrote:
Sorry about that, Wicket has a steep learning curve. Everybody loves it so
Cheers Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information.Ing. Andrea Aime GeoSolutions S.A.S. http://www.geo-solutions.it |
Port of LockProvider from GWC integrated into ResourceStore API.
For more information see http://geoserver.org/display/GEOS/GSIP+106+-+Managed+File+API