about summary refs log tree commit diff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-10-09T08·52+0200
committerVincent Ambo <github@tazj.in>2018-10-09T09·38+0200
commitc1ab78c05a8d0274f80f17d1207fed26fdd88f12 (patch)
treecce1ab5d830341369fe01731cc374a93155a2588 /Cargo.toml
parent7ec507f8cb6554db3a02336bcb8096239d361a75 (diff)
fix: Write cursor into temporary file and move it
This deals with a potential issue where creating a new file in place
of an existing cursor position file may cause position files to be
empty.

The cause for this is that the newly created file will truncate the
previous content, if journaldriver is then terminated before it
completes the cursor write to this file, it will not have written a
valid cursor (or anything at all).

Potentially relates to #2
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions