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

MDEV-26851 : Add interface to monitor connections in Galera #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

janlindstrom
Copy link

No description provided.

@janlindstrom janlindstrom self-assigned this Jan 27, 2025
@janlindstrom janlindstrom force-pushed the connection_monitor_service branch from 9f5c99e to e7f1ad3 Compare January 27, 2025 14:45
@@ -0,0 +1,69 @@
/*
* Copyright (C) 2024-2026 Codership Oy <info@codership.com>
Copy link
Contributor

Choose a reason for hiding this comment

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

Year 2025 should suffice.

Copy link
Author

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"
Copy link
Contributor

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.

Copy link
Author

Choose a reason for hiding this comment

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

Added typedef

@janlindstrom janlindstrom force-pushed the connection_monitor_service branch from e7f1ad3 to e15035c Compare January 28, 2025 09:08
namespace wsrep
{
/* Type tag for connection key. */
typedef const void* wsrep_connection_key_t;
Copy link
Contributor

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.

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

@janlindstrom janlindstrom force-pushed the connection_monitor_service branch from e15035c to dbc8773 Compare January 30, 2025 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants