Skip to content

Commit

Permalink
Handle also the migration bug on 2023.08/2023.10
Browse files Browse the repository at this point in the history
The migration bug is handled only when upgrading to 2023.06.
But some users will migrate also to 2023.08/2023.10, let's handle this.

Signed-off-by: Corentin LABBE <[email protected]>
  • Loading branch information
montjoie committed Nov 17, 2023
1 parent d4167d9 commit abf118a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lava-master/entrypoint.d/01_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fi
# if we came from 2023.01 to 2023.05, we need to handle the migration bug
grep -q '2023.0[1-5]' /tmp/workerversions
if [ $? -eq 0 ];then
grep -q 2023.06 /usr/lib/python3/dist-packages/lava_common/VERSION
grep -qE '2023.0[68]|2023.10' /usr/lib/python3/dist-packages/lava_common/VERSION
if [ $? -eq 0 ];then
echo "============================="
echo "DEBUG: handle DB migration BUG"
Expand Down

0 comments on commit abf118a

Please sign in to comment.