-
Notifications
You must be signed in to change notification settings - Fork 13
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
MDEV-26851 : Add interface to monitor connections in Galera #242
base: master
Are you sure you want to change the base?
Conversation
9f5c99e
to
e7f1ad3
Compare
@@ -0,0 +1,69 @@ | |||
/* | |||
* Copyright (C) 2024-2026 Codership Oy <info@codership.com> |
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.
Year 2025 should suffice.
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.
Fixed typo.
|
||
#include "compiler.hpp" | ||
#include "wsrep/buffer.hpp" | ||
#include "v26/wsrep_connection_monitor_service.h" |
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.
Wsrep-API headers should not be exposed in wsrep-lib public headers. If you need this header for wsrep_connection_key_t
type, I guess doing a matching typedef in this header would suffice.
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.
Added typedef
e7f1ad3
to
e15035c
Compare
namespace wsrep | ||
{ | ||
/* Type tag for connection key. */ | ||
typedef const void* wsrep_connection_key_t; |
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.
I think this should be in global namespace to match the wsrep-API definition.
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.
Fixed
e15035c
to
dbc8773
Compare
No description provided.