Hacker News new | past | comments | ask | show | jobs | submit login
A complex bug with a ⸢simple⸣ fix (plover.com)
2 points by PaulHoule 4 months ago | hide | past | favorite | 1 comment



I wonder whether you still have a bug. It depends how "scanning" is implemented.

    23:55 start scanning
    23:59:59 message added
    00:00:01 perform timestamp check
If there is the possibility of a message being added very late, and either being omitted from the scan that started earlier, or a delay from finishing the scan to performing the timestamp check, you might still miss a message.

You also mentioned a directory being created 5 minutes early: what if some system has a clock skewed the opposite way, and puts a message in a directory 5 minutes late instead?




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: