summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-07-28 18:38:56 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-07-29 01:42:58 -0700
commit71641e36734c86ac14c62caf57301e2214712502 (patch)
treeefba1059c1c8c97f00d7cf766681bd4942901e3d /cli
parent62c2e7f8b9211ba149368d26f772f175fe51b43b (diff)
features/shard: Fix block size get from xdata
Instead of using dict_get_ptr, dict_get_uint64 was used. If the first byte of the value is '\0' then size is returned as 0 because strtoull is used in data_to_uint64. This will make it seem like the file is not sharded at all. BUG: 1247108 Change-Id: Id1fc291198ac94b20ae645c04a51db78bab51993 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/11778 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions