Yoann La Cancellera 208708a58b Add: concurrent SSTs handling
It is a thing: 2 nodes joining at the same time, with 2 JOINERs and 2
DONORs cluster-wide
It can happen on operators with 2 garbd joining at the same time

Before, pt-galera-log-explainer was using SST metadata naively.
Basically if a node was DONOR and we found a "transfer completed"
message, we assumed the donor name we found is the correct one.
So for concurrent SSTs, donors were swapping names.

Now, it is handled by a map, indexed by a donor name. To know if a node
is actual donor or not, it now compare timestamps of events. It assumes
both "selected donor" and "shifting DONOR" messages should have happen
in less than 0.01 secs to avoid any conflict.

Regression tests coming in next commit with an operator logs having
concurrent SSTs. Another conflicts was sometimes breaking the test
depending on the order on which we read files, hence why it's not added
here yet
2023-11-07 18:08:24 +01:00
2023-10-03 17:54:00 +03:00
2023-10-03 16:29:53 +03:00
2023-10-03 17:58:02 +03:00
2023-10-03 17:58:02 +03:00
2023-10-03 16:29:53 +03:00
2023-09-06 01:15:12 +03:00
2023-11-07 18:08:24 +01:00
2023-09-06 01:15:12 +03:00
2020-02-19 22:20:39 +03:00
2023-01-17 15:47:20 +03:00
2022-01-03 15:02:23 +03:00
2023-09-15 17:27:57 +03:00
2023-10-03 16:29:53 +03:00
2023-11-07 18:08:19 +01:00
2023-11-07 18:08:19 +01:00
2023-10-03 16:29:53 +03:00
2017-12-20 14:05:12 +00:00
2023-09-06 01:15:12 +03:00
2023-09-06 01:15:12 +03:00
2020-03-30 10:42:00 -03:00

Percona Toolkit

CLA assistant

Percona Toolkit is a collection of advanced command-line tools used by Percona support staff to perform a variety of MySQL and system tasks that are too difficult or complex to perform manually.

These tools are ideal alternatives to private or "one-off" scripts because they are professionally developed, formally tested, and fully documented. They are also fully self-contained, so installation is quick and easy and no libraries are installed.

Percona Toolkit is developed and supported by Percona Inc. For more information and other free, open-source software developed by Percona, visit http://www.percona.com/software/.

Installing

To install all tools, run:

perl Makefile.PL
make
make test
make install

You probably need to be root to make install. On most systems, the tools are installed in /usr/local/bin. See the INSTALL file for more information.

Documentation

Run man percona-toolkit to see a list of installed tools, then man tool to read the embedded documentation for a specific tool. You can also read the documentation online at http://www.percona.com/software/percona-toolkit/.

Description
Percona Toolkit: a collection of advanced open source command-line tools.
Readme 120 MiB
Languages
Perl 85.5%
Shell 7.3%
Go 5.2%
JavaScript 0.7%
CSS 0.5%
Other 0.6%