[TRACKING ISSUE] Do not try to connect to the old member list after the cluster changes [API-2038]
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
これは、C++クライアントの独立した変更ではなく、Java側のPR 24745を追跡するためのissueです。リンクされたpull requestと、説明されているcluster-serviceのリセットおよび接続ロジックを読み、failover後にクライアントが以前のクラスターのメンバーリストをスキップすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The tracking issue for the Java side PR.
See https://github.com/hazelcast/hazelcast/pull/24745 for details.
During failover, when the client is about to try to connect to the next cluster, it resets some services including the cluster service.
In its reset logic, cluster service clears the member list version, but leaves the members as it is, as there are some services/proxies that rely on the fact that the member list cannot be empty.
This creates a problem for the failover case. After the cluster change, the client still tries to connect to the last known member list, which is the members of the previous cluster.
To solve the problem, I have introduced a new method to the cluster service, which returns the "effective" member list. That is, it returns an empty list after the service is reset, but returns the member list as expected otherwise. With that, the connection logic simply skips the old member list after the client decides to change the cluster to try to connect to.
- 主要言語
- C++
- スター
- 90
- フォーク
- 54
- 平均マージ
- 2日 24分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hazelcast/hazelcast-cpp-client のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
hazelcast/hazelcast-cpp-client#1496 ·
-
Type: Enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
hazelcast/hazelcast-cpp-client#1417 ·
-
to-jira Type: Enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
hazelcast/hazelcast-cpp-client#1327 · コメント 1 件 ·
-
to-jira Type: Enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
hazelcast/hazelcast-cpp-client#1317 · コメント 1 件 ·
-
to-jira Type: Enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
hazelcast/hazelcast-cpp-client#1316 · コメント 1 件 ·
hazelcast/hazelcast-cpp-client の issue をすべて見る
似ている issue
-
agent:Windows bug parity performance pri:medium sev:low tooling windows
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
ai_p2
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ClickHouse/ClickHouse#132519 ·
メンテナーはふだん 1 日以内に返信
-
patch_advisor_json_integration fails when the build tree is reached through a symbolic link対応中かも @DerKarussellbremser が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
boykopovar/AnyPS5#22581 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BlueQuartzSoftware/simplnx#1987 ·
メンテナーはふだん 6 日以内に返信