Clouseau: Separate write folders for each instance#6059
Conversation
|
I do not think that is needed. The index directories are configured ad hoc via overrides to the configuration by Java properties, i.e. by passing |
That is also a viable option. IMHO it's better to keep all configuration settings in one place (e.g. the |
|
Also the CouchDB database files are located under |
| domain: 127.0.0.1 | ||
| } | ||
| clouseau: { | ||
| dir: dev/lib/node1/indexes |
There was a problem hiding this comment.
Gabor's point aside for a moment, this path needs to use the ctx["devdir"] variable rather than assume 'dev/'
|
I agree with gabor that the -Dclouseau.dir behaviour in clouseau should be restored. |
Overview
The default Clouseau configuration in
./dev/runresults in all Clouseau instances trying to write index files to the same folder. That creates a race condition. Observable symptom of the race condition is the followingcurloutput:Output:
Checklist
rel/overlay/etc/default.inisrc/docsfolder