~hrvojem/percona-xtrabackup/rn-2.1.0-beta1

« back to all changes in this revision

Viewing changes to test/t/xb_incremental_compressed_bitmap_16kb.sh

MergedĀ lp:~laurynas-biveinis/percona-xtrabackup/xb-changed-page-bitmap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Test incremental backups that use bitmaps with 16KB compressed pages
 
2
 
 
3
if [ -z "$XTRADB_VERSION" ]; then
 
4
    echo "Requires XtraDB" > $SKIPPED_REASON
 
5
    exit $SKIPPED_EXIT_CODE
 
6
fi
 
7
 
 
8
# The test is disabled for Percona XtraDB Cluster until a version
 
9
# with bitmap user requests is released (containing PS 5.5.29-30.0 
 
10
# or later)
 
11
set +e
 
12
${MYSQLD} --basedir=$MYSQL_BASEDIR --user=$USER --help --verbose --wsrep-sst-method=rsync| grep -q wsrep
 
13
probe_result=$?
 
14
if [[ "$probe_result" == "0" ]]
 
15
    then
 
16
        vlog "Incompatible test" > $SKIPPED_REASON
 
17
        exit $SKIPPED_EXIT_CODE
 
18
fi
 
19
set -e
 
20
 
 
21
mysqld_extra_args=--innodb-track-changed-pages=TRUE
 
22
first_inc_suspend_command="FLUSH CHANGED_PAGE_BITMAPS;"
 
23
 
 
24
source t/xb_incremental_compressed.inc
 
25
 
 
26
test_incremental_compressed 16
 
27
 
 
28
check_bitmap_inc_backup