vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

Bug: Global configuration files in the central server are not written in an atomic way #221

Closed JyrgenSuvalov closed 6 years ago

JyrgenSuvalov commented 6 years ago

Affected components: - xroad-centralserver Affected documentation: - Estimated delivery: - External reference: - https://jira.ria.ee/browse/XTE-314

Problem The central server does not write global configuration files in an atomic way. Because of this, sometimes the signer tries to read the configuration files while the global configuration generator is still writing them, resulting in an error:

/var/log/xroad/signer.log:2017-01-10 12:31:12,947 ERROR [Signer-akka.actor.default-dispatcher-14] e.r.x.c.c.g.GlobalConfProviderFactory - Could not create an instance of GlobalConfProvider!

Acceptance criteria

VitaliStupin commented 6 years ago

Fixed in 6.18.0