Skip to content

Commit

Permalink
Fixing rpl_raft_out_of_order_raft_log test again
Browse files Browse the repository at this point in the history
Summary:
Trimming multiple white spaces to single space to
deterministically get field number of end log position.

Reviewed By: Pushapgl

Differential Revision: D29011394

fbshipit-source-id: 53fb9802886
  • Loading branch information
abhinav04sharma authored and facebook-github-bot committed Jun 10, 2021
1 parent 1deffd7 commit 0d46cc9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ let $MYSQLD_DATADIR = `select @@datadir`;
let $raft_log = query_get_value("SHOW SLAVE STATUS", "Relay_Log_File", 1);

# store offsets of last 3 Xid events in a file
exec $MYSQL_BINLOG -vvv $MYSQLD_DATADIR/$raft_log | grep Xid | cut -d' ' -f8 | tail -n3 > $MYSQLD_DATADIR/offsets;
exec $MYSQL_BINLOG -vvv $MYSQLD_DATADIR/$raft_log | grep Xid | tr -s [:blank:] | cut -d' ' -f7 | tail -n3 > $MYSQLD_DATADIR/offsets;

connection server_1;
set @sql_log_bin=0;
Expand Down

0 comments on commit 0d46cc9

Please sign in to comment.