Bifrost
Bifrost copied to clipboard
v1.8.1-release MySQL增量同步到ES 8.1.0失败“[type=illegal_argument_exception]”
Version:
Bifrost Version: v1.8.1-release Os Version: CentOS Linux release 7.6.1810 Browse: Chrome ES Version: elasticsearch-8.1.0
增量同步失败:
异常:
2022/03/25 17:27:06 do ES bulk err elastic:
Error 400 (Bad Request): Action/metadata line [1]
contains an unknown parameter [_type]
[type=illegal_argument_exception], close sync
ES在8.1.0版本已经移除了自定义type,现在已经没有_type字段
Removal of mapping types
https://www.elastic.co/guide/en/elasticsearch/reference/8.1/removal-of-types.html