summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2017-06-20 14:29:25 +0530
committerSachin Setiya <sachin.setiya@mariadb.com>2017-06-20 14:29:25 +0530
commite8a2a751212a04e835b2b03408132ecbbab52410 (patch)
tree1cf0065e7449bcc35409901148e634be84053d71
parent9df17790f2b0199864443d8aa99e30cb10e71b20 (diff)
downloadmariadb-git-bb-sachin-11036.tar.gz
MDEV-11036 Add link wsrep_sst_rsync_wan -> wsrep_sst_rsyncbb-sachin-11036
Currently galera has capability of using delta transfer algorithm (rsync) for SST. But for using delta transfer we have change/copy wsrep_sst_rsync wsrep_sst_rsync_wan. This patch creates a symbolic link of wsrep_sst_rsync_wan to wsrep_sst_rsync.
-rw-r--r--.gitignore1
-rw-r--r--debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in1
-rw-r--r--scripts/CMakeLists.txt16
3 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 4e3d2a1e66e..b00f7dd5643 100644
--- a/.gitignore
+++ b/.gitignore
@@ -116,6 +116,7 @@ scripts/mytop
scripts/wsrep_sst_common
scripts/wsrep_sst_mysqldump
scripts/wsrep_sst_rsync
+scripts/wsrep_sst_rsync_wan
scripts/wsrep_sst_xtrabackup
scripts/wsrep_sst_xtrabackup-v2
sql-bench/bench-count-distinct
diff --git a/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in b/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in
index f921759fa84..ccfc7350ed0 100644
--- a/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in
+++ b/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in
@@ -44,6 +44,7 @@ usr/bin/resolveip
usr/bin/wsrep_sst_common
usr/bin/wsrep_sst_mysqldump
usr/bin/wsrep_sst_rsync
+usr/bin/wsrep_sst_rsync_wan
usr/bin/wsrep_sst_xtrabackup
usr/bin/wsrep_sst_xtrabackup-v2
usr/share/doc/mariadb-galera-server-5.5/mysqld.sym.gz
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index eacb516d618..da4f0d9b3bb 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -374,6 +374,22 @@ ELSE()
COMPONENT ${${file}_COMPONENT}
)
ENDFOREACH()
+ SET (wsrep_sst_rsync_wan ${CMAKE_CURRENT_BINARY_DIR}/wsrep_sst_rsync_wan)
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${wsrep_sst_rsync_wan}
+ COMMAND ${CMAKE_COMMAND} ARGS -E create_symlink
+ wsrep_sst_rsync
+ wsrep_sst_rsync_wan
+ )
+ ADD_CUSTOM_TARGET(symlink_wsrep_sst_rsync
+ ALL
+ DEPENDS ${wsrep_sst_rsync_wan}
+ )
+ INSTALL(
+ FILES ${wsrep_sst_rsync_wan}
+ DESTINATION ${INSTALL_BINDIR}
+ COMPONENT Server
+ )
ENDIF()
# Install libgcc as mylibgcc.a