Description
All currently-released versions of the Go runtime incorrectly interpret the daylight-savings flag in “slim” versions of zoneinfo that are used by some OS distributions. This can result in incorrect local date-time calculations for any version of CockroachDB that is running on an OS image that distributes “slim” zoneinfo files.- Users of official CockroachDB Docker images are not affected.
- Users of our reference Kubernetes configurations are not affected.
- Users of CockroachCloud are not affected.
Mitigation
Execute the following SQL statement to determine if your cluster is affected:2020-10-29 16:30:00+00:00 is returned, you are affected by this Go runtime bug and should perform the following remediation:
- Download zoneinfo.zip 2020a from the golang development tree to each CockroachDB node.
- Perform a rolling restart of all CockroachDB processes, setting the
ZONEINFOenvironment variable to the path of thezoneinfo.zipfile. - Confirm the fix by executing the above SQL statement.

