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

Fix lp:1578303 "rpl.rpl_start_stop_slave fail sporadically on 5.5" (5.6). #487

Merged
merged 2 commits into from
May 6, 2016

Conversation

percona-ysorokin
Copy link
Collaborator

No description provided.

The problem seems to be in
--let $connection_id=`SELECT id FROM information_schema.processlist
  where state LIKE 'Waiting for master to send event'`

At this point slave connection may still be in
'Queueing master event to the relay log' state and therefore
$connection_id can be empty.

To fix, we need to make sure that there is at least 1 connection
with status 'Waiting for master to send event' before reading its id.
"wait_condition.inc" can be used for this purpose.
Null merge as "rpl_start_stop_slave.test" no longer exists in 5.6.
@percona-ysorokin
Copy link
Collaborator Author

No Jenkins build link as this is a null merge.

@percona-ysorokin
Copy link
Collaborator Author

LGTM (null merge)

@percona-ysorokin percona-ysorokin merged commit b3e57c7 into percona:5.6 May 6, 2016
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 23, 2020
Summary:
RocksDB has replaced allow_os_buffer with use_direct_reads and use_direct_writes.

update-submodule: rocksdb
Closes facebook/mysql-5.6#487

Reviewed By: gunnarku

Differential Revision: D4370953

Pulled By:
lth

fbshipit-source-id: ab84ff8

fbshipit-source-id: 386ba040b9e
inikep pushed a commit to inikep/percona-server that referenced this pull request Feb 24, 2021
Summary:
RocksDB has replaced allow_os_buffer with use_direct_reads and use_direct_writes.

update-submodule: rocksdb
Closes facebook/mysql-5.6#487

Reviewed By: gunnarku

Differential Revision: D4370953

Pulled By:
lth

fbshipit-source-id: ab84ff8

fbshipit-source-id: 386ba040b9e
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 15, 2021
…cona#487)

Summary:
RocksDB has replaced allow_os_buffer with use_direct_reads and use_direct_writes.

update-submodule: rocksdb
Closes facebook/mysql-5.6#487

Reviewed By: gunnarku

Differential Revision: D4370953 (facebook/mysql-5.6@d85302b)

Pulled By: lth

fbshipit-source-id: 2ec8fa464de
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
…cona#487)

Summary:
RocksDB has replaced allow_os_buffer with use_direct_reads and use_direct_writes.

@update-submodule: rocksdb
Closes facebook/mysql-5.6#487

Reviewed By: gunnarku

Differential Revision: D4370953

Pulled By: lth
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 9, 2024
…cona#487)

Summary:
RocksDB has replaced allow_os_buffer with use_direct_reads and use_direct_writes.

@update-submodule: rocksdb
Closes facebook/mysql-5.6#487

Reviewed By: gunnarku

Differential Revision: D4370953

Pulled By: lth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant