monetto
V2EX  ›  Java

ElasticSearch 源码中的 ClusterStateVersion 到底是什么东西

  •  
  •   monetto · Jul 6, 2022 · 1763 views
    This topic created in 1435 days ago, the information mentioned may be changed or developed.

    如题,在梳理 ES 原理的时候,看 主节点选举这里,这个变量迷惑了。

    来自于 PingResponse 里面的 StreamOutput 中的 readLong 方法,这个值的意义是什么,是网络延迟的数值还是?

    1 replies    2022-07-06 18:43:30 +08:00
    Euthpic
        1
    Euthpic  
       Jul 6, 2022   ❤️ 1
    随手一搜都有答案
    https://elasticsearch.cn/article/711
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3723 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 04:59 · PVG 12:59 · LAX 21:59 · JFK 00:59
    ♥ Do have faith in what you're doing.