客户端检测到重复的 S3 对象
适用于
- ONTAP 9
- S3 对象存储服务器
- Elastic Search
- s3cmd
- S3 浏览器
问题描述
s3cmd ls -l
表示某个对象存在重复项- S3 Browser 表示某个对象存在重复项
- Elastic Search 无法删除快照键,因为存在重复键
2025-07-23T04:01:21,235][ERROR][o.e.x.i.IndexLifecycleRunner] [elastic-xxx-xx-control03-0] policy [policy_name] for index [index_name] failed on step [{"phase":"cold","action":"searchable_snapshot","name":"cleanup-snapshot"}]. Moving to ERROR step java.lang.IllegalStateException: Duplicate key 997AqmmNQ0aWrfk7gjc0Pw (attempted merging values class org.elasticsearch.repositories.s3.S3BlobContainer{[indices][997AqmmNQ0aWrfk7gjc0Pw]} and class org.elasticsearch.repositories.s3.S3BlobContainer{[indices][997AqmmNQ0aWrfk7gjc0Pw]})
Jul 21, 2025 @ 13:35:23.513
Caused by: java.lang.IllegalStateException: Duplicate key 9DZQX4-DQ_addVvz2jVHpg (attempted merging values class org.elasticsearch.repositories.s3.S3BlobContainer{[indices][9DZQX4-DQ_addVvz2jVHpg]} and class org.elasticsearch.repositories.s3.S3BlobContainer{[indices][9DZQX4-DQ_addVvz2jVHpg]})
[2025-07-23T16:41:56,710][WARN ][r.suppressed ] [elastic-xxx-xx-frozen05-0] path: /_snapshot/s3_ontap/july1st_bad_index, params: {repository=s3_ontap, snapshot=name_index}, status: 500 org.elasticsearch.transport.RemoteTransportException: [elastic-prd-es-control02-0][x.x.x.x:9300][cluster:admin/snapshot/delete]