BUG-8073: Improve handling of temporary files 90/53790/6
authorRobert Varga <rovarga@cisco.com>
Fri, 24 Mar 2017 10:54:44 +0000 (11:54 +0100)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 24 Mar 2017 15:08:26 +0000 (15:08 +0000)
commit61a6a0d26fd981449461462cc0f43a0462c390c4
tree8370198050baf33423ef7d21713ae9ab76d885f6
parent0acee4f257eeb2ef1d07fbf37d3f1e2bcc313829
BUG-8073: Improve handling of temporary files

This patch reworks the logic so we end up with atomic move operations
and non-overlapping file names.

Change-Id: I4383baf664e51d8e6acfaf51f9dc5f62d77f5c14
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStore.java