summaryrefslogtreecommitdiffstats
path: root/geo-replication/Makefile.am
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2016-03-08 13:41:58 +0530
committerVijay Bellur <vbellur@redhat.com>2016-03-08 08:32:39 -0800
commitc249931f2ca37d56391e671b37479555fec92686 (patch)
tree6658fa8e541fa137b2838d7649af485afc847985 /geo-replication/Makefile.am
parent67704349dff995436ed4db8c8da55648e40c7388 (diff)
geo-rep: Fix CPU utilization 100% with Popen
Errorstore is maintained by Geo-rep to collect errors from the child processes opened using Popen. If Popen.communicate is used then it closes stderr. When stderr is not available errorstore.tailer() will enter into infinite loop without gap. With this patch, sleep time added when stderr of Child process is already closed. Change-Id: Ic36aabd6de35b259467d0bab7952468432867a94 BUG: 1315582 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/13637 Reviewed-on: http://review.gluster.org/13645 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'geo-replication/Makefile.am')
0 files changed, 0 insertions, 0 deletions