You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2021/10/11 01:05:07 UTC
[trafficserver] branch master updated: Update CacheWrite.cc (#8405)
This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new a54abe7 Update CacheWrite.cc (#8405)
a54abe7 is described below
commit a54abe771df8e7d0546d0107b8a24690b9941222
Author: hankai17 <86...@qq.com>
AuthorDate: Mon Oct 11 09:04:57 2021 +0800
Update CacheWrite.cc (#8405)
code optimize for cache_evac debug log
---
iocore/cache/CacheWrite.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/iocore/cache/CacheWrite.cc b/iocore/cache/CacheWrite.cc
index cf8d024..605588d 100644
--- a/iocore/cache/CacheWrite.cc
+++ b/iocore/cache/CacheWrite.cc
@@ -458,7 +458,7 @@ CacheVC::evacuateReadHead(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */
}
alternate_tmp = vector.get(alternate_index);
doc_len = alternate_tmp->object_size_get();
- Debug("cache_evac", "evacuateReadHead http earliest %X first: %X len: %" PRId64, first_key.slice32(0), earliest_key.slice32(0),
+ Debug("cache_evac", "evacuateReadHead http earliest %X first: %X len: %" PRId64, earliest_key.slice32(0), first_key.slice32(0),
doc_len);
} else {
// non-http document
@@ -468,8 +468,8 @@ CacheVC::evacuateReadHead(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */
goto Ldone;
}
doc_len = doc->total_len;
- DDebug("cache_evac", "evacuateReadHead non-http earliest %X first: %X len: %" PRId64, first_key.slice32(0),
- earliest_key.slice32(0), doc_len);
+ DDebug("cache_evac", "evacuateReadHead non-http earliest %X first: %X len: %" PRId64, earliest_key.slice32(0),
+ first_key.slice32(0), doc_len);
}
if (doc_len == total_len) {
// the whole document has been evacuated. Insert the directory