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

FB8-87, FB8-119: Supporting dynamic scheduling in MTS #999

Closed
wants to merge 1 commit into from
Closed

Conversation

dutow
Copy link
Contributor

@dutow dutow commented Mar 22, 2019

Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: 5846968
Reference commit: d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.

# This test verifies the functionality of slave_db_load table.

source include/master-slave.inc;
source include/have_debug.inc;
Copy link
Contributor

Choose a reason for hiding this comment

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

swap these 2 includes

source include/have_debug.inc;

let rpl_server_number=2;
source include/rpl_restart_server.inc;
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably,
source include/rpl_stop_server.inc; is we are starting in at line 15?

let rpl_server_number=2;
source include/rpl_restart_server.inc;

connection slave;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
connection slave;
source include/rpl_connection_slave.inc;

set global mts_dynamic_rebalance=TRUE;
set global slave_parallel_workers=2;
set global debug="+d,skip_checkpoint_load_reset";
start slave;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
start slave;
source include/start_slave.inc

# Load should be empty
select * from information_schema.slave_db_load;

connection master;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
connection master;
source include/rpl_connection_master.inc;


void srv_session_end_statement(Srv_session* session) {}

#endif // #ifndef EMBEDDED_LIBRARY
Copy link
Contributor

Choose a reason for hiding this comment

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

No EMBEDDED_LIBRARY in 8.0

@@ -0,0 +1,11 @@
#pragma once
Copy link
Contributor

Choose a reason for hiding this comment

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

#pragma once is a non-standard extension. Use standard #define header guards.


worker_load(Slave_worker *worker) : worker_load(worker, 0) {}

bool operator>(const worker_load &other) const {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
bool operator>(const worker_load &other) const {
bool operator>(const worker_load &other) const noexcept {

sql/sql_show.cc Outdated
continue;
}

mysql_mutex_lock(&rli->slave_worker_hash_lock);
Copy link
Contributor

Choose a reason for hiding this comment

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

Formatting (indentation)

if (new_max_wrk_load < wrk_load.load) new_max_wrk_load = wrk_load.load;
total_wrk_load += entry.second->load;

heap.push(wrk_load);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
heap.push(wrk_load);
heap.emplace(std::move(wrk_load));

@dutow
Copy link
Contributor Author

dutow commented Apr 3, 2019

Updated.

Copy link
Contributor

@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

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

LGTM

@dutow dutow changed the title WIP FB8-87, FB8-119: Supporting dynamic scheduling in MTS FB8-87, FB8-119: Supporting dynamic scheduling in MTS Apr 8, 2019
Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@hermanlee hermanlee left a comment

Choose a reason for hiding this comment

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

I think a number of tests like main.information_schema_* need to be re-recorded since SLAVE_DB_LOAD was added.

main.information_schema_db
main.information_schema_cs

There might be some ci ones too?

@@ -2599,7 +2599,9 @@ void Relay_log_info::clear_relay_log_truncated() {
}

bool Relay_log_info::is_time_for_mts_checkpoint() {
if (is_parallel_exec() && opt_mts_checkpoint_period != 0) {
bool period_check = opt_mts_checkpoint_period != 0 &&
!curr_group_seen_begin && !curr_group_seen_gtid;
Copy link
Contributor

Choose a reason for hiding this comment

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

I seem to be seeing a ubsan runtime issue here:

../../sql/rpl_rli.cc:2603:50: runtime error: load of value 86, which is not a valid value for type 'bool'
    #0 0x6ac5253 in Relay_log_info::is_time_for_mts_checkpoint() sql/rpl_rli.cc:2603:50
    #1 0x6a66fa0 in exec_relay_log_event(THD*, Relay_log_info*, Rpl_applier_reader*) sql/rpl_slave.cc:4696:23
    #2 0x6a3b883 in handle_slave_sql sql/rpl_slave.cc:6826:9
    #3 0x81047da in pfs_spawn_thread(void*) storage/perfschema/pfs.cc:2836:3
    #4 0x7f63b9ff966d in start_thread (/usr/local/fbcode/platform007/lib/libpthread.so.0+0x766d)
    #5 0x7f63bb06fe2e in __GI___clone (/usr/local/fbcode/platform007/lib/libc.so.6+0x11ae2e)

I see curr_group_seen_begin initialized in the constructor, but not curr_group_seen_gtid. But it's not clear how we are skipping the initialization of these two variables in slave_start_workers(), but it looks like initializing curr_group_seen_gtid in the constructor removes the problem.

Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: 5846968
Reference commit: d6217c9

-------- 5846968 --------
Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
@facebook-github-bot
Copy link

@dutow has updated the pull request. Re-import the pull request

@dutow
Copy link
Contributor Author

dutow commented Apr 30, 2019

updated.

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@hermanlee hermanlee closed this Jun 11, 2019
facebook-github-bot pushed a commit that referenced this pull request Jun 11, 2019
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: 5846968
Reference commit: d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: #999

Differential Revision: D14883857

fbshipit-source-id: efc8ddf
facebook-github-bot pushed a commit that referenced this pull request Nov 18, 2019
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: 5846968
Reference commit: d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: #999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 24, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 24, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 28, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 28, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 29, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 10, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 10, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 7, 2020
Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857

fbshipit-source-id: 7c13d7f
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 23, 2023
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 3, 2023
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 18, 2023
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 16, 2024
…ercona#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook/mysql-5.6@5846968
Reference commit: facebook/mysql-5.6@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook/mysql-5.6#999

Differential Revision: D14883857
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 17, 2024
…ercona#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook/mysql-5.6@5846968
Reference commit: facebook/mysql-5.6@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook/mysql-5.6#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Apr 23, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Apr 25, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 7, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 8, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 9, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 10, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 13, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 15, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 16, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 30, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 13, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 14, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 19, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 20, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 21, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 25, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 2, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 31, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 2, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 6, 2024
…acebook#999)

Summary:
Jira ticket: https://jira.percona.com/browse/FB8-87
Jira ticket: https://jira.percona.com/browse/FB8-119

Reference commit: facebook@5846968
Reference commit: facebook@d6217c9

Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Pull Request resolved: facebook#999

Differential Revision: D14883857
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants