You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by "empiredan (via GitHub)" <gi...@apache.org> on 2026/02/06 04:25:24 UTC

[PR] fix(network): fix heartbeat failure caused by inability to obtain peer address when receiving UDP data [incubator-pegasus]

empiredan opened a new pull request, #2364:
URL: https://github.com/apache/incubator-pegasus/pull/2364

   Fix https://github.com/apache/incubator-pegasus/issues/2363.
   
   The root cause is that when starting onebox with `--use_product_config`, both replica
   servers and meta servers use [src/server/config.ini](https://github.com/apache/incubator-pegasus/blob/a9a11da886bd32d170fc166c08b69210d89d6a52/src/server/config.ini)
   instead of [src/server/config.min.ini](https://github.com/apache/incubator-pegasus/blob/a9a11da886bd32d170fc166c08b69210d89d6a52/src/server/config.min.ini).
   As a result, beacons are sent and received over **UDP** instead of **TCP**.
   
   The UDP implementation uses Boost.Asio APIs. If the sender socket does not call `connect()`,
   then calling `remote_endpoint()` on the receiver socket will always fail.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


Re: [PR] fix(network): fix heartbeat failure caused by inability to obtain peer address when receiving UDP data [incubator-pegasus]

Posted by "empiredan (via GitHub)" <gi...@apache.org>.
empiredan merged PR #2364:
URL: https://github.com/apache/incubator-pegasus/pull/2364


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org