channable / channable/opsqueue

Make submissions_failed.chunks_done a not nullable field

オープン
#110 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
96
フォーク
2
平均マージ
1時間 2分
マージ済み PR(30日)
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 を追加したスキーマまたはマイグレーションを確認します。テーブルの保持およびフラッシュの動作が既存の行にどのような影響を与えるかを確認し、互換性期間が過ぎたらカラムを non-nullable にして、マイグレーションと影響を受けるテストが成功することを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
database
issue の種類
リファクタリング
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。