集群使用的是8.7.1版本es,每当集群产生数据均衡时,总会有数据节点被master节点判断因滞后而被移除集群,从而导致集群状态变更为黄色。以下是日志:
[2024-03-04T11:08:54,159][INFO ][o.e.c.c.C.CoordinatorPublication] [masternode-3] after [10s] publication of cluster state version [260551] is still waiting for {datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}{xpack.installed=true} [SENT_APPLY_COMMIT]
[2024-03-04T11:10:14,162][WARN ][o.e.c.c.C.CoordinatorPublication] [masternode-3] after [1.5m] publication of cluster state version [260551] is still waiting for {datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}{xpack.installed=true} [SENT_APPLY_COMMIT]
[2024-03-04T11:10:24,172][INFO ][o.e.c.c.C.CoordinatorPublication] [masternode-3] after [10s] publication of cluster state version [260552] is still waiting for {datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}{xpack.installed=true} [SENT_APPLY_COMMIT]
[2024-03-04T11:11:44,163][WARN ][o.e.c.c.LagDetector ] [masternode-3] node [{datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}{xpack.installed=true}] is lagging at cluster state version [260550], although publication of cluster state version [260551] completed [1.5m] ago
[2024-03-04T11:11:44,176][WARN ][o.e.c.c.C.CoordinatorPublication] [masternode-3] after [1.5m] publication of cluster state version [260552] is still waiting for {datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}{xpack.installed=true} [SENT_APPLY_COMMIT]
[2024-03-04T11:11:44,185][INFO ][o.e.c.r.a.AllocationService] [masternode-3] current.health="YELLOW" message="Cluster health status changed from [GREEN] to [YELLOW] (reason: [{datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1} reason: lagging])." previous.health="GREEN" reason="{datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1} reason: lagging"
[2024-03-04T11:11:44,230][INFO ][o.e.c.s.MasterService ] [masternode-3] node-left[{datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1} reason: lagging], term: 11, version: 260553, delta: removed {{datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}}
[2024-03-04T11:11:44,455][INFO ][o.e.c.s.ClusterApplierService] [masternode-3] removed {{datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}}, term: 11, version: 260553, reason: Publication{term=11, version=260553}
[2024-03-04T11:11:44,457][INFO ][o.e.c.r.DelayedAllocationService] [masternode-3] scheduling reroute for delayed shards in [59.7s] (37 delayed shards)
[2024-03-04T11:11:44,458][INFO ][o.e.c.c.NodeLeftExecutor ] [masternode-3] node-left: [{datanode-80}{BDnDFGYTQF-j0Q4Rwqpcwg}{2B_y39qqT7mNC2RgOHEu3Q}{datanode-80}{10.10.7.95}{10.10.7.95:9304}{dr}{8.7.1}] with reason [lagging]
还请各位大神分析分析(不能够升级处理)