Skip to content

Commit

Permalink
Put one filter per line in wsrep_sst_rsync.sh
Browse files Browse the repository at this point in the history
This way it is more readable and easy to change, also if a new entry is
added or one removed, the diff will be easier to read.
  • Loading branch information
vasild authored and Jan Lindström committed Aug 3, 2018
1 parent 639bd1c commit 62e2909
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/wsrep_sst_rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,14 @@ fi
# --exclude '*.[0-9][0-9][0-9][0-9][0-9][0-9]' --exclude '*.index')

# New filter - exclude everything except dirs (schemas) and innodb files
FILTER=(-f '- /lost+found' -f '- /.fseventsd' -f '- /.Trashes'
-f '+ /wsrep_sst_binlog.tar' -f '+ /ib_lru_dump' -f '+ /ibdata*' -f '+ /*/' -f '- /*')
FILTER=(-f '- /lost+found'
-f '- /.fseventsd'
-f '- /.Trashes'
-f '+ /wsrep_sst_binlog.tar'
-f '+ /ib_lru_dump'
-f '+ /ibdata*'
-f '+ /*/'
-f '- /*')

if [ "$WSREP_SST_OPT_ROLE" = "donor" ]
then
Expand Down

0 comments on commit 62e2909

Please sign in to comment.