要不要也来分享分享一下啊

在进行shrink的时候,出现the final mapping would have more than 1 type: [doc, _default_]]

Elasticsearch | 作者 GuaKin_Huang | 发布于2021年09月24日 | 阅读数:1140

es版本:7.12.1
 源索引的type是doc
在进行shrink操作时,查看目标索引。出现下面错误,
 
failed shard on node [gIxBevshS_e7WU-VI936YA]: failed recovery, failure RecoveryFailedException[[event-internet_2019.07.03.shrink][0]: Recovery failed on {es-node-41}{gIxBevshS_e7WU-VI936YA}{yy2KbIzYTcOsDUfS5SIx7w}{10.9.242.41}{10.9.242.41:9300}{dilrt}{ml.machine_memory=540675796992, rack=m41, xpack.installed=true, transform.node=true, ml.max_open_jobs=20, ml.max_jvm_size=268060327936, tag=old}]; nested: IllegalArgumentException[Rejecting mapping update to [event-internet_2019.07.03.shrink] as the final mapping would have more than 1 type: [doc, _default_]];
 
请问,这个问题如何解决
已邀请:

要回复问题请先登录注册