diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2013-12-17 16:04:46 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-01-16 21:23:21 -0800 |
commit | a20e79ab3d0827936b679689055ea453c1d01abb (patch) | |
tree | 91fa427839349daea66d49b3d7515b2ed56a7620 /CONTRIBUTING | |
parent | 39968c09626074b34b62541af5940f44ba70cc06 (diff) |
quota: fix recording of last alert log message
PROBLEM:
Alert log messages, corresponding to disk usage crossing soft-limit on a
directory, weren't being logged as often as expected.
CAUSE:
The mechanism in place to log alert messages, once every alert-time
seconds, set the previous logged time incorrectly.
FIX:
Update previous logged time only if we logged an alert message, ie. when
the "time was right" to alert.
Change-Id: Iafcb7be11e3240e2d04b0bb29ddb88e4f4a1bd25
BUG: 969461
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/6532
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'CONTRIBUTING')
0 files changed, 0 insertions, 0 deletions