Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use correct gossip SecretEnvelope reference
In case a membership request is received, it contains an inner alive message envelope (which has a secret envelope). The function handleMsgFromComm extracts an internal endpoint from that secret envelope, however it was referencing the wrong envelope. Instead of referencing the inner envelope of the alive message, it referenced the outer envelope of the membership request, however, only alive messages carry internal endpoints inside their secret envelopes. As a result, all internal endpoints were always empty. While this has no semantic effect, because the consumer of the internal endpoint doesn't make use of the field, the field might still be logged, and we should use the correct envelope which contains the internal endpoint and not the incorrect envelope. Change-Id: I2452269e627e3444485425b0df5aced527d5149c Signed-off-by: yacovm <yacovm@il.ibm.com>
- Loading branch information