Note
GitHub: a 32-bit key ran out in a lookup table
GitHub moved a table to 64-bit keys but not its Vitess lookup table. New pull request review comments failed for almost four hours.
GitHub availability report: May 2026 (GitHub Blog) ↗
GitHub’s May report says new pull request review threads could not be created on 6 May from 15:12 to 19:02 UTC. The primary table had moved to a 64-bit integer key. A Vitess lookup table that is used to create threads stayed 32-bit. When the IDs passed the 32-bit limit, almost every new thread failed. The fix changed the lookup tables on all shards to 64-bit.
GitHub already monitored column sizes, but not for Vitess lookup tables.
Our opinion. We think every integer key has a date when it runs out, and you can calculate it. When you widen a key, search for every place that stores a copy of it: lookup tables, caches, other services, client code. Then add those places to the monitoring that warned you about the first one.