HDFS-16280. Fix typo for ShortCircuitReplica#isStale (#3568). Contributed by tomscut.
Reviewed-by: Hui Fei <ferhui@apache.org> Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
1385cdfeb9
commit
2c37bebac4
|
@ -160,7 +160,7 @@ public class ShortCircuitReplica {
|
|||
long deltaMs = Time.monotonicNow() - creationTimeMs;
|
||||
long staleThresholdMs = cache.getStaleThresholdMs();
|
||||
if (deltaMs > staleThresholdMs) {
|
||||
LOG.trace("{} is stale because it's {} ms old and staleThreadholdMS={}",
|
||||
LOG.trace("{} is stale because it's {} ms old and staleThresholdMs={}",
|
||||
this, deltaMs, staleThresholdMs);
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue