https://github.com/voldemort/voldemort
Revision 49beabbc94755af04777a1d2e8ba2c3f7d31a6c9 authored by Felix GV on 22 October 2015, 21:25:39 UTC, committed by Felix GV on 22 October 2015, 21:25:39 UTC
There are cases (i.e.: emergency situations) where we may want to chmod -w a data directory and recreating the symlinks systematically then prevents the server from being able to start up. This change inspects the symlink which is already present and avoids recreating it if it's already pointing at the right destination.
1 parent d780f55
History
Tip revision: 49beabbc94755af04777a1d2e8ba2c3f7d31a6c9 authored by Felix GV on 22 October 2015, 21:25:39 UTC
Read-Only server now avoids needlessly recreating symlinks.
Tip revision: 49beabb
File Mode Size
PREUPGRADE_FOR_1_1_X_README -rw-r--r-- 5.0 KB
generate_cluster_xml.py -rw-r--r-- 8.3 KB
rebalance-cluster-expansion.sh -rwxr-xr-x 5.3 KB
rebalance-new-zoned-cluster.sh -rwxr-xr-x 5.0 KB
rebalance-shuffle.sh -rwxr-xr-x 6.5 KB
rebalance-zone-expansion.sh -rwxr-xr-x 6.3 KB
rebalance-zone-shrinkage.sh -rwxr-xr-x 3.2 KB
repeat-junit-test.sh -rwxr-xr-x 2.8 KB
repeat-junit.sh -rwxr-xr-x 2.1 KB
run-bnp.sh -rwxr-xr-x 1.0 KB
run-class.bat -rw-r--r-- 1.4 KB
run-class.sh -rwxr-xr-x 1.3 KB
vadmin.bat -rw-r--r-- 1.0 KB
vadmin.sh -rwxr-xr-x 941 bytes
voldemort-admin-tool.bat -rw-r--r-- 902 bytes
voldemort-admin-tool.sh -rwxr-xr-x 805 bytes
voldemort-convert-bdb.bat -rw-r--r-- 1.4 KB
voldemort-convert-bdb.sh -rwxr-xr-x 1.2 KB
voldemort-coordinator-admin.sh -rwxr-xr-x 976 bytes
voldemort-coordinator.bat -rw-r--r-- 1.8 KB
voldemort-coordinator.sh -rwxr-xr-x 1.6 KB
voldemort-performance-tool.bat -rw-r--r-- 796 bytes
voldemort-performance-tool.sh -rwxr-xr-x 705 bytes
voldemort-prod-server.sh -rwxr-xr-x 1.3 KB
voldemort-server.bat -rw-r--r-- 1.4 KB
voldemort-server.sh -rwxr-xr-x 1.2 KB
voldemort-shell.bat -rw-r--r-- 1.0 KB
voldemort-shell.sh -rwxr-xr-x 862 bytes
voldemort-stop.sh -rwxr-xr-x 961 bytes
voldemort-thin-client-shell.bat -rw-r--r-- 1.0 KB
voldemort-thin-client-shell.sh -rwxr-xr-x 860 bytes

back to top