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

WT-3575 ASCII statistics log printing #3652

Merged
merged 2 commits into from Sep 12, 2017

Conversation

keithbostic
Copy link
Contributor

No description provided.

Add a test for JSON configuration before logging the table name in
JSON format.

Minor KNF/whitespace.
…now.

When logging statistics, log them when closing down the system.
@keithbostic keithbostic self-assigned this Sep 12, 2017
Copy link
Member

@sueloverso sueloverso left a comment

Choose a reason for hiding this comment

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

LGTM except for my one question.

",statistics=(fast)"
",statistics_log=(wait=5,sources=(\"file:\"))");
",statistics=(fast),statistics_log="
"(json,on_close,wait=5,sources=(\"file:\"))");
Copy link
Member

Choose a reason for hiding this comment

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

Is it intentional to change test/format's use of statistics in this ticket as it is not really related to the problem of the ticket? Or is this a leftover from your testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that was intentional, our default is JSON now (t2), and setting on_close exercises an additional code path.

@keithbostic keithbostic merged commit d686015 into develop Sep 12, 2017
@keithbostic keithbostic deleted the wt-3575-statistics-log-fixes branch September 12, 2017 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants