diff options
author | Anoop C S <anoopcs@redhat.com> | 2018-02-13 12:23:39 +0530 |
---|---|---|
committer | Anoop C S <anoopcs@autistici.org> | 2018-02-19 05:46:03 +0000 |
commit | fe8da0eb3cfb596131641ea5142e3d3d6336cba5 (patch) | |
tree | c251a7f1ef8ce496185909cb52f9a10b107ae579 /xlators/cluster | |
parent | 889c363c5ea4ff5e4d76368bd99980306346fc51 (diff) |
protcol/client: Insert dummy clnt-lk-version to avoid upgrade failure
With https://review.gluster.org/#/c/12363/ being merged, we no longer
send client's lk-version to server side and the corresponding check on
server is also removed. But when clients are upgraded prior to servers,
the check for lk-version at server side fails and is reported back to
clients resulting in disconnection.
Since we don't have lock-recovery (lk-version and grace-timeout) logic
anymore in code base our best bet would be to add client's default
lk-version i.e, 1, into the dictionary just to make server side check
pass and continue with remaining SETVOLUME operations.
Change-Id: I441b67bd271d1e9ba9a7c08703e651c7a6bd945b
BUG: 1544366
Signed-off-by: Anoop C S <anoopcs@redhat.com>
(cherry picked from commit c096bec4ec3f3ac33cc0787c60978944792e074e)
Diffstat (limited to 'xlators/cluster')
0 files changed, 0 insertions, 0 deletions