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:
litao 2021-10-22 10:51:30 +08:00 committed by GitHub
parent 1385cdfeb9
commit 2c37bebac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ boolean isStale() {
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 {