Module: check_mk
Branch: master
Commit: 1d32a8f1487d239e06706d4210478e977d11c047
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1d32a8f1487d23…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Wed May 4 09:15:10 2016 +0200
gitbug 2407
---
.bugs/2407 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.bugs/2407 b/.bugs/2407
new file mode 100644
index 0000000..9947be2
--- /dev/null
+++ b/.bugs/2407
@@ -0,0 +1,9 @@
+Title: Windows Agent: When overwriting a file (esp. state files) use an intermediate file
to prevent data loss
+Component: checks
+State: open
+Date: 2016-05-04 09:08:21
+Targetversion: 1.2.9
+Class: nastiness
+
+Currently, while the agent writes to file, that file is in an inconsistent state and
should the agent be killed or crashes in just that moment, or if the data being written is
broken/incomplete, we have data loss.
+Instead, we should write to an intermediate file first and only after a successful write,
exchange the two filesmoving the old file away, moving the new file in and only then
delete the old file.