fix: [background updater] remove completed updates

This commit is contained in:
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_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__":

View file

@ -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