Re:Some DNS lookups causing 5xx errors due to leap second bug
by tyingq on Sunday January 01, 2017 @11:18AM
(#13296162)
One example might be rate limiting. Count requests over elapsed time. If elapsed time is a negative number, the math might trigger a bug that causes CF to block requests...too many requests over time period X.
[ Parent
| on HN ]
Re:Some DNS lookups causing 5xx errors due to leap second bug
by kondbg on Monday January 02, 2017 @08:52PM
(#13306042)
Cloudflare posted a post-mortem [1]. They were measuring round trip time, and supplying the result of that into the golang rand.Int63n() function, which panics the process when given a negative number.
[1] https://blog.cloudflare.com/how-and-why-the-leap-second-affe...