Skip to content

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

Merged
Yuval-Ariel merged 1 commit into
mainfrom
577-block-cache-stats-are-printed-to-the-log-on-the-same-line-as-write-stall-count-log-trace
Jun 26, 2023
Merged

Fix log trace of Block Cache (Entry) Stats dump (#577)#578
Yuval-Ariel merged 1 commit into
mainfrom
577-block-cache-stats-are-printed-to-the-log-on-the-same-line-as-write-stall-count-log-trace

Conversation

@udi-speedb

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread db/internal_stats.cc Outdated
}
}
str << "\n";
str << '\n';

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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