channable / channable/opsqueue

Make submissions_failed.chunks_done a not nullable field

未关闭
#110 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
96
派生
2
平均合并
1 小时 2 分钟
30 天内合并 PR
2

描述

In #108 a `NULLABLE` field `chunks_done` was added. It is `NULLABLE` for backwards compatibility reasons only (existing rows in `submissions_failed` don't have a value for this column.

Because rows are flushed from this table after a configurable time we can remove the `NULLABLE` constraint after some time has passed, in a backwards-incompatible API change.

贡献指南

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

调研方向

首先检查 issue #108,以及向 submissions_failed 添加 chunks_done 的 schema 或 migration。检查表的保留和 flush 行为如何影响现有行,然后在兼容期结束后将该列设为 non-nullable,并验证 migration 和受影响的测试是否成功。

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

评估

技术栈
rust
领域
database
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

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