Skip to content
  • Satya Bodapati's avatar
    745b67cf
    Bug#22859866 - UNDO DATADIR IS USED AND SERVER IS CRASHED ON WINDOWS, SERVER REFUSES TO START · 745b67cf
    Satya Bodapati authored
    
    Bug#22157027 - LOG_BASED_DISCOVERY.TEST FAILS ON PB2 WITH PARALLEL VALUE 1
    
    Problem:
    --------
    The test fails because of two reasons
    1) On linux platforms EL6/EL7, --exec MYSQLD fails because of
    --secure-file-priv option. It is only allowed to write in /lib/mysql/var
    by default
    
    2) On checkpoint, there is no redo to be applied even after
    kill_mysqld.inc. So the search for pattern "Cannot load UNDO
    tablespace" will fail
    
    3) On windows, if innodb_undo_directory is used and server is crashed
    during DMLs, server refuses to start.
    
    Fix:
    ----
    For 1): use --secure-file-priv="" to --exec MYSQLD
    For 2): use --no_checkpoint_start.inc and --no_checkpoint_end.inc
    For 3): use os_normalize_path() to succeed.
    
    4) moved cleanup_folder.inc from innodb suite to mysql-test/include
    5) Removed have_linux.inc from log_based_discovery
    
    Reviewed-By: default avatar <marko.makela@oracle.com>
    RB: 12009
    745b67cf
    Bug#22859866 - UNDO DATADIR IS USED AND SERVER IS CRASHED ON WINDOWS, SERVER REFUSES TO START
    Satya Bodapati authored
    
    Bug#22157027 - LOG_BASED_DISCOVERY.TEST FAILS ON PB2 WITH PARALLEL VALUE 1
    
    Problem:
    --------
    The test fails because of two reasons
    1) On linux platforms EL6/EL7, --exec MYSQLD fails because of
    --secure-file-priv option. It is only allowed to write in /lib/mysql/var
    by default
    
    2) On checkpoint, there is no redo to be applied even after
    kill_mysqld.inc. So the search for pattern "Cannot load UNDO
    tablespace" will fail
    
    3) On windows, if innodb_undo_directory is used and server is crashed
    during DMLs, server refuses to start.
    
    Fix:
    ----
    For 1): use --secure-file-priv="" to --exec MYSQLD
    For 2): use --no_checkpoint_start.inc and --no_checkpoint_end.inc
    For 3): use os_normalize_path() to succeed.
    
    4) moved cleanup_folder.inc from innodb suite to mysql-test/include
    5) Removed have_linux.inc from log_based_discovery
    
    Reviewed-By: default avatar <marko.makela@oracle.com>
    RB: 12009
Loading