[Python-apps-team] Bug#844081: Reproducer

Filip Pytloun filip at pytloun.cz
Sun Dec 11 12:16:56 UTC 2016


Hello,

unfortunately I have no longer access to environment where this was
happening. But if you were able to reproduce the issue and this fixed it
for you, I'll apply it and make new release.

Anyway wouldn't it better to ensure data is written to disk directly
during db updates and other operations? Eg. use O_SYNC for safety as
these operations doesn't happen so often.

Filip

On 2016/12/11 01:14, Christian Geier wrote:
> Hi Filip,
> could you perhaps try to change all those sleep()s to `os.sync()`? For
> me it seems to fix the issue.
> 
> See [0] for a patch.
> 
> If this doesn fix the issue, we obviously need to move the sync call out
> of the tests and into the db update.
> 
> Best regards,
> Christian
> 
> [0] https://github.com/pimutils/khal/commit/0b636f7633e86b9e136b06e9965cd3af0e3918f2
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20161211/7ef05073/attachment.sig>


More information about the Python-apps-team mailing list