Debian Codegraph @

mysql-test/suite/rpl/r/rpl_rotate_binlog_master_key_errors.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 [connection slave]
7 call mtr.add_suppression("You need to use --log-bin to make --binlog-format work.");
8 include/assert.inc [The first relay log is encrypted using first master key]
9 [connection master]
10 CREATE TABLE t1 (c1 INT);
11 INSERT INTO t1 VALUES (1);
12 include/sync_slave_sql_with_master.inc
13 # Part 1: fail_to_decrypt_file_password
14 # Adding debug point 'fail_to_decrypt_file_password' to @@GLOBAL.debug
15 ALTER INSTANCE ROTATE BINLOG MASTER KEY;
16 ERROR HY000: Failed to re-encrypt log file './slave-relay-bin.000002': failed to decrypt the file password. A new binary log master key was generated and will be used to encrypt new binary and relay log files. There may still exist binary or relay log files using the previous binary log master key.
17 # Removing debug point 'fail_to_decrypt_file_password' from @@GLOBAL.debug
18 include/assert.inc [The before relay log is encrypted using current master key with key id: 2]
19 # Adding debug point 'verify_unusable_encryption_keys_are_purged' to @@GLOBAL.debug
20 ALTER INSTANCE ROTATE BINLOG MASTER KEY;
21 # Removing debug point 'verify_unusable_encryption_keys_are_purged' from @@GLOBAL.debug
22 include/assert.inc [The after relay log is encrypted using rotated master key with key id: 3]
23 include/assert.inc [The before relay log is re-encrypted using rotated master key with key id: 3]
24 include/assert.inc [The first relay log is re-encrypted using rotated master key with key id: 3]
25 # Part 2: fail_to_open_log_file
26 # Adding debug point 'fail_to_open_log_file' to @@GLOBAL.debug
27 ALTER INSTANCE ROTATE BINLOG MASTER KEY;
28 ERROR HY000: Failed to open log file './slave-relay-bin.000004'. A new binary log master key was generated and will be used to encrypt new binary and relay log files. There may still exist binary or relay log files using the previous binary log master key.
29 # Removing debug point 'fail_to_open_log_file' from @@GLOBAL.debug
30 include/assert.inc [The before relay log is encrypted using current master key with key id: 4]
31 # Adding debug point 'verify_unusable_encryption_keys_are_purged' to @@GLOBAL.debug
32 ALTER INSTANCE ROTATE BINLOG MASTER KEY;
33 # Removing debug point 'verify_unusable_encryption_keys_are_purged' from @@GLOBAL.debug
34 include/assert.inc [The after relay log is encrypted using rotated master key with key id: 5]
35 include/assert.inc [The before relay log is re-encrypted using rotated master key with key id: 5]
36 include/assert.inc [The first relay log is re-encrypted using rotated master key with key id: 5]
37 # Part 3: fail_to_open_index_file
38 # Adding debug point 'fail_to_open_index_file' to @@GLOBAL.debug
39 ALTER INSTANCE ROTATE BINLOG MASTER KEY;
40 ERROR HY000: I/O error reading index file './slave-relay-bin.index'. A new binary log master key was generated and will be used to encrypt new binary and relay log files. There may still exist binary or relay log files using the previous binary log master key.
41 # Removing debug point 'fail_to_open_index_file' from @@GLOBAL.debug
42 include/assert.inc [The before relay log is encrypted using current master key with key id: 6]
43 # Adding debug point 'verify_unusable_encryption_keys_are_purged' to @@GLOBAL.debug
44 ALTER INSTANCE ROTATE BINLOG MASTER KEY;
45 # Removing debug point 'verify_unusable_encryption_keys_are_purged' from @@GLOBAL.debug
46 include/assert.inc [The after relay log is encrypted using rotated master key with key id: 7]
47 include/assert.inc [The before relay log is re-encrypted using rotated master key with key id: 7]
48 include/assert.inc [The first relay log is re-encrypted using rotated master key with key id: 7]
49 [connection master]
50 DROP TABLE t1;
51 include/rpl_end.inc