Last updated 5 years ago
Was this helpful?
不建议使用该特性在5.2中此功能是实验性功能,可能在未来的版本中完全更改或删除。
不建议使用该特性在5.2中
此功能是实验性功能,可能在未来的版本中完全更改或删除。
更多内容查看官方文档
这些是非动态设置,需要在elasticsearch.yml中配置node.add_lock_id_to_custom_path
elasticsearch.yml
node.add_lock_id_to_custom_path
布尔值设置elasticsearch是否将节点的序号追加到自定义数据路径。例如,如果启动并且使用路径“/tmp/foo”,则第一个本地运行的节点会使用“/tmp/foo/0”,第二个节点使用“/tmp/foo/1”,第三个节点使用“/tmp/foo/2”等。默认为true。