Fix typo in comment.
This commit is contained in:
parent
09c353c272
commit
011faf9057
|
@ -887,7 +887,7 @@ loop:
|
||||||
// while in a situation like that, where we are clearly lacking speed of disk
|
// while in a situation like that, where we are clearly lacking speed of disk
|
||||||
// maintenance, the best we can do for crash recovery is to persist chunks as
|
// maintenance, the best we can do for crash recovery is to persist chunks as
|
||||||
// quickly as possible. So only checkpoint if the storage is not in "graceful
|
// quickly as possible. So only checkpoint if the storage is not in "graceful
|
||||||
// degratadion mode".
|
// degradation mode".
|
||||||
if dirtySeriesCount >= s.checkpointDirtySeriesLimit && !s.isDegraded() {
|
if dirtySeriesCount >= s.checkpointDirtySeriesLimit && !s.isDegraded() {
|
||||||
checkpointTimer.Reset(0)
|
checkpointTimer.Reset(0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue