Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法在 zookeeper 中找到有关持久节点自动到期的信息。持久节点是否仅在 Zookeeper 服务器关闭时才过期,或者它可以在此之前过期?如果是,可能的原因是什么。这里我问的是自动过期而不是手动删除节点。
持久化 ZK 节点保存在磁盘上并在服务重新启动时保留,并且仅在请求时删除。客户端断开连接时会自动删除临时节点。