InlineVerifier cleanup tracking
まだ誰も着手していません。
評価
調査の方向性
Start by tracing InlineVerifier, IterativeVerifier, Ferry, BinlogVerifyStore, and the ControlServer or copydb integration points named in the checklist. Review existing InlineVerifier and IterativeVerifier tests, then define completion as resolving the unchecked cleanup, race-condition test, interrupt behavior, integration, and configuration items without regressing the completed work.
索引モデルが issue の本文から書いたものです。
説明
- Remove the IterativeVerifier from the code base.
- Remove the "hack" of
f.inlineVerifieronFerryand make it more integrated into Ferry directly.- Possibly review the
Verifierinterface to see if it needs to be extended or removed.
- Possibly review the
- Write some sort of test for race condition within
InlineVerifier.verifyallEventsInStore(). Specifically, if a row is added to theBinlogVerifyStorebetween the.Batches()call and.RemoveVerifiedBatches()call, that row must remain present after.RemoveVerifiedBatches().- This is somewhat non-trivial as there's no easy way to mock methods and the race condition is entirely contained within
verifyAllEventsInStore, a private method. - A possible way to test this kind of is to add the same row multiple times and see if the counter has increased proportionally. Then, run
verifyAllEventsInStoreonce and see if the counter only decreases by 1 time, or something along this line of thought.
- This is somewhat non-trivial as there's no easy way to mock methods and the race condition is entirely contained within
- Disallow interrupt after FlushBinlog.
- SELECT query logs with the InlineVerifier will be massive because of the repeated MD5 COALESCE: https://github.com/Shopify/ghostferry/pull/136
- Port more IterativeVerifier tests to the InlineVerifier: #137
- InlineVerifier is likely broken with the ControlServer and thus copydb.
- ColumnCompressionConfig is only used by the InlineVerifier. Should either move it into the InlineVerifierConfig or make the InlineVerifierConfig and thus InlineVerifier a first class member of Ghostferry
- 主要言語
- Go
- スター
- 858
- フォーク
- 77
- 平均マージ
- 10日 4時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/ghostferry のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
Shopify/ghostferry#471 · コメント 1 件 ·
-
Trouble with virtual generated columns対応中かも @driv3r が 222 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
Shopify/ghostferry#338 · コメント 7 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
Shopify/ghostferry#332 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Shopify/ghostferry#318 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Shopify/ghostferry#306 ·
Shopify/ghostferry の issue をすべて見る
似ている issue
-
[Bug]: gate 缺失オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
Generated cask uses deprecated `postflight` stanza; Homebrew 7 warns on every command対応中かも @k4kratik が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sachincool/cruft#4 ·
-
help wanted kind/good-first-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
knative/func#4191 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
VictoriaMetrics/VictoriaLogs#1965 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug sig/ui
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
kubermatic/dashboard#8540 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信