Menu

#25 Race condition between writing and reading the history file

0.2.0
closed
None
2012-09-14
2012-08-29
No

Even with the history file being renamed before being consumed, opendmarc could have it open for writing, meaning the consumer gets a partial entry at the end or even a lost entry.

opendmarc should lock the file for writing, and opendmarc-import should lock it for reading.

Discussion

  • Murray S. Kucherawy

    • status: open --> closed
    • assigned_to: Murray S. Kucherawy
     
  • Murray S. Kucherawy

    v0.2.2 shipped with a fix for this.

     

Log in to post a comment.