现象:com.alibaba.datax.common.exception.DataXException: Code:[ESWriter-04], Description:[Insert data error.]. - status:[409], error: {"type":"version_conflict_engine_exception","reason":"[20220801]: version conflict, required seqNo [90443], primary term [1]. current document has seqNo [90444] and primary term [1]","index_uuid":"Aqnk8exxxxxZEw","shard":"0","index":"radar_brand_thirty_day_rank-20220801"}
原因:触发了ES的乐观锁的机制,当前版本号应该是xxx,但是更新命令传过来的版本号是另一个,所以才会出现版本冲突,update的时候,同时有人在删索引数据。
解决:
1. 确认是否有删数据的行为。