-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[kvstore] adjust log level and add header comments #3681
Conversation
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.
Great job
@@ -107,7 +107,7 @@ bool RowReaderWrapper::reset(meta::SchemaProviderIf const* schema, | |||
currReader_ = &readerV2_; | |||
return true; | |||
} else { | |||
LOG(ERROR) << "Unsupported row reader version " << readerVer; | |||
LOG(WARNING) << "Unsupported row reader version " << readerVer; |
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.
How to distinguish between warning and error?
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.
It depends on whether administrator need to be involved. ERROR definitely need to be checked, but WARNING is not mandatory.
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.
Awesome work!
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.
Impressive work!
class RaftLogIterator final : public LogIterator { | ||
public: | ||
/** | ||
* @brief Construct a new raf log iterator |
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.
miss a 't'
* adjust log level * add header comments * address comments * address @wenhaocs's comments * rebased, code format confirm with critical27
…esoft-inc#598) * adjust log level * add header comments * address comments * address @wenhaocs's comments * rebased, code format confirm with critical27 Co-authored-by: Doodle <[email protected]>
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
src/codec
andsrc/kvstore
directoryAtomicLogBuffer
to source fileHow do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:
If any interface's comments is not clear, feel free to ask me to add some description
Checklist:
Tests:
Affects:
Release notes:
No