AnswerDotAI / AnswerDotAI/sqlite-minutils

m2m & lookup functions need safeguards to protect against race conditions

未关闭
#43 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
17
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

Current methodology for both functions relies on last_rowid, which won't suffice under high loads. We need to modify both to run off return values from insert/update/upserts.

贡献指南

这个仓库没有索引到贡献指南

调研方向

找到 m2m 和 lookup 函数,并检查它们当前各自如何使用 last_rowid。跟踪它们的 insert、update 和 upsert 操作的返回值,然后验证并发使用不再依赖 last_rowid。

由索引模型根据 Issue 内容生成。

评估

技术栈
python, sqlite
领域
database
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。