cedadev / fbi-directory-check

0 stars 0 forks source link

Race condition between fast and slow Q #1

Closed rsmith013 closed 4 years ago

rsmith013 commented 4 years ago

https://github.com/cedadev/rabbit-index-ingest/issues/8

When submitting using fbi_rescan_dir, the messages do not contain file size so if the queues are empty and the slow q returns before the fast q then the filesizes are overwritten as 0 bytes.

rsmith013 commented 4 years ago

fixed by making all changes upserts.