Skip to content

Conversation

@sysprg
Copy link

@sysprg sysprg commented Jun 22, 2021

This is a prototype of a new implementation of the interface to support performance schema tables in MariaDB, which does not require changes to the wsrep-API as it uses the wsrep service architecture, similar to the service for TLS.

Copy link
Contributor

@janlindstrom janlindstrom left a comment

Choose a reason for hiding this comment

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

In my opinion this looks good. I had only a very minor comments so you can if so choose ignore them and please send this to review for Teemu Ollakka.

wsrep::ps_service* ps_service)
{
assert(ps_service);
if (not wsrep::ps_service_v1_probe(dlh))
Copy link
Contributor

Choose a reason for hiding this comment

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

I have not seen this before, does this compile in our old compilers?

Copy link
Author

Choose a reason for hiding this comment

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

fixed


static void deinit_ps_service(void* dlh)
{
// assert(not wsrep::ps_service_v1_probe(dlh));
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove commented code lines, why this would not hold here?

int wsrep::ps_service_v1_init(void* dlh,
wsrep::ps_service* ps_service)
{
if (not (dlh && ps_service)) return EINVAL;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not instead of ! ?

Copy link
Author

Choose a reason for hiding this comment

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

fixed

This commit adds support for Performanche Schema tables
for Galera using the new Pefrormance Schema (ps) service.
@sysprg sysprg force-pushed the mariadb4.x-galera-ps-v2 branch from 2ae0399 to 1f2a908 Compare June 29, 2021 13:21
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