Description of problem: Use rsync flag `--ignore-missing-args` to avoid rsync retries when file not exists in Source. Also use `--existing` to prevent failures if target file not exists.(Since Entry created using RPC calls)
REVIEW: http://review.gluster.org/16010 (geo-rep: Rsync tunables for performance improvements) posted (#1) for review on master by Aravinda VK (avishwan)
REVIEW: http://review.gluster.org/16010 (geo-rep: Rsync tunables for performance improvements) posted (#2) for review on master by Aravinda VK (avishwan)
REVIEW: https://review.gluster.org/16010 (geo-rep: Rsync tunables for performance improvements) posted (#3) for review on master by Aravinda VK (avishwan)
COMMIT: https://review.gluster.org/16010 committed in master by Aravinda VK (avishwan) ------ commit 02979e4663ea9e8a925f785f206d1dba02f253c4 Author: Aravinda VK <avishwan> Date: Fri Dec 2 15:04:49 2016 +0530 geo-rep: Rsync tunables for performance improvements Flag: --ignore-missing-args This Rsync flag reduces sync failures if the source file is unlinked but present in --files-from list. This reduces Rsync retries in Geo-rep and improves the performance Flag: --existing Rsync in Geo-rep never creates target files. Using RPC Geo-rep creates entry in Slave and rsync --inplace used to prevent creating temporary file and rename.(To avoid different GFID in Slave). If the entry is missing in Slave then Geo-rep Rsync gets Permission denied errors when it tries to create file with name as GFID inside .gfid dir.(Geo-rep rsync syncs data using GFIDS with aux-gfid-mount) To disable these flags, gluster volume geo-replication <session> config \ rsync-opt-ignore-missing-args false gluster volume geo-replication <session> config \ rsync-opt-existing false Thanks Kotresh for finding these awesome tunables. BUG: 1400924 Change-Id: I6a84fb86a589bf6edc8dfd1086456a84b05a64fc Signed-off-by: Aravinda VK <avishwan> Reviewed-on: https://review.gluster.org/16010 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Amar Tumballi <amarts> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Kotresh HR <khiremat>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report. glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/