You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/10/13 22:55:13 UTC
[trafficserver] branch 9.2.x updated: Update CacheWrite.cc (#8405)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new eeaafeb Update CacheWrite.cc (#8405)
eeaafeb is described below
commit eeaafeb431b33ecb5646268c4f3e9ce4ff88f6de
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
(cherry picked from commit a54abe771df8e7d0546d0107b8a24690b9941222)
---
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