Skip to content

Commit 62e2909

Browse files
vasildJan Lindström
authored andcommitted
Put one filter per line in wsrep_sst_rsync.sh
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.
1 parent 639bd1c commit 62e2909

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/wsrep_sst_rsync.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,14 @@ fi
120120
# --exclude '*.[0-9][0-9][0-9][0-9][0-9][0-9]' --exclude '*.index')
121121

122122
# New filter - exclude everything except dirs (schemas) and innodb files
123-
FILTER=(-f '- /lost+found' -f '- /.fseventsd' -f '- /.Trashes'
124-
-f '+ /wsrep_sst_binlog.tar' -f '+ /ib_lru_dump' -f '+ /ibdata*' -f '+ /*/' -f '- /*')
123+
FILTER=(-f '- /lost+found'
124+
-f '- /.fseventsd'
125+
-f '- /.Trashes'
126+
-f '+ /wsrep_sst_binlog.tar'
127+
-f '+ /ib_lru_dump'
128+
-f '+ /ibdata*'
129+
-f '+ /*/'
130+
-f '- /*')
125131

126132
if [ "$WSREP_SST_OPT_ROLE" = "donor" ]
127133
then

0 commit comments

Comments
 (0)