-
Notifications
You must be signed in to change notification settings - Fork 592
chore(log): replace logging calls in cluster/*
#2894
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
chore(log): replace logging calls in cluster/*
#2894
Conversation
cluster/* cluster/*
cluster/*cluster/*
src/cluster/cluster.cc
Outdated
| // Slave -> Master | ||
| srv_->slot_migrator->SetStopMigrationFlag(false); | ||
| LOG(INFO) << "Change server role to master, restart migration task"; | ||
| info("Change server role to master, restart migration task") |
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.
| info("Change server role to master, restart migration task") | |
| info("Change server role to master, restart migration task"); |
?
PragmaTwice
left a comment
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.
Please review every change you made. So many mistakes..
made small adjustments replaced DLOG calls adjusted clang formatting chore(ci): mark the branch 2.12 as a protected branch (apache#2895) missing placeholder
09cbf7b to
aa9c553
Compare
PragmaTwice
left a comment
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.
Looks good to me now : )
|
Some syntax errors. Did you try to compile the code after these changes? |
I did, ill look into it right now. |
|
@PragmaTwice Should work now. On a another note, I had a quick question regarding my GSoC proposal on database backups. Since the Kvrocks community page mentions that all important decisions should go through the mailing list, do I need to share my proposal there as well for visibility and feedback? Just want to make sure I'm following the right process. Thanks. |
implicit instantiation of undefined template 'fmt::detail::type_is_unformattable_for<SSLErrors, char>'
type_is_unformattable_for<T, char_type> _;Seems to be an issue from here. error("Failed to construct SSL structure for new connection: {}", SSLErrors{});Doing this might work? as it says here gabime/spdlog#2041 (comment) std::ostringstream oss;
oss << SSLErrors{};
error("Failed to construct SSL structure for new connection: {}", oss.str()); |
|
You can try |
|




Related to #2889