From dcd3a810f1690199df8e8a1fbbda474284847c16 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Wed, 6 Jan 2021 15:45:31 +0100 Subject: [PATCH] fix: [background updater] remove completed updates --- bin/update-background.py | 2 +- installing_deps.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/update-background.py b/bin/update-background.py index 838ddf7b..981545c1 100755 --- a/bin/update-background.py +++ b/bin/update-background.py @@ -34,7 +34,7 @@ def launch_background_upgrade(version, script_name): r_serv.delete('ail:current_background_script') r_serv.delete('ail:current_background_script_stat') r_serv.delete('ail:current_background_update') - r_serv.srem('ail:to_update', new_version) + r_serv.srem('ail:to_update', version) if __name__ == "__main__": diff --git a/installing_deps.sh b/installing_deps.sh index c4b1ad30..4206d48c 100755 --- a/installing_deps.sh +++ b/installing_deps.sh @@ -88,6 +88,13 @@ pushd ardb/ make popd +# KVROCKS # +# test ! -d kvrocks/ && git clone https://github.com/bitleak/kvrocks.git +# pushd kvrocks/ +# make -j4 +# popd + +# Config File if [ ! -f configs/core.cfg ]; then cp configs/core.cfg.sample configs/core.cfg fi