fix: [background updater] remove completed updates

pull/549/head
Terrtia 2021-01-06 15:45:31 +01:00
parent ec0155251c
commit dcd3a810f1
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
2 changed files with 8 additions and 1 deletions

View File

@ -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')
r_serv.delete('ail:current_background_script_stat') r_serv.delete('ail:current_background_script_stat')
r_serv.delete('ail:current_background_update') 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__": if __name__ == "__main__":

View File

@ -88,6 +88,13 @@ pushd ardb/
make make
popd 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 if [ ! -f configs/core.cfg ]; then
cp configs/core.cfg.sample configs/core.cfg cp configs/core.cfg.sample configs/core.cfg
fi fi