Support Manual Auto Exit for Maintenance Mode
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java
調査の方向性
まず、手動で maintenance mode に入る経路と、controller によってトリガーされる maintenance の経路を特定し、次に maintenance state と user configuration がどのように表現されているかを追跡します。既存の offline-node threshold の動作を維持しながら、未設定の場合を含む手動エントリの timeout 動作を定義し、関連するテストで両方の終了経路と timeout 処理を検証します。
索引モデルが issue の本文から書いたものです。
説明
When a cluster enters maintenance mode, partition movement is paused and only state maintenance is performed. Maintenance mode can be triggered manually (via user config) or automatically by the Helix controller if the number of offline nodes exceeds a threshold.
Maintenance mode is frequently used to batch multiple config changes, ensuring the Helix controller only recalculates assignments after all updates are complete. The workflow is:
- Enter maintenance mode
- Apply config changes
- Exit maintenance mode
However, if an operation script fails mid-process, the cluster may remain stuck in maintenance mode, impacting availability.
Proposed Solution
- Introduce a timeout parameter for manual maintenance mode entry.
- When entering maintenance mode manually, users can specify a timeout.
- If the cluster is still in maintenance mode after the timeout, Helix will automatically exit maintenance mode.
- If no timeout is specified, auto-exit does not occur.
- For controller-triggered maintenance mode (due to offline nodes), the existing behavior remains: the cluster exits maintenance mode only when the offline node count drops below the threshold.
- 主要言語
- Java
- スター
- 505
- フォーク
- 258
- 平均マージ
- 4日 20時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/helix のほかの issue
-
Four TestConstraintBasedAlgorithm tests pass when nothing is thrown対応中かも @sharanggupta が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
-
Helix ZkClient times out after successful ZooKeeper SASL DIGEST-MD5 authentication対応中かも @adityaanikam が 43 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
NPE in canCompleteSwap if path doesn't exists対応中かも @waterWang が 106 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
-
Legacy IZkStateListenerI0ItecImpl causes zombie participants by discarding session IDs対応中かも @LZD-PratyushBhatt が 457 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
SasanLabs/VulnerableApp#912 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
desktop edt not responding
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
datafusion-contrib/StreamFusion#653 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] Absolute row/column index 0 is ignored for images, hyperlinks and comments対応中かも @fanOfSunny が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信