diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2020-07-02 18:08:52 +0200 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2020-07-22 08:16:10 +0000 |
commit | 48e49df050682211a0b21a7a15827133dec57279 (patch) | |
tree | b5cda9c64e997126c623017cdb63b4349e227054 /extras/systemd/glustereventsd.service.in | |
parent | 0696c330fadd34430394e23712450f89d924ea55 (diff) |
cluster/ec: Improve detection of new heals
When EC successfully healed a directory it assumed that maybe other
entries inside that directory could have been created, which could
require additional heal cycles. For this reason, when the heal happened
as part of one index heal iteration, it triggered a new iteration.
The problem happened when the directory was healthy, so no new entries
were added, but its index entry was not removed for some reason. In
this case self-heal started and endless loop healing the same directory
continuously, cause high CPU utilization.
This patch improves detection of new files added to the heal index so
that a new index heal iteration is only triggered if there is new work
to do.
Change-Id: I2355742b85fbfa6de758bccc5d2e1a283c82b53f
Fixes: #1354
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'extras/systemd/glustereventsd.service.in')
0 files changed, 0 insertions, 0 deletions