diff options
author | nik-redhat <nladha@redhat.com> | 2020-08-26 15:08:56 +0530 |
---|---|---|
committer | Sanju Rakonde <sanjurakonde@review.gluster.org> | 2020-09-04 10:43:01 +0000 |
commit | 865cca1190e233381f975ff36118f46e29477dcf (patch) | |
tree | d738ca01cf73cb79b4cc9b7677de97bc4eb909ff /extras/disk_usage_sync.sh | |
parent | c7154b84118b4b2ff25083d9be48aeee25a0294b (diff) |
glusterd: cksum mismatch on upgrading to latest gluster
Issue:
In gluster versions less than 7, the checksums were calculated
whether or not the quota is enabled or not, and that cksum value
was also getting stored in the quota.cksum file. But, from gluster
7 version onwards cksum was calculated only if the quota is enabled.
Due to this, the cksums in quota.cksum files differ after upgrading.
Fix:
Added a check to see if the OP_VERSION is less than 7 then, follow
the previous method otherwise, move as per the latest changes for
cksum calculation.
This changes for the cksum calculation was done in
this commit : https://github.com/gluster/glusterfs/commit/3b5eb592f5
Fixes: #1332
Change-Id: I7a95e5e5f4d4be4983fb7816225bf9187856c003
Signed-off-by: nik-redhat <nladha@redhat.com>
Diffstat (limited to 'extras/disk_usage_sync.sh')
0 files changed, 0 insertions, 0 deletions