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

Commits on Jul 3, 2015

  1. Bug#1421360: Add 'FLUSH * LOGS' except BINARY LOG and FLUSH LOGS, als…

    …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
    ronin13 authored and philip-galera committed Jul 3, 2015
    Configuration menu
    Copy the full SHA
    c283319 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ad15a3 View commit details
    Browse the repository at this point in the history