-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
storage/rocksdb/mysql-test/rocksdb_hotbackup/include/create_slocket_socket.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/bin/bash | ||
|
||
src_data_dir="${MYSQLTEST_VARDIR}/mysqld.1/data/" | ||
python -c "import socket as s; sock = s.socket(s.AF_UNIX); sock.bind('${src_data_dir}/slocket')" |
2 changes: 2 additions & 0 deletions
2
storage/rocksdb/mysql-test/rocksdb_hotbackup/include/create_table.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
COPY_LOG=$1 | ||
|
2 changes: 2 additions & 0 deletions
2
storage/rocksdb/mysql-test/rocksdb_hotbackup/include/load_data.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Insert 100 batches of 100 records each to a table with following schema: | ||
|
2 changes: 2 additions & 0 deletions
2
storage/rocksdb/mysql-test/rocksdb_hotbackup/include/load_data_and_run.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Initially loads a chunk of data. | ||
|
2 changes: 2 additions & 0 deletions
2
storage/rocksdb/mysql-test/rocksdb_hotbackup/include/load_data_slocket.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Insert 10 batches of 10 records each to a table with following schema: | ||
|
2 changes: 2 additions & 0 deletions
2
storage/rocksdb/mysql-test/rocksdb_hotbackup/include/remove_slocket_socket.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/bin/bash | ||
|
||
src_data_dir="${MYSQLTEST_VARDIR}/mysqld.1/data/" | ||
rm "${src_data_dir}/slocket" |
2 changes: 2 additions & 0 deletions
2
storage/rocksdb/mysql-test/rocksdb_hotbackup/include/setup_replication_gtid.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters