summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-06-27 13:27:01 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-06-27 13:27:01 +0000
commit27ccb86f0edbd150815e7613ab42c65d4b5495f3 (patch)
tree7edc48fcd776f1b4d189899d9d402dfcf1bd0b59 /searchcore
parentc4d35430b51812962fe5425bd93852dcf1b9864d (diff)
Add coverage informationwhen we soft timeout.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/matcher.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp b/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp
index f02bc99a645..1c9cd9bad52 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/matcher.cpp
@@ -336,8 +336,9 @@ Matcher::match(const SearchRequest &request, vespalib::ThreadBundle &threadBundl
adjustedDuration = 0;
}
_stats.updatesoftDoomFactor(request.getTimeout(), softLimit, adjustedDuration);
- LOG(info, "Triggered softtimeout factor adjustment. request=%1.3f, doomOvertime=%1.3f, limit=%1.3f and duration=%1.3f, rankprofile=%s"
+ LOG(info, "Triggered softtimeout factor adjustment. Coverage = %lu of %u . request=%1.3f, doomOvertime=%1.3f, limit=%1.3f and duration=%1.3f, rankprofile=%s"
", factor adjusted from %1.3f to %1.3f",
+ covered, numActiveLids,
request.getTimeout().sec(), my_stats.doomOvertime().sec(), softLimit.sec(), duration.sec(),
request.ranking.c_str(), old, _stats.softDoomFactor());
}