gpt4 book ai didi

linux - 运行 MONGODB 的 Linux 服务器是否会受到 2016 年添加闰秒计划的影响?

转载 作者:太空宇宙 更新时间:2023-11-04 12:43:02 26 4
gpt4 key购买 nike

我了解到有计划在 2016 年 12 月添加闰秒。在工作中,我们正在运行许多安装了 ntpd 的 mongodb 服务器,以保持时间同步并在它们之间正确。

有谁知道这个时间的变化会对我们有什么影响,即除了保证mongodb的正常运行之外,我们是否需要做任何事情?

我在 mongodb 的站点上找不到任何信息

对于上下文:红帽企业 Linux 6.6mongodb3.2.3

最佳答案

可以正常运行,因为你的Red Hat依赖NTP:

来自 MongoDB and Leap Seconds :

Remember, MongoDB relies on host operating system capabilities for reading the wall clock time, and for synchronizing events with wall clock time. As such, you should ensure that the operating system running under MongoDB is itself prepared for leap seconds.

来自 Resolve Leap Second Issues in Red Hat Enterprise Linux :

Systems running any version of Red Hat Enterprise Linux should automatically account for leap second corrections if they are using the NTP (Network Time Protocol) daemon to synchronize their local timekeeping with an NTP server. During the last day before a leap second correction, NTP servers should notify their clients that a leap second will occur, and at 23:59:59 UTC, the Linux kernel should add or remove an extra second by making the 60th second occur twice or removing it entirely.

关于linux - 运行 MONGODB 的 Linux 服务器是否会受到 2016 年添加闰秒计划的影响?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39619274/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com