/plushcap/analysis/cloudflare/how-and-why-the-leap-second-affected-cloudflare-dns

How and why the leap second affected Cloudflare DNS

What's this blog post about?

On January 1, 2017, a negative value in Cloudflare's custom RRDNS software caused some DNS resolutions to fail for customers using CNAME records. The issue affected approximately 0.2% of DNS queries and less than 1% of HTTP requests during the outage. The problem was quickly identified and fixed within 90 minutes, with a global rollout by 6:45 UTC. The root cause of the bug was the belief that time cannot go backwards, which led to negative values being recorded in server selection code. Cloudflare has since inspected all its code for other leap second-sensitive uses of time intervals and apologized for any inconvenience caused to customers.

Company
Cloudflare

Date published
Jan. 1, 2017

Author(s)
John Graham-Cumming

Word count
1044

Language
English

Hacker News points
61


By Matt Makai. 2021-2024.