percona / percona/pxc_scheduler_handler

Isolation of actions done by multiple concurrent schedulers

Open
#27 2 comments 0 reactions 1 assignee View on GitHub

@Tusamarco is already working on this.

Since Jun 27, 2021.

enhancement Feature Request Pending Customer feedback
Dominant language
Go
Stars
15
Forks
11
PR merge metrics
No merged PRs in 30d

Description

In case we have multiple instance of Handler running in the same ProxySQL handling different set of servers, when one of them needs to apply a status change, a possible clash/conflict can exists.

This because changes to memory stage tables in ProxySQL are seen immediately by other threads, and so doing LOAD...TO RUNTIME from handler 1 could be loading half-baked changes done by handler 2.

As such the whole table is refreshed and modified. To prevent the conflict a lock should exists that will avoid to have two Handler committing the changes at the same time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.