Leap second proposal will keep software stacks in sync
For decades, global time experts have mapped atomic clock time to the earthβs rotation, periodically adding a second (aka a leap second) as rotation slowed. But the planetβs rotation has now slightly sped up, which could mean that a negative adjustment will be required.Β
The problem is that computer systems have not been programmed to do that.
To avoid this issue, the General Conference on Weights and Measures (GCWM) in October will vote on a proposal to maintain the Coordinated Universal Time (UTC) as a continuous time from May 20, 2027, without adjustment via leap seconds, allowing UT1, the measure of time based on the earthβs rotation, and UTC to drift apart by up to one hour.
It pointed out, βa negative leap second has not previously been applied, and it is considered to pose a high risk of causing anomalies and disruption to critical infrastructures that are largely unprepared, and the preparation would create, for the industries that rely on time synchronization, a need for financial investment, whose amount is estimated to be similar to their preparations for the millennium bug.β
The group said that a 2025 workshop which included experts on Earth rotation estimated that the probability of a negative leap second will increase rapidly in the near future, reaching 30% by 2035.Β Acceptance of the proposal, it said, will ensure the long-term continuity for UTC for several centuries.
Unexpected requirement
Jeremy Roberts, senior director at Info-Tech Research Group, said that authorities never expected the need to reverse time.Β
βWe have been adding leap seconds for decades, basically to keep atomic time in line with observed time, but this is the first time weβd have to take one away. The problem is that computer systems arenβt designed to work this way,β Roberts said. βRather than introduce a negative leap second, the proposal here is to let the two clocks go out of sync rather than keep adjusting to keep synchronicity with UT1 time and atomic time, which is much more consistent and not impacted by changes in the Earthβs rotation. This would make it easier for those building and maintaining infrastructure, because the clock would behave in a predictable way.β
Still, Roberts stressed that the proposed approach might eventually cause problems.Β
βAs with all things, this will require work to implement, and because the proposal includes a provision that allows for the clocks to go up to an hour out of sync, that would presumably create a problem for our descendants when we eventually reach that point,β Roberts said. β[But] being indecisive could cause fragmentation in standard time as different entities move to different standards, which could come with its own set of problems.β
Frank Dickson, principal analyst at Dickson Research, added that this proposed move is revolutionary in time-keeping circles.
βThis is the biggest change to civil timekeeping since the leap second itself was adopted in 1972,β Dickson said. βEarthβs rotation has historically been slowing down, so thatβs the only direction the system has ever had to handle. Whatβs crazy is that the Earthβs rotation has been speeding up in recent years, requiring a negative leap second, subtracting a second instead of adding one. Nobody has ever run that in production, at global scale, on the systems the world actually depends on.β
Dickson said that it is critically important that the vote pass, because the IT community has seen what happens when clocks malfunction.
βIn a world of interlocking software applications, you cannot always predict how a global change will impact digital systems. In 2012, one ordinary positive leap second took down Reddit, LinkedIn, and Qantasβs booking system,β Dickson said. βIt also triggered a race condition in the Linux kernel that spiked CPU load across servers worldwide. Nobody had tested for it because it had never happened before.β
And another incident involving timekeeping took down the Telstra network in Australia just last month.Β
A βmore rationalβ engineering decision
Mike Wilkes, enterprise CISO at Aikido Security, pointed out that the consequences of a negative leap second could be significant. βSkipping a second can expose assumptions buried in databases, distributed systems, authentication systems, schedulers, market infrastructure and logging platforms,β he said. βThe CGPM proposal is effectively saying that, rather than forcing the entire digital economy to prepare for a novel failure mode, we should make UTC continuous. That seems like a far more rational engineering decision.β
Most consultants and analysts agreed that if the vote to adjust current time procedures fails, the resultant problems would likely happen gradually, and possibly dramatically.
βThe most likely problem would not necessarily be one spectacular global outage. I would be more concerned about thousands of smaller inconsistencies occurring simultaneously,β said Boris Kolev, global head of technology at JA Worldwide. The problems he anticipated included timestamps appearing out of order, distributed transactions behaving unexpectedly, authentication tokens being interpreted incorrectly, monitoring and audit trails becoming inconsistent, or different systems disagreeing about the sequence of events.
Systemic technology risk
But Kolev warned of a potentially more severe problem, as different companies sharing varied technology dependencies with enterprises try tackling the time problem differently.
βThat means an enterprise does not only have to worry about what its own servers do. It has to consider what happens when its cloud provider, operating system, identity provider, database, external APIs, and on premises systems interpret the same moment differently,β Kolev said. βThis is precisely the type of systemic technology risk that concerns CIOs: individually, every dependency may look manageable, but globally there are millions of interconnected systems maintained by different organizations, written in different eras, and operating under different assumptions.β
Justin Greis, CEO of consulting firm Acceligence, also said that he hoped the proposal would pass.Β
βI think this is one of those cases where delaying what appears to be the technically correct answer may actually be the more responsible engineering decision. At some point, you have to ask whether preserving the relationship between civil time and the Earthβs rotation to within a second is worth introducing operational risk across financial systems, telecommunications networks, cloud platforms, power infrastructure, transportation systems and countless other technologies that depend on precise synchronization,β Greis said. βFor the overwhelming majority of enterprise technology, I donβt think it is.β
This article originally appeared on Network World.
