Expose identifier for a connection bundle
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- haskell
調査の方向性
まず、Connection、ErrorEvent、receive が接続喪失イベントと接続確立イベントをどのように処理するかを追跡します。影響を受ける接続パスを通じて ConnectionBundle がどのように伝播されるかを定義し、その後、喪失イベントが該当する bundle を識別し、同じ peer への後続の接続確立より前に観測されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
-- Identifies a "heavyweight" connection which carries 0 or more "lightweight"
-- connections.
type ConnectionBundle = Word32
data ErrorEvent =
...
-- EventConnectionLost indicates which bundle was lost
| EventConnectionLost EndPointAddress ConnectionBundle
...
data Connection = Connection {
...
-- Each connection knows which bundle carries it.
, bundle :: ConnectionBundle
}
Why?
When a connection is lost, an EventConnectionLost peer must be posted and ultimately come out of receive at that end point before any ConnectionOpened events to the same peer. While that event sits in the queue, new connections may be established to that same peer. Once the EventConnectionLost peer comes out of the queue it's impossible to determine which of the existing outbound lightweight connections are affected by it. By including a ConnectionBundle on every Connection and on the EventConnectionLost, it's possible to determine whether an outbound connection has been severed without trying to send on it.
- 主要言語
- Haskell
- スター
- 753
- フォーク
- 101
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
haskell-distributed/distributed-process のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
enhancement Feature Request
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
haskell-distributed/distributed-process#486 · コメント 1 件 · リアクション 1 件 ·
-
discuss enhancement Feature Request
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
haskell-distributed/distributed-process#478 · コメント 4 件 · リアクション 3 件 ·
-
enhancement Feature Request
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
haskell-distributed/distributed-process#476 · リアクション 2 件 ·
-
Demonstrating the use of Cloud Haskell for a Raft implementation再び着手できるかも @LaurentRDC が 481 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement Feature Request
haskell-distributed/distributed-process#475 · リアクション 3 件 · 担当者 1 名 ·
haskell-distributed/distributed-process の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
objectionary/phino#2059 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
NixOS/nixpkgs-update#586 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
koalaman/shellcheck#3593 ·
-
configuration
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
tweag/cardano-kosmos#47 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 3 日以内に返信