mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Budnik <abud...@mesosphere.com>
Subject Review Request 68768: Fixed disconnection while sending acknowledgment to IOSwitchboard.
Date Wed, 19 Sep 2018 16:14:54 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68768/
-----------------------------------------------------------

Review request for mesos and Alexander Rukletsov.


Bugs: MESOS-8545
    https://issues.apache.org/jira/browse/MESOS-8545


Repository: mesos


Description
-------

Previously, an HTTP connection to the IOSwitchboard could be garbage
collected before the agent sent an acknowledgment to the IOSwitchboard
via this connection. This patch fixes the issue by keeping a reference
count to the connection in a lambda callback until disconnection
occurs.


Diffs
-----

  src/slave/http.cpp bf34ef75f8f25cf895d1c4d52923b2d6254f1ecc 


Diff: https://reviews.apache.org/r/68768/diff/1/


Testing
-------

1. sudo make check (Fedora 25)
2. internal CI


Thanks,

Andrei Budnik


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message