使用 nohup 或 disown 如果你要让某个进程运行在后台。

.security-7索引副本UNASSIGNED状态不恢复

匿名 | 发布于2020年01月11日 | 阅读数:448

软件版本:es7.2
运行环境:centos7.6
.security-7索引配置:
{
  "index.blocks.read_only_allow_delete": "false",
  "index.query.default_field": [
    "*"
  ],
  "index.refresh_interval": "1s",
  "index.write.wait_for_active_shards": "1",
  "index.routing.allocation.include._host": "es1-hot,es2-hot,es3-hot",
  "index.auto_expand_replicas": "0-2",
  "index.analysis.filter.email.type": "pattern_capture",
  "index.analysis.filter.email.preserve_original": "true",
  "index.analysis.filter.email.patterns": [
    "([^@]+)",
    "(\\p{L}+)",
    "(\\d+)",
    "@(.+)"
  ],
  "index.analysis.analyzer.email.filter": [
    "email",
    "lowercase",
    "unique"
  ],
  "index.analysis.analyzer.email.tokenizer": "uax_url_email",
  "index.priority": "1000",
  "index.number_of_replicas": "2"
}
 
索引绑定到了es1-hot、es2-hot、es3-hot节点,但只有主分片能恢复
已邀请:

xiaoyanghapi - 90后IT

赞同来自:

使用_cluster/allocation/explain api 看下不分配的详细原因

要回复问题请先登录注册