Migrating data to another bucket #41396
-
Hello
Question is - does milvus rely on bucket name (and store it etcd)? Are these steps enough to migrate data to new s3 bucket, or i have to do backup + restore? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
MinIO/S3 is the major data storage of Milvus, all the original data files and index data files are stored here. Before any compaction/index/load tasks, Milvus reads the paths of segments from etcd, to know where to get the data files from minio/s3. So, the data in etcd and the data files in minio/s3 must be strongly consistent, otherwise, milvus will run into trouble. |
Beta Was this translation helpful? Give feedback.
Just confirmed, in earlier versions(2.2/2.3), there were relative paths stored in etcd. Now, ids of collection/partition/segment/field/log_file are stored in etcd, milvus reads the ids from etcd and combines the path in memory. So, theoretically, it is ok that "stop milvus, then rsync two buckets, then start milvus pointing to new bucket".