Whoa we shouldn't get this frame
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ruby
- 領域
- backend, networking
調査の方向性
lib/lumberjack/client.rb のスタックトレースから始め、特に 44、109、116 行付近の write、write_hash、ack を確認します。Logstash を終了した状態でシーケンスを再現し、切断された接続に対して意図されている処理を判断します。明確なサーバー喪失通知または文書化された再接続動作が提供され、クライアントが予期しないフレームエラーを生成しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Guys, is this right repo to log issues against lumberjack ruby client? Great!
Here's a test case:
- send normally using client
- terminate logstash
- try to write some more data using client
- get the error:
RuntimeError: Whoa we shouldn't get this frame: : /home/lst/lst/vendor/bundle/ruby/2.1.0/gems/jls-lumberjack-0.0.22/lib/lumberjack/client.rb:116:in `ack',
/home/lst/lst/vendor/bundle/ruby/2.1.0/gems/jls-lumberjack-0.0.22/lib/lumberjack/client.rb:109:in `write_hash',
/home/lst/lst/vendor/bundle/ruby/2.1.0/gems/jls-lumberjack-0.0.22/lib/lumberjack/client.rb:44:in `write'
Ideas on fixing this are welcome. Ideally, there should be a notification that server is gone and either auto-reconnection code added or just an exception thrown to user that connection is dead.
- 主要言語
- Ruby
- スター
- 3
- フォーク
- 17
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elastic/ruby-lumberjack のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
elastic/ruby-lumberjack#27 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
elastic/ruby-lumberjack#26 · コメント 1 件 ·
-
Logstash-forwarder integration test fails再び着手できるかも @ph が 4026 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
elastic/ruby-lumberjack#24 · コメント 1 件 · 担当者 1 名 ·
-
Stopping the server reader can cause an exception when reading.再び着手できるかも @ph が 4028 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
elastic/ruby-lumberjack#23 · 担当者 1 名 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
elastic/ruby-lumberjack#21 ·
elastic/ruby-lumberjack の issue をすべて見る
似ている issue
-
verified
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 5 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
akitaonrails/ai-book-2026#10 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
zerocracy/judges-action#2984 ·
メンテナーはふだん 1 日以内に返信