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 stats log print to console when we start process. #4550

Merged
merged 6 commits into from Aug 22, 2022

Conversation

Milittle
Copy link
Contributor

@Milittle Milittle commented Aug 17, 2022

we before setupLogging, init our stats, when we adjust high level verbose
log. it will be output logs to console.

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number: I do not pull new issue for this.

Description:

we before setupLogging, init our stats, when we adjust high level verbose
log. it will be output logs to console.

How do you solve it?

I adjust the init stats order from main process in Metad and Storaged

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to be reflected in release notes and how to describe:

ex. Fixed the bug .....

we before setLogging, init our stats, when we adjust high level verbose
log. it will be output logs to console.
@Sophie-Xie Sophie-Xie added the ready-for-testing PR: ready for the CI test label Aug 18, 2022
Copy link
Contributor

@panda-sheep panda-sheep left a comment

Choose a reason for hiding this comment

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

Good catch, thanks for your contribution

@jievince jievince requested a review from dutor August 18, 2022 06:21
@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2022

Codecov Report

Merging #4550 (60f6c09) into master (9239b32) will increase coverage by 0.03%.
The diff coverage is 73.39%.

@@            Coverage Diff             @@
##           master    #4550      +/-   ##
==========================================
+ Coverage   84.67%   84.70%   +0.03%     
==========================================
  Files        1354     1355       +1     
  Lines      134943   135012      +69     
==========================================
+ Hits       114261   114365     +104     
+ Misses      20682    20647      -35     
Impacted Files Coverage Δ
src/graph/executor/query/GetDstBySrcExecutor.cpp 86.20% <0.00%> (-1.52%) ⬇️
src/graph/optimizer/OptGroup.cpp 90.97% <ø> (-0.14%) ⬇️
src/storage/query/GetDstBySrcProcessor.h 100.00% <ø> (ø)
src/storage/query/GetDstBySrcProcessor.cpp 63.68% <40.57%> (-15.27%) ⬇️
src/common/datatypes/Value.cpp 74.29% <80.00%> (-1.16%) ⬇️
...r/rule/RemoveProjectDedupBeforeGetDstBySrcRule.cpp 87.17% <87.17%> (ø)
src/graph/planner/ngql/GoPlanner.cpp 98.84% <89.47%> (-0.45%) ⬇️
src/common/datatypes/DataSet.h 79.46% <100.00%> (+0.18%) ⬆️
src/common/datatypes/List.h 94.54% <100.00%> (+0.20%) ⬆️
src/common/datatypes/Value.h 97.05% <100.00%> (+0.76%) ⬆️
... and 49 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@critical27 critical27 merged commit 403aaa4 into vesoft-inc:master Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants