-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hap2] LTS使用時に最新データを取得するとプラグインがクラッシュ。 #2281
Comments
MainPluginとPollerが別プロセスで動作しているので、 現在ひとつのコネクションをforkした後も使いまわしているが、プロセスごとに |
RabbitMQのトラブルシューティングによると,一つのソケットを複数箇所で共有してしまった場合, なのでMainとPollerで共有するのはチャンネル(正しくはチャンネルではなく,チャンネルのラッパであるSender)ではなく, 修正の範囲が大きすぎる。 |
bad record macはここの一番下に書いてる |
チャンネルがソケットって2つ上のコメントに書いたけど,このトラブルシューティングに具体的に明示されてない。 |
いやでも複数コネクションが効率的じゃないからチャンネルが存在するのに, |
既存のコードの構造が悪すぎる(自分が書いた)。 |
transporter名を引数で指定して,Factoryがそれを元にConnectorを作るという仕組みになっている以上, でも汚いんだよなぁ… |
けど、異なるプロセスは、独立してコネクションをもつ方がトラブルが少なくてよいと思いますよ。 |
貧乏性だから,実装されている機能は出来る限り使いたいという謎のこだわりが。。。 |
環境
結果
また、/var/log/rabbitmqabbit@.logに
次のメッセージがありました。 bad record macが怪しい?
The text was updated successfully, but these errors were encountered: