1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
#
# Test 1.a: Try starting server with TWSE=OFF and BTDT=COMMIT_ORDER. Expect SUCCESS.
#
# restart: --transaction_write_set_extraction=OFF --binlog_transaction_dependency_tracking=COMMIT_ORDER
include/assert.inc [transaction_write_set_extraction should be OFF]
include/assert.inc [binlog_transaction_dependency_tracking should be COMMIT_ORDER]
#
# Test 1.b: Try starting server with TWSE=OFF and BTDT=WRITESET. Expect FAILURE.
#
Occurrences of 'The transaction_write_set_extraction must be set to XXHASH64 or MURMUR32 when binlog_transaction_dependency_tracking is WRITESET or WRITESET_SESSION.' in the input file: 1
Occurrences of '\[ERROR\] \[[^]]*\] \[[^]]*\] Aborting' in the input file: 1
#
# Test 1.c: Try starting server with TWSE=OFF and BTDT=WRITESET_SESSION. Expect FAILURE.
#
Occurrences of 'The transaction_write_set_extraction must be set to XXHASH64 or MURMUR32 when binlog_transaction_dependency_tracking is WRITESET or WRITESET_SESSION.' in the input file: 1
Occurrences of '\[ERROR\] \[[^]]*\] \[[^]]*\] Aborting' in the input file: 1
#
# Test 1.d: Try starting server with TWSE=MURMUR32 and BTDT=COMMIT_ORDER. Expect SUCCESS.
#
# restart: --transaction_write_set_extraction=MURMUR32 --binlog_transaction_dependency_tracking=COMMIT_ORDER
include/assert.inc [transaction_write_set_extraction should be MURMUR32]
include/assert.inc [binlog_transaction_dependency_tracking should be COMMIT_ORDER]
#
# Test 1.e: Try starting server with TWSE=MURMUR32 and BTDT=WRITESET. Expect SUCCESS.
#
# restart: --transaction_write_set_extraction=MURMUR32 --binlog_transaction_dependency_tracking=WRITESET
include/assert.inc [transaction_write_set_extraction should be MURMUR32]
include/assert.inc [binlog_transaction_dependency_tracking should be WRITESET]
#
# Test 1.f: Try starting server with TWSE=MURMUR32 and BTDT=WRITESET_SESSION. Expect SUCCESS.
#
# restart: --transaction_write_set_extraction=MURMUR32 --binlog_transaction_dependency_tracking=WRITESET_SESSION
include/assert.inc [transaction_write_set_extraction should be MURMUR32]
include/assert.inc [binlog_transaction_dependency_tracking should be WRITESET_SESSION]
#
# Test 1.g: Try starting server with TWSE=XXHASH64 and BTDT=COMMIT_ORDER. Expect SUCCESS.
#
# restart: --transaction_write_set_extraction=XXHASH64 --binlog_transaction_dependency_tracking=COMMIT_ORDER
include/assert.inc [transaction_write_set_extraction should be XXHASH64]
include/assert.inc [binlog_transaction_dependency_tracking should be COMMIT_ORDER]
#
# Test 1.h: Try starting server with TWSE=XXHASH64 and BTDT=WRITESET. Expect SUCCESS
#
# restart: --transaction_write_set_extraction=XXHASH64 --binlog_transaction_dependency_tracking=WRITESET
include/assert.inc [transaction_write_set_extraction should be XXHASH64]
include/assert.inc [binlog_transaction_dependency_tracking should be WRITESET]
#
# Test 1.i: Try starting server with TWSE=XXHASH64 and BTDT=WRITESET_SESSION. Expect SUCCESS.
#
# restart: --transaction_write_set_extraction=XXHASH64 --binlog_transaction_dependency_tracking=WRITESET_SESSION
include/assert.inc [transaction_write_set_extraction should be XXHASH64]
include/assert.inc [binlog_transaction_dependency_tracking should be WRITESET_SESSION]
SET GLOBAL binlog_transaction_dependency_tracking= COMMIT_ORDER;
Warnings:
Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
SET GLOBAL transaction_write_set_extraction= SAVED_TWSE;
Warnings:
Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release.
SET GLOBAL binlog_transaction_dependency_tracking= COMMIT_ORDER;
Warnings:
Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
|