diff options
author | Amar Tumballi <amarts@redhat.com> | 2019-03-05 08:39:16 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-03-07 10:39:21 +0000 |
commit | 8fb4631c65f28dd0a5e0304386efff3c807e64a4 (patch) | |
tree | 14e012b60a89d245b61959bf75a0e67e7cc77de1 /libglusterfs/src/common-utils.c | |
parent | c691b4a373506dd2e197d2803c67e9c55bddff2e (diff) |
dict: handle STR_OLD data type in xdr conversions
Currently a dict conversion on wire for 3.x protocol happens using
`dict_unserialize()`, which sets the type of data as STR_OLD. But the
new protocol doesn't send it over the wire as its not considered as a
valid format in new processes.
But considering we deal with old and new protocol when we do a rolling
upgrade, it will allow us to get all the information properly with new
protocol.
Credits: Krutika Dhananjay
Fixes: bz#1684385
Change-Id: I165c0021fb195b399790b9cf14a7416ae75ec84f
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'libglusterfs/src/common-utils.c')
0 files changed, 0 insertions, 0 deletions