Allow `connect()` (again) while the server is not responding
@florinutz がすでに取り組んでいます。
2026年9月18日 から。
評価
この issue はまだ評価されていません。
説明
Since 2.3.0, connect() contacts the configured servers and raises ConnectionError when none of them answers (#711). For most programs that is an improvement: the failure arrives where the connection is made, not at the first statement.
A test suite that talks to a cluster while nodes are starting or shutting down now fails inside connect(). crate's blackbox tests hit that and crate pinned crate<2.3 to unblock CI (see crate/crate#20233). The same applies to programs that connect while the server is still coming up (e.g. a CI service container).
Proposal: connect(..., probe=False) skips the check at construction. The server version is then resolved when something first reads lowest_server_version, and an unreachable cluster fails at the first statement, as it did before 2.3.0. The default stays probe=True, so nothing changes for callers who want the early failure.
- 主要言語
- Python
- スター
- 85
- フォーク
- 34
- 平均マージ
- 3日 1時間
- マージ済み PR(30日)
- 4
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
crate/crate-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
crate/crate-python#794 · コメント 2 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
crate/crate-python#826 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
crate/crate-python#820 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
crate/crate-python#751 · コメント 7 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
crate/crate-python#729 · コメント 1 件 ·
crate/crate-python の issue をすべて見る
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100