Concurrent batches into an auto-schema-created collection lose objects
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 62/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- java
调研方向
先查看客户端 README,找到介绍导入或批处理的部分。记录报告中的变通方法:在导入前创建 collection,或者在发送并发批次前单独发送第一个对象。README 说明该变通方法及其所处理的竞态问题后,此 issue 即完成。
由索引模型根据 Issue 内容生成。
描述
Problem
When several batches write concurrently into a collection that auto-schema has to create, they race to create it. The server rejects the losers' objects with:
auto-schema: create collection: class name ... already exists
In 4 of 5 runs, 2–4 of 40 objects were lost (Weaviate 1.39.7, server-side batching). Concurrent insertMany calls hit the same race, so this looks like a server-side issue rather than a client one.
Workaround
Create the collection before importing, or send the first object on its own before starting concurrent batches.
Suggestion
Document the workaround in the client README, and track the race in the core repo if it isn't tracked already.
- 主要语言
- Java
- 星标
- 34
- 派生
- 31
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
weaviate/java-client 的其他 Issue
-
Filter.toString() throws IllegalFormatConversionException for withinGeoRange filters可能已有人在做 @dudanogueira 于 7 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
weaviate/java-client#638 ·
-
v6: VersionSupport rejects every 2.x server (major and minor are concatenated)可能已有人在做 @Ashlesha-17 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
weaviate/java-client#631 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
weaviate/java-client#630 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
weaviate/java-client#629 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
weaviate/java-client#628 ·
查看 weaviate/java-client 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 63/100
linagora/twake-calendar-side-service#1578 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
tchiotludo/akhq#3438 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#266 ·
维护者通常 1 天内回复