diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2020-02-04 14:43:35 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2020-02-05 12:13:05 +0000 |
commit | 4e9fc11b0659957e76565f6557ad1079c51d6832 (patch) | |
tree | a1badb7d8684c30a54b8c3619a7790ba019a0fac /README.md | |
parent | 2b35572e1f30c37bbbbec8f63060ae2eeaf61b32 (diff) |
protocol/client: Maintain connection to brick status
Problem:
The current version of the code depends on the non-zero-port information to
propagate ping event from brick to parent layers. But as and when connection
succeeds, port is set to zero in rpc layer.So ping event is never propagated to
parent layers. Halo doesn't work without this.
Fix:
Remember the status of connection in 'private' structure and use that to decide
to propagate ping event to parent xlator.
fixes: bz#1797934
Change-Id: Ia578ba9fb3813953d2068dbba5c982ab27cc3429
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions