Commit 1501a18
committed
replicators: Allow configuring max_parallel_snapshot_tables for MySQL.
This commit allows configuring the max_parallel_snapshot_tables
parameter for MySQL. It was fixed to 8, but now it can be configured
via cmd line or env variable. Defaults to number of cores -1.
Release-Note-Core: Allow configuring the number of parallel tables
for MySQL snapshots via MAX_PARALLEL_SNAPSHOT_TABLES or
--max-parallel-snapshot-tables.
Fixes: REA-5785
Closes: #1529
Change-Id: I7f18faf945b2a8c13cbbf879df7dfbb12bd274b2
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/9715
Reviewed-by: Michael Zink <michael.z@readyset.io>
Tested-by: Buildkite CI1 parent 24d2b0f commit 1501a18
File tree
2 files changed
+8
-6
lines changed- database-utils/src
- replicators/src/mysql_connector
2 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
558 | 556 | | |
559 | 557 | | |
560 | 558 | | |
561 | | - | |
| 559 | + | |
562 | 560 | | |
563 | 561 | | |
564 | 562 | | |
565 | 563 | | |
566 | 564 | | |
567 | 565 | | |
568 | 566 | | |
| 567 | + | |
569 | 568 | | |
570 | 569 | | |
571 | 570 | | |
| |||
585 | 584 | | |
586 | 585 | | |
587 | 586 | | |
| 587 | + | |
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
| 631 | + | |
631 | 632 | | |
632 | 633 | | |
633 | 634 | | |
| |||
678 | 679 | | |
679 | 680 | | |
680 | 681 | | |
| 682 | + | |
681 | 683 | | |
682 | 684 | | |
683 | 685 | | |
| |||
698 | 700 | | |
699 | 701 | | |
700 | 702 | | |
701 | | - | |
| 703 | + | |
702 | 704 | | |
703 | 705 | | |
704 | 706 | | |
| |||
745 | 747 | | |
746 | 748 | | |
747 | 749 | | |
748 | | - | |
| 750 | + | |
749 | 751 | | |
750 | 752 | | |
751 | 753 | | |
| |||
0 commit comments