From: jsimomaa Date: Mon, 5 Sep 2016 12:28:00 +0000 (+0300) Subject: Some Acorn improvements X-Git-Tag: v1.25.0~135^2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=80907a9c5480a15ee32db2f7e7acec3dd1b6d9d5;hp=80907a9c5480a15ee32db2f7e7acec3dd1b6d9d5;p=simantics%2Fplatform.git Some Acorn improvements 1) Acorn: do not make snapshot if cancelCommit() is called In some situations it is possible that when cancelCommit() is called that acorn head.state writing writes nonsense due to IllegalStateException being thrown from LRUObject.getStateKey() 2) Acorn: use a lock file to lock the current database Use a lock file to prevent simultaneous usages of same database in Acorn refs #6596 Change-Id: Ia33b90f85371c48154763f8a603cdce9a61d9ed6 ---