aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-12-08 14:01:54 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-12-08 14:01:54 +0000
commit65c857688005ac042809d034a27c9eab586eb4d3 (patch)
tree351113d0c70161484d170e74fe2b6abfacccc3b6 /searchlib
parentbf37710f4ce4dd8e676e19e102e77272237d8b52 (diff)
- Add class comments.
- Unify info logging. - Demote some info logging to debug.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/docstore/logdatastore.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp b/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp
index e98cfc810d3..6a9ae40cc93 100644
--- a/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp
+++ b/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp
@@ -389,7 +389,7 @@ LogDataStore::compactWorst(uint64_t syncToken, bool compactDiskBloat) {
LOG(debug, "%s", bloatMsg(bloat, usage).c_str());
const bool doCompact = (_fileChunks.size() > 1);
if (doCompact) {
- LOG(info, "%s. Will compact due to %s", reason, bloatMsg(bloat, usage).c_str());
+ LOG(debug, "Will compact due to %s: %s", reason, bloatMsg(bloat, usage).c_str());
auto worst = findNextToCompact(compactDiskBloat);
if (worst.first) {
compactFile(worst.second);
@@ -397,7 +397,7 @@ LogDataStore::compactWorst(uint64_t syncToken, bool compactDiskBloat) {
flushActiveAndWait(syncToken);
usage = getDiskFootprint();
bloat = getDiskBloat();
- LOG(info, "Done compacting due to %s. %s", reason, bloatMsg(bloat, usage).c_str());
+ LOG(info, "Done compacting due to %s: %s", reason, bloatMsg(bloat, usage).c_str());
} else {
flushActiveAndWait(syncToken);
}
@@ -975,7 +975,7 @@ LogDataStore::computeNumberOfSignificantBucketIdBits(const IBucketizer & bucketi
while ((msb > 0) && (msbHistogram[msb - 1] == 0)) {
msb--;
}
- LOG(info, "computeNumberOfSignificantBucketIdBits(file=%d) = %ld = %ld took %1.3f", fileId.getId(), msb, msbHistogram[msb-1], timer.min_time());
+ LOG(debug, "computeNumberOfSignificantBucketIdBits(file=%d) = %ld = %ld took %1.3f", fileId.getId(), msb, msbHistogram[msb-1], timer.min_time());
return msb;
}