summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjeet Jha <ajha@redhat.com>2013-10-17 13:14:02 +0530
committerAnand Avati <avati@redhat.com>2013-10-24 14:23:04 -0700
commitef4bb42382a5c9c3ca0907136669a659c2a20311 (patch)
treebbb97d3ee63e8c45e7c99cb4186a2d7eb0f3dba9
parent93c49c6e8c443426792b8e6cf24805516fdcc9bd (diff)
geo-rep: Increasing the buffer_size for master-salve size comparision.
The buffer size is increased to 100MB, considering the space required by slave filesystem bookkeeping. Change-Id: Ib296f0e03b4d7a2de6d5ff0ae9ab09a5261e3e7c BUG: 1020154 Signed-off-by: Ajeet Jha <ajha@redhat.com> Reviewed-on: http://review.gluster.org/6102 Reviewed-by: Avra Sengupta <asengupt@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rwxr-xr-xgeo-replication/src/gverify.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/geo-replication/src/gverify.sh b/geo-replication/src/gverify.sh
index a2561fbe528..bd1b25f2482 100755
--- a/geo-replication/src/gverify.sh
+++ b/geo-replication/src/gverify.sh
@@ -4,7 +4,8 @@
# To use ./gverify <master volume> <slave host> <slave volume>
# Returns 0 if master and slave compatible.
-BUFFER_SIZE=1000;
+# Considering buffer_size 100MB
+BUFFER_SIZE=104857600;
slave_log_file=`gluster --print-logdir`/geo-replication-slaves/slave.log
function SSHM()