Skip to content

Commit

Permalink
Worker threads should respond to kill command in any state
Browse files Browse the repository at this point in the history
Summary:
There were some states where worker threads were not responsive to kill
command. Fixed those cases. Also added a stop slave stress test.

Test Plan: MTR

Reviewers: arahut

Reviewed By: arahut

Subscribers: phabricatorlinter, [email protected]

Differential Revision: https://phabricator.intern.facebook.com/D9073572

Tasks: T32118505

Signature: 9073572:1534536654:c7c7c6a7eeec57d5382ea6d45a867dbd3203af61
  • Loading branch information
abhinav04sharma authored and yizhang82 committed Dec 23, 2019
1 parent 664dd17 commit 16bc2fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ set debug_sync="now wait_for signal.reached";
# insert
let $wait_condition=
select count(*)= 1 from information_schema.processlist
where state like 'Executing Table_map event at position%';
where state = 'Waiting for dependencies to be satisfied';
source include/wait_condition.inc;

select * from t1;
Expand Down

0 comments on commit 16bc2fe

Please sign in to comment.