--- 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()