Description
Hi, my team is attempting to migrate Weaviate Cloud data from version 1.25 to a 1.28 cluster. The core code of the migration script is as follows. We are using the Weaviate client v4.
When executing the migration, the following errors occur. We have tried using dynamic batch or fixed-sized batch settings with size=100
and concurrent_request=1
, but there are still a large number of errors. After multiple errors, the cluster node will directly disconnect and restart.
with collection_tgt.batch.dynamic() as batch:
for q in collection_src.iterator(include_vector=True):
batch.add_object(
properties=q.properties,
vector=q.vector[“default”],
uuid=q.uuid
)
We have 1M objects to migrate. Are there any alternative solutions to perform a safe data migration?
Server Setup Information
- Weaviate Server Version: 1.25 → 1.28
- Number of Running Nodes: 1
- Client Language and Version: python, weaviate-client v4
- Multitenancy?: No