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.
v0.2.2 shipped with a fix for this.