diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2019-09-12 11:07:10 +0530 |
---|---|---|
committer | Rinku Kothiya <rkothiya@redhat.com> | 2020-07-13 06:43:52 +0000 |
commit | c5159b8da1462a8d56188bbec48be95b742a4709 (patch) | |
tree | 00c467c2e43d07acd6f02caeecd143e186748320 /extras/glusterfs-georep-logrotate | |
parent | 328f909ca81274843fba76e82f96712998d02b66 (diff) |
features/shard: Convert shard block indices to uint64
This patch fixes a crash in FOPs that operate on really large sharded
files where number of participant shards could sometimes exceed
signed int32 max.
The patch also adds GF_ASSERTs to ensure that number of participating
shards is always greater than 0 for files that do have more than one
shard.
Change-Id: I354de58796f350eb1aa42fcdf8092ca2e69ccbb6
Fixes: #1348
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
(cherry picked from commit cdf01cc47eb2efb427b5855732d9607eec2abc8a)
Diffstat (limited to 'extras/glusterfs-georep-logrotate')
0 files changed, 0 insertions, 0 deletions