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

标签 linux mongodb

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

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

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

对于上下文: 红帽企业 Linux 6.6 mongodb3.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/

相关文章:

mongodb - 是否有 Nodejs 模块或示例说明如何使用 WebDAV 访问 GridFS 文件?

linux - Linux Docker 中的 Umbraco

linux - Mercurial 差异 merge : What tool is this and how do I use it?

javascript - 为什么 MongoDb 游标可以像数组一样被索引?

linux - 使用 iptables 保护 mongodb 端口

mongodb - 如何在聚合中使用_id?

linux - crontab shell 脚本启动另一个脚本 : remove char error

linux - 从 public_html_source 到 public_html 的符号链接(symbolic link)

python - 如何在 python 字典中找到具有重复值的键?

mongodb - JasperReports 库和 MongoDB