Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix log trace of Block Cache (Entry) Stats dump (#577) #578

Conversation

udi-speedb
Copy link
Contributor

No description provided.

@@ -739,7 +740,7 @@ std::string InternalStats::CacheEntryRoleStats::ToString(
<< (100.0 * total_charges[i] / cache_capacity) << "%)";
}
}
str << "\n";
str << '\n';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without it the next dump entity comes without any separating spaces. Makes it harder to read for a human.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i remind you that we've discussed that this change should be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forced pushed the update

@udi-speedb udi-speedb force-pushed the 577-block-cache-stats-are-printed-to-the-log-on-the-same-line-as-write-stall-count-log-trace branch from 50190a8 to d23e40a Compare June 26, 2023 11:45
@Yuval-Ariel Yuval-Ariel merged commit a81e3ec into main Jun 26, 2023
5 checks passed
@Yuval-Ariel Yuval-Ariel deleted the 577-block-cache-stats-are-printed-to-the-log-on-the-same-line-as-write-stall-count-log-trace branch June 26, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Block cache stats are printed to the log on the same line as Write Stall (count): log trace
2 participants