-
Notifications
You must be signed in to change notification settings - Fork 411
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
optimize the configs of logger #3101
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
d2f0a50
to
3e2eea2
Compare
2.make logger.count/logger.size dynamic updatable
3e2eea2
to
e7f4997
Compare
@CalvinNeo PTAL. |
49fbb22
to
1731e12
Compare
1731e12
to
938c66e
Compare
e06a79a
to
4b5a2a5
Compare
409b3a4
to
ffe1458
Compare
/run-all-tests |
ffe1458
to
4703407
Compare
4703407
to
258fc05
Compare
/run-all-tests |
libs/libpocoext/include/Poco/Ext/TiFlashArchiveByTimestampsStrategy.h
Outdated
Show resolved
Hide resolved
294d7ba
to
d28a737
Compare
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a small comment
libs/libpocoext/include/Poco/Ext/TiFlashArchiveByTimestampsStrategy.h
Outdated
Show resolved
Hide resolved
@solotzg @CalvinNeo Does this change make trouble for |
Currently, |
…ategy.h Co-authored-by: JaySon <jayson.hjs@gmail.com>
/merge |
@hehechen: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: c4ca14e
|
What problem does this PR solve?
#2690
design doc: https://docs.google.com/document/d/1CxrYe8h9f1xijanBAFimh9iDCtY4BOVZ_d6QnpPId94/edit?n=Enhance_configuration_of_TiFlash_RAStorage
What is changed and how it works?
What's Changed:
Poco::ArchiveByTimestampStrategy
class andPoco::FileChannel
class, and overrideArchiveByTimestampStrategy::Archive
andFileChannel::setArchive
, modify the archive file name suffix in the subclass ofArchiveByTimestampStrategy
.MutableSplitterChannel
class as a subclass ofPoco::SplitterChannel
, traverse the channels in theSplitterChannel
, and reload thelogger.size
andlogger.count
properties.Check List