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

Fixes codership/mysql-wsrep#149 #151

Open
wants to merge 2 commits into
base: 5.6
Choose a base branch
from
Open

Fixes codership/mysql-wsrep#149 #151

wants to merge 2 commits into from

Conversation

philip-galera
Copy link
Contributor

No description provided.

ronin13 and others added 2 commits July 3, 2015 02:04
…o move FLUSH TABLES.

With this commit,

a) FLUSH * LOGS have been added to TOI as well.
The commands being:

    FLUSH ERROR LOGS;
    FLUSH SLOW LOGS;
    FLUSH GENERAL LOGS;
    FLUSH ENGINE LOGS;
    FLUSH RELAY LOGS;

b) FLUSH LOGS and FLUSH BINARY LOGS are not replicated. Former is not
done because it enables BINARY LOGS too.

Tests have been added for them.

In addition, another test has been added which runs the same through
binlogging and gtid enabled.

Finally, REFRESH_TABLES logic from previous commit has been moved to
reload_acl_and_cache to just before close_cached_tables.

This is required because:

    a) TOI for REFRESH_TABLES needs to be done before the command to be
    executed, in this case in close_cached_tables.

    b) Also, since LOCK TABLE WRITE is not replicated, it needs to be
    done after the check of thd->locked_tables_mode as described in
    earlier commit.

    Also, a comment about 'thread holds MDL locks at TI' appearing in
    the logs has been added to indicate that it is benign for this
    context.

Conflicts:
	sql/sql_reload.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants