fix(command): The vdb migrate command cannot be stopped (#27536)

This commit is contained in:
zhaobingshuang 2025-10-28 11:56:06 +08:00 committed by GitHub
parent 0e62a66cc2
commit e60a7c7143
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -321,6 +321,8 @@ def migrate_knowledge_vector_database():
)
datasets = db.paginate(select=stmt, page=page, per_page=50, max_per_page=50, error_out=False)
if not datasets.items:
break
except SQLAlchemyError:
raise