blob: 8663915d3fec78ec1c9852e09ae3b85f868cd320 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- a/ubuntuone/syncdaemon/tritcask.py 2013-01-18 18:27:41.809017000 +0200
+++ b/ubuntuone/syncdaemon/tritcask.py 2013-01-22 15:08:15.015987671 +0200
@@ -300,6 +300,7 @@
self.fd.seek(0, os.SEEK_END)
self.fd.write(crc32 + header)
self.fd.write(key)
+ self.fd.flush()
value_pos = self.fd.tell()
self.fd.write(value)
self.fd.flush()
|