mysql errorlog 大量[Warning] [MY-010956] [Server]导致体积errorlog体积暴增

本文介绍了解决MySQL 8.0版本中因特定警告导致Error Log文件体积异常增长的方法。通过调整log_error_verbosity参数及利用log_error_suppression_list参数抑制指定警告信息的记录。

问题描述

最近突然发现mysql 从库error log里面大量报错如下
[Warning] [MY-010956] [Server] Invalid replication timestamps: original commit timestamp is more recent than the immediate commit timestamp. This may be an issue if delayed replication is active. Make sure that servers have their clocks set to the correct time. No further message will be emitted until after timestamps become valid again.
由于写入了大量的这种warning报错,从而导致errorlog体积暴增,截图如下

[Warning] [MY-010956] [Server] Invalid replication timestamps: original commit timestamp is more recent than the immediate commit timestamp. This may be an issue if delayed replication is active. Make sure that servers have their clocks set to the correct time. No further message will be emitted until after timestamps become valid again.

解决方案

经过查询文档发现这个报错是一个时间戳的bug,但是如何解决暴增的问题呢?
首先由于这个是报错是waring级别,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值