Merge concurrency issues with other deleting data operations
- 主要言語
- Java
- スター
- 6.4k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 115
説明
After discussion with @zhanglingzhe0820 , there are three possible concurrency problems related to merge
1. For cluster version, after the follower pulls the snapshot file, it will delete the local overlaped file.
2. The checkttl operation will also delete the expired data.
3. The user initiatively initiates the data deletion operation.
Because the merge operation is to select some files to merge, the above operation may also occur when merging, so the merged files may have been deleted, and NPE will appear.
We need to comprehensively consider the concurrency problem to solve all the above problems.
コントリビューションガイド
調査の方向性
この issue では、ファイル、テスト、エントリーポイントが指定されていません。まず merge 操作と、3 つの並行削除パス(snapshot のクリーンアップ、checkttl、ユーザーが開始した削除)を追跡し、選択された merge ファイルが並行して削除されたときに報告された NPE を防止できれば完了と定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- databases, distributed-systems
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100