hbz / mabxml-elasticsearch

Raw hbz union catalog data exposed via a web API
http://lobid.org/hbz01
3 stars 1 forks source link

Update es.server location to production #37

Closed dr0i closed 7 years ago

dr0i commented 7 years ago

This makes it safe to even let git rest --hard origin/master work in production.

dr0i commented 7 years ago

Please have a look @fsteeg . I restarted the server at friday and the conf was set to es.server=localhost which fails since the index is no more on quaoar1 but on gaia-aither. @ChristophEwertowski catched the errored right now so we had a downtime of 3 days. Isn't it safer to just set the es.server to the production cluster, even if this is not a generic approach?

dr0i commented 7 years ago

Found a better alternative:

git update-index --skip-worktree conf/application.conf protects the file from git awareness, also when hard resetting.

git update-index --no-skip-worktree conf/application.conf will bring it back.

So no need to change anything about that local change.