Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: After backup\restore no rows in collections #479

Closed
dmitryzykov opened this issue Dec 13, 2024 · 10 comments
Closed

[Bug]: After backup\restore no rows in collections #479

dmitryzykov opened this issue Dec 13, 2024 · 10 comments

Comments

@dmitryzykov
Copy link

dmitryzykov commented Dec 13, 2024

Current Behavior

We have DB with 5 collections and 5 rows in each collection, after backup\restore we can't see rows in restored cluster.

Expected Behavior

We expect to see the same rows after restore as in the source cluster

Steps To Reproduce

We have two just deployed milvus clusters with latest milvus version: source and destination

0. Scripts

0.1. Create DB python script:

### RUN THIS IN PYTHON
# Import python modules
import numpy as np
import random
import string
from pymilvus import connections, db, utility, Collection, FieldSchema, DataType, CollectionSchema



### CREATE A DATABASE WITH RANDOM DATA ###

db_name='test_db'

print("Connecting to Milvus server 0.0.0.0:19530 ...")
connections.connect(host="0.0.0.0",port="19530",alias="default")

print(f"Creating database {db_name} if it doesn't exist ...")
if not db_name in db.list_database():
 db.create_database(db_name)
 print(f"Database {db_name} created")
else:
 print(f"Database {db_name} already exists")
print("")

print(f"Connecting to database {db_name} ...")
connections.connect(host="0.0.0.0",port="19530",alias=db_name)

print(f"Collecting database info ...")
existing_collections = utility.list_collections(using=db_name)
if existing_collections:
 for existing_collection in existing_collections:
  ec = Collection(existing_collection,using=db_name)
  print(f"Existing collection {ec.name} has {ec.num_entities} rows")
 print("")
else:
 print("No collections exist")
print("")

num_collections = 5
print(f"Creating {num_collections} new collections in database {db_name} ...")
collections = []
primary_key = FieldSchema(name="id",dtype=DataType.INT64,is_primary=True)
vector = FieldSchema(name="vector",dtype=DataType.FLOAT_VECTOR,dim=768)
schema = CollectionSchema(fields = [primary_key, vector])
index_params = {"index_type": "IVF_FLAT","metric_type": "IP","params": {"nlist": 128}}
for i in range(num_collections):
 collection_name = 'test_col_' + ''.join(random.choice(string.ascii_lowercase) for i in range(7))
 collection = Collection(name=collection_name,schema=schema,using=db_name)
 collection.create_index(field_name="id")
 collection.create_index(field_name="vector",index_params=index_params,timeout=None)
 collections.append(collection)
 print(f"Collection {collection_name} created")

num_rows = 20
print(f"Inserting {num_rows} new random data rows into new collections ...")
for collection in collections:
 data = []
 for i in range(num_rows):
  data.append({"id": i, "vector": np.random.random(768)})
 collection.insert(data)
 collection.flush()
 print(f"{num_rows} rows inserted into collection {collection.name}")
print("Done")

0.2. Check DB python script:

from pymilvus import connections, db, utility, Collection

db_name = 'test_db'

print("Connecting to Milvus server 0.0.0.0:19530 ...")
connections.connect(host="0.0.0.0",port="19530",alias="default")

print(f"Checking if database {db_name} exists ...")
if db_name in db.list_database():
 print(f"Database {db_name} exists")
else:
 print(f"Database {db_name} does NOT exist")
 exit(1)

print(f"Connecting to database {db_name} ...")
connections.connect(host="0.0.0.0",port="19530",alias=db_name)

collection_names = utility.list_collections(using=db_name)
print(f"Database {db_name} has {len(collection_names)} collections in it")
for collection_name in collection_names:
 c=Collection(collection_name,using=db_name)
 print(f"Collection {c.name} has {c.num_entities} rows in it")

1. Checking source before backup, which shows DB test_db has 5 collections in it with 5 rows in each

Connecting to Milvus server 127.0.0.1:19530 ...
Checking if database test_db exists ...
Database test_db exists
Connecting to database test_db ...
Database test_db has 5 collections in it
Collection test_col_vmymifi has 5 rows in it
Collection test_col_ihroxqt has 5 rows in it
Collection test_col_wnzevip has 5 rows in it
Collection test_col_ybosnxc has 5 rows in it
Collection test_col_yzpbkct has 5 rows in it

2 Creating backup at source cluster:

/app # ./milvus-backup create -n milvus_backup_13_dec_2024
v0.4.27 (Built on 2024-12-05T07:24:21Z from Git SHA e22a744)
config:backup.yaml
[2024/12/13 21:33:51.500 +00:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/12/13 21:33:51.500 +00:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/12/13 21:33:51.500 +00:00] [INFO] [core/backup_impl_create_backup.go:32] ["receive CreateBackupRequest"] [requestId=f21eb7e3-b999-11ef-a752-ea79d4b8553b] [backupName=milvus_backup_13_dec_2024] [collections="[]"] [databaseCollections=] [async=false] [force=false] [metaOnly=false]
[2024/12/13 21:33:51.501 +00:00] [INFO] [core/backup_context.go:117] ["{Base:0xc0002cfb80 MaxSegmentGroupSize:2147483648 BackupCollectionParallelism:4 BackupCopyDataParallelism:128 RestoreParallelism:2 KeepTempFiles:false GcPauseEnable:true GcPauseSeconds:7200 GcPauseAddress:http://localhost:9091}"]
[2024/12/13 21:33:51.501 +00:00] [INFO] [core/backup_context.go:118] ["{Base:0xc0002cfb80 Enabled:true DebugMode:false SimpleResponse:true}"]
[2024/12/13 21:33:52.603 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-backup] [root=backup]
[2024/12/13 21:33:53.071 +00:00] [WARN] [core/backup_impl_create_backup.go:629] ["Pause Milvus GC Error:This warn won't fail the backup process. Pause GC can protect data not to be GCed during backup, it is necessary to backup very large data(cost more than a hour)."] [error="Get \http://localhost:9091/management/datacoord/garbage_collection/pause?pause_seconds=7200\: dial tcp [::1]:9091: connect: connection refused"]
[2024/12/13 21:33:53.083 +00:00] [INFO] [core/backup_impl_create_backup.go:695] ["collections to backup"] [collections="[test_db.test_col_vmymifi,test_db.test_col_ihroxqt,test_db.test_col_wnzevip,test_db.test_col_ybosnxc,test_db.test_col_yzpbkct]"]
[2024/12/13 21:33:53.083 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_vmymifi]
[2024/12/13 21:33:53.085 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_wnzevip]
[2024/12/13 21:33:53.085 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_ihroxqt]
[2024/12/13 21:33:53.086 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_vmymifi]
[2024/12/13 21:33:53.087 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_ybosnxc]
[2024/12/13 21:33:53.100 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_vmymifi] [field_name=id] ["index info"="[{}]"]
[2024/12/13 21:33:53.104 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_vmymifi] [field_name=vector] ["index info"="[{}]"]
[2024/12/13 21:33:53.107 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_ybosnxc]
[2024/12/13 21:33:53.110 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_ihroxqt]
[2024/12/13 21:33:53.112 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_wnzevip]
[2024/12/13 21:33:53.124 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ybosnxc] [field_name=id] ["index info"="[{}]"]
[2024/12/13 21:33:53.130 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ihroxqt] [field_name=id] ["index info"="[{}]"]
[2024/12/13 21:33:53.135 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_wnzevip] [field_name=id] ["index info"="[{}]"]
[2024/12/13 21:33:53.147 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ybosnxc] [field_name=vector] ["index info"="[{}]"]
[2024/12/13 21:33:53.151 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ihroxqt] [field_name=vector] ["index info"="[{}]"]
[2024/12/13 21:33:53.155 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_wnzevip] [field_name=vector] ["index info"="[{}]"]
[2024/12/13 21:33:53.160 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_vmymifi] [segmentNumBeforeFlush=1]
[2024/12/13 21:33:53.180 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_vmymifi] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145510326]"] [timeOfSeal=1734125633] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_0_454569269145110215v0\":{\"channel_name\":\"by-dev-rootcoord-dml_0_454569269145110215v0\",\"msgID\":\"WjCKfWz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_0_454569269145110215v0-true\",\"timestamp\":454590623974948865}}"]
[2024/12/13 21:33:53.192 +00:00] [INFO] [core/backup_impl_create_backup.go:430] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_vmymifi] [segmentIDsBeforeFlush="[454569269145510326]"] [segmentIDsAfterFlush="[454569269145510326]"] [newL0SegmentsIDs="[]"]
[2024/12/13 21:33:53.192 +00:00] [INFO] [core/backup_impl_create_backup.go:525] ["finish build partition info"] [collectionName=test_col_vmymifi] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/13 21:33:53.192 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_yzpbkct]
[2024/12/13 21:33:53.195 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [segmentNumBeforeFlush=1]
[2024/12/13 21:33:53.197 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [segmentNumBeforeFlush=1]
[2024/12/13 21:33:53.200 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_wnzevip] [segmentNumBeforeFlush=1]
[2024/12/13 21:33:53.202 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_yzpbkct]
[2024/12/13 21:33:53.206 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145511617]"] [timeOfSeal=1734125633] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_3_454569269145110270v0\":{\"channel_name\":\"by-dev-rootcoord-dml_3_454569269145110270v0\",\"msgID\":\"SjCGr2z0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_3_454569269145110270v0-true\",\"timestamp\":454590623974948865}}"]
[2024/12/13 21:33:53.209 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145510753]"] [timeOfSeal=1734125633] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_1_454569269145110233v0\":{\"channel_name\":\"by-dev-rootcoord-dml_1_454569269145110233v0\",\"msgID\":\"VTBejmz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_1_454569269145110233v0-true\",\"timestamp\":454590623974948865}}"]
[2024/12/13 21:33:53.214 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_wnzevip] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145511184]"] [timeOfSeal=1734125633] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_2_454569269145110252v0\":{\"channel_name\":\"by-dev-rootcoord-dml_2_454569269145110252v0\",\"msgID\":\"TzD6nmz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_2_454569269145110252v0-true\",\"timestamp\":454590623974948865}}"]
[2024/12/13 21:33:53.218 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_yzpbkct] [field_name=id] ["index info"="[{}]"]
[2024/12/13 21:33:53.220 +00:00] [INFO] [core/backup_impl_create_backup.go:430] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [segmentIDsBeforeFlush="[454569269145511617]"] [segmentIDsAfterFlush="[454569269145511617]"] [newL0SegmentsIDs="[]"]
[2024/12/13 21:33:53.220 +00:00] [INFO] [core/backup_impl_create_backup.go:525] ["finish build partition info"] [collectionName=test_col_ybosnxc] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/13 21:33:53.224 +00:00] [INFO] [core/backup_impl_create_backup.go:430] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [segmentIDsBeforeFlush="[454569269145510753]"] [segmentIDsAfterFlush="[454569269145510753]"] [newL0SegmentsIDs="[]"]
[2024/12/13 21:33:53.224 +00:00] [INFO] [core/backup_impl_create_backup.go:525] ["finish build partition info"] [collectionName=test_col_ihroxqt] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/13 21:33:53.227 +00:00] [INFO] [core/backup_impl_create_backup.go:430] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_wnzevip] [segmentIDsBeforeFlush="[454569269145511184]"] [segmentIDsAfterFlush="[454569269145511184]"] [newL0SegmentsIDs="[]"]
[2024/12/13 21:33:53.227 +00:00] [INFO] [core/backup_impl_create_backup.go:525] ["finish build partition info"] [collectionName=test_col_wnzevip] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/13 21:33:53.231 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_yzpbkct] [field_name=vector] ["index info"="[{}]"]
[2024/12/13 21:33:53.247 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [segmentNumBeforeFlush=1]
[2024/12/13 21:33:53.251 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145512044]"] [timeOfSeal=1734125633] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_4_454569269145110288v0\":{\"channel_name\":\"by-dev-rootcoord-dml_4_454569269145110288v0\",\"msgID\":\"RTAqwGz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_4_454569269145110288v0-true\",\"timestamp\":454590623974948865}}"]
[2024/12/13 21:33:53.253 +00:00] [INFO] [core/backup_impl_create_backup.go:430] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [segmentIDsBeforeFlush="[454569269145512044]"] [segmentIDsAfterFlush="[454569269145512044]"] [newL0SegmentsIDs="[]"]
[2024/12/13 21:33:53.253 +00:00] [INFO] [core/backup_impl_create_backup.go:525] ["finish build partition info"] [collectionName=test_col_yzpbkct] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/13 21:33:53.253 +00:00] [INFO] [core/backup_impl_create_backup.go:729] ["Finish prepare all collections meta"]
[2024/12/13 21:33:53.253 +00:00] [INFO] [core/backup_impl_create_backup.go:734] ["before backupCollectionExecute"] [collectionID=454569269145110252] [collection=test_col_wnzevip]
[2024/12/13 21:33:53.254 +00:00] [INFO] [core/backup_impl_create_backup.go:734] ["before backupCollectionExecute"] [collectionID=454569269145110288] [collection=test_col_yzpbkct]
[2024/12/13 21:33:53.254 +00:00] [INFO] [core/backup_impl_create_backup.go:734] ["before backupCollectionExecute"] [collectionID=454569269145110215] [collection=test_col_vmymifi]
[2024/12/13 21:33:53.254 +00:00] [INFO] [core/backup_impl_create_backup.go:734] ["before backupCollectionExecute"] [collectionID=454569269145110270] [collection=test_col_ybosnxc]
[2024/12/13 21:33:53.254 +00:00] [INFO] [core/backup_impl_create_backup.go:734] ["before backupCollectionExecute"] [collectionID=454569269145110233] [collection=test_col_ihroxqt]
[2024/12/13 21:33:53.254 +00:00] [INFO] [core/backup_impl_create_backup.go:540] [backupCollectionExecute] [collectionMeta="id:\"f21eb7e3-b999-11ef-a752-ea79d4b8553b\" start_time:1734125633 collection_id:454569269145110288 db_name:\"test_db\" collection_name:\"test_col_yzpbkct\" schema:<name:\"test_col_yzpbkct\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454590623974948865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734125633 channel_checkpoints:<key:\"by-dev-rootcoord-dml_4_454569269145110288v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwEghFMCrAbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwLXRydWUggYCAorn4wacG\" > "]
[2024/12/13 21:33:53.255 +00:00] [INFO] [core/backup_impl_create_backup.go:540] [backupCollectionExecute] [collectionMeta="id:\"f21eb7e3-b999-11ef-a752-ea79d4b8553b\" start_time:1734125633 collection_id:454569269145110252 db_name:\"test_db\" collection_name:\"test_col_wnzevip\" schema:<name:\"test_col_wnzevip\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454590623974948865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734125633 channel_checkpoints:<key:\"by-dev-rootcoord-dml_2_454569269145110252v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwEghPMPqebPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwLXRydWUggYCAorn4wacG\" > "]
[2024/12/13 21:33:53.256 +00:00] [INFO] [core/backup_impl_create_backup.go:540] [backupCollectionExecute] [collectionMeta="id:\"f21eb7e3-b999-11ef-a752-ea79d4b8553b\" start_time:1734125633 collection_id:454569269145110270 db_name:\"test_db\" collection_name:\"test_col_ybosnxc\" schema:<name:\"test_col_ybosnxc\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454590623974948865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734125633 channel_checkpoints:<key:\"by-dev-rootcoord-dml_3_454569269145110270v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwEghKMIavbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwLXRydWUggYCAorn4wacG\" > "]
[2024/12/13 21:33:53.257 +00:00] [INFO] [core/backup_impl_create_backup.go:540] [backupCollectionExecute] [collectionMeta="id:\"f21eb7e3-b999-11ef-a752-ea79d4b8553b\" start_time:1734125633 collection_id:454569269145110215 db_name:\"test_db\" collection_name:\"test_col_vmymifi\" schema:<name:\"test_col_vmymifi\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454590623974948865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734125633 channel_checkpoints:<key:\"by-dev-rootcoord-dml_0_454569269145110215v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwEghaMIp9bPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwLXRydWUggYCAorn4wacG\" > "]
[2024/12/13 21:33:53.988 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/13 21:33:54.085 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/13 21:33:54.109 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/13 21:33:54.212 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/13 21:33:54.248 +00:00] [INFO] [core/backup_impl_create_backup.go:575] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_ybosnxc] [collectionID=454569269145110270] [partitionID=454569269145110271]
[2024/12/13 21:33:54.248 +00:00] [INFO] [core/backup_impl_create_backup.go:828] ["copy segment"] [collection_id=454569269145110270] [partition_id=454569269145110271] [segment_id=454569269145511617] [group_id=454569269145511617] [backupBinlogPath=backup/milvus_backup_13_dec_2024/binlogs]
[2024/12/13 21:33:54.248 +00:00] [INFO] [core/backup_impl_create_backup.go:615] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_ybosnxc]
[2024/12/13 21:33:54.249 +00:00] [INFO] [core/backup_impl_create_backup.go:540] [backupCollectionExecute] [collectionMeta="id:\"f21eb7e3-b999-11ef-a752-ea79d4b8553b\" start_time:1734125633 collection_id:454569269145110233 db_name:\"test_db\" collection_name:\"test_col_ihroxqt\" schema:<name:\"test_col_ihroxqt\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454590623974948865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734125633 channel_checkpoints:<key:\"by-dev-rootcoord-dml_1_454569269145110233v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwEghVMF6ObPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwLXRydWUggYCAorn4wacG\" > "]
[2024/12/13 21:33:54.273 +00:00] [INFO] [core/backup_impl_create_backup.go:575] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_vmymifi] [collectionID=454569269145110215] [partitionID=454569269145110216]
[2024/12/13 21:33:54.291 +00:00] [INFO] [core/backup_impl_create_backup.go:828] ["copy segment"] [collection_id=454569269145110215] [partition_id=454569269145110216] [segment_id=454569269145510326] [group_id=454569269145510326] [backupBinlogPath=backup/milvus_backup_13_dec_2024/binlogs]
[2024/12/13 21:33:54.292 +00:00] [INFO] [core/backup_impl_create_backup.go:615] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_vmymifi]
[2024/12/13 21:33:54.316 +00:00] [INFO] [core/backup_impl_create_backup.go:575] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_wnzevip] [collectionID=454569269145110252] [partitionID=454569269145110253]
[2024/12/13 21:33:54.332 +00:00] [INFO] [core/backup_impl_create_backup.go:828] ["copy segment"] [collection_id=454569269145110252] [partition_id=454569269145110253] [segment_id=454569269145511184] [group_id=454569269145511184] [backupBinlogPath=backup/milvus_backup_13_dec_2024/binlogs]
[2024/12/13 21:33:54.332 +00:00] [INFO] [core/backup_impl_create_backup.go:615] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_wnzevip]
[2024/12/13 21:33:54.370 +00:00] [INFO] [core/backup_impl_create_backup.go:575] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_ihroxqt] [collectionID=454569269145110233] [partitionID=454569269145110234]
[2024/12/13 21:33:54.382 +00:00] [INFO] [core/backup_impl_create_backup.go:828] ["copy segment"] [collection_id=454569269145110233] [partition_id=454569269145110234] [segment_id=454569269145510753] [group_id=454569269145510753] [backupBinlogPath=backup/milvus_backup_13_dec_2024/binlogs]
[2024/12/13 21:33:54.383 +00:00] [INFO] [core/backup_impl_create_backup.go:615] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_ihroxqt]
[2024/12/13 21:33:54.468 +00:00] [INFO] [core/backup_impl_create_backup.go:575] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_yzpbkct] [collectionID=454569269145110288] [partitionID=454569269145110289]
[2024/12/13 21:33:54.483 +00:00] [INFO] [core/backup_impl_create_backup.go:828] ["copy segment"] [collection_id=454569269145110288] [partition_id=454569269145110289] [segment_id=454569269145512044] [group_id=454569269145512044] [backupBinlogPath=backup/milvus_backup_13_dec_2024/binlogs]
[2024/12/13 21:33:54.484 +00:00] [INFO] [core/backup_impl_create_backup.go:615] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_yzpbkct]
[2024/12/13 21:33:54.484 +00:00] [INFO] [core/backup_meta_manager.go:501] ["Get backup"] [state=BACKUP_SUCCESS] [backupedSize=0] [totalSize=0] [progress=100]
[2024/12/13 21:33:55.814 +00:00] [INFO] [core/backup_impl_create_backup.go:815] ["finish writeBackupInfoMeta"] [path=backup/milvus_backup_13_dec_2024/] [backupName=milvus_backup_13_dec_2024] ["backup meta"="{\"id\":\"f21eb7e3-b999-11ef-a752-ea79d4b8553b\",\"state_code\":2,\"start_time\":1734125633070,\"end_time\":1734125634484,\"progress\":100,\"name\":\"milvus_backup_13_dec_2024\",\"size\":0,\"milvus_version\":\"v2.5.0-beta\"}"]
[2024/12/13 21:33:55.814 +00:00] [INFO] [core/backup_impl_create_backup.go:772] ["finish backup all collections"] [requestId=f21eb7e3-b999-11ef-a752-ea79d4b8553b] [backupName=milvus_backup_13_dec_2024] [collections="[]"] [async=false]
[2024/12/13 21:33:55.815 +00:00] [WARN] [core/backup_impl_create_backup.go:647] ["Resume Milvus GC Error:This warn won't fail the backup process. Pause GC can protect data not to be GCed during backup, it is necessary to backup very large data(cost more than a hour)."] [error="Get \http://localhost:9091/management/datacoord/garbage_collection/resume\: dial tcp [::1]:9091: connect: connection refused"]
success
duration:4 s

3. Restoring backup at destination cluster

/app # ./milvus-backup restore --restore_index  -n milvus_backup_13_dec_2024
v0.4.27 (Built on 2024-12-05T07:24:21Z from Git SHA e22a744)
[2024/12/13 21:36:58.811 +00:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/12/13 21:36:58.811 +00:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/12/13 21:36:58.812 +00:00] [INFO] [cmd/restore.go:47] ["restore cmd input args"] [args="[]"]
[2024/12/13 21:36:58.812 +00:00] [INFO] [core/backup_impl_restore_backup.go:31] ["receive RestoreBackupRequest"] [requestId=61c42932-b99a-11ef-a394-826b715b9a76] [backupName=milvus_backup_13_dec_2024] [onlyMeta=false] [restoreIndex=true] [useAutoIndex=false] [dropExistCollection=false] [dropExistIndex=false] [skipCreateCollection=false] [collections="[]"] [CollectionSuffix=] [CollectionRenames={}] [async=false] [bucketName=] [path=] [databaseCollections=] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:36:58.812 +00:00] [INFO] [core/backup_context.go:117] ["{Base:0xc0000e0b00 MaxSegmentGroupSize:2147483648 BackupCollectionParallelism:4 BackupCopyDataParallelism:128 RestoreParallelism:2 KeepTempFiles:false GcPauseEnable:true GcPauseSeconds:7200 GcPauseAddress:http://localhost:9091}"]
[2024/12/13 21:36:58.812 +00:00] [INFO] [core/backup_context.go:118] ["{Base:0xc0000e0b00 Enabled:true DebugMode:false SimpleResponse:true}"]
[2024/12/13 21:36:58.812 +00:00] [INFO] [core/backup_context.go:308] ["receive GetBackupRequest"] [requestId=61c4335f-b99a-11ef-a394-826b715b9a76] [backupName=milvus_backup_13_dec_2024] [backupId=] [bucketName=] [path=]
[2024/12/13 21:36:58.869 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-backup] [root=backup]
[2024/12/13 21:36:58.958 +00:00] [INFO] [core/backup_context.go:385] ["finish GetBackupRequest"] [requestId=61c4335f-b99a-11ef-a394-826b715b9a76] [backupName=milvus_backup_13_dec_2024] [backupId=] [bucketName=] [path=]
[2024/12/13 21:36:58.958 +00:00] [INFO] [core/backup_impl_restore_backup.go:202] ["Collections to restore"] [collection_num=5]
[2024/12/13 21:36:58.971 +00:00] [INFO] [core/backup_impl_restore_backup.go:269] ["create database"] [database=test_db]
[2024/12/13 21:36:59.001 +00:00] [INFO] [core/backup_impl_restore_backup.go:358] ["Start collection level restore pool"] [parallelism=2]
[2024/12/13 21:36:59.002 +00:00] [INFO] [core/backup_impl_restore_backup.go:362] ["executeRestoreBackupTask start"] [backup_name=milvus_backup_13_dec_2024] [backupBucketName=pcz-milvus-backup] [backupPath=backup/milvus_backup_13_dec_2024]
[2024/12/13 21:36:59.003 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/milvus_backup_13_dec_2024]
[2024/12/13 21:36:59.003 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/13 21:36:59.004 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/milvus_backup_13_dec_2024]
[2024/12/13 21:36:59.004 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/13 21:36:59.053 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/13 21:36:59.053 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/13 21:36:59.053 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:36:59.072 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/13 21:36:59.072 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/13 21:36:59.073 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:36:59.131 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/13 21:36:59.131 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:36:59.138 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/13 21:36:59.138 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:36:59.281 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-b] [root=file]
[2024/12/13 21:36:59.282 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/13 21:36:59.287 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/13 21:36:59.287 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110215/454569269145110216/454569269145510326]
[2024/12/13 21:36:59.287 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110215/454569269145110216/454569269145510326]"] [copyDataPath=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_vmymifi/]
[2024/12/13 21:36:59.293 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-b] [root=file]
[2024/12/13 21:36:59.293 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/13 21:36:59.298 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/13 21:36:59.313 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110270/454569269145110271/454569269145511617]
[2024/12/13 21:36:59.313 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110270/454569269145110271/454569269145511617]"] [copyDataPath=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_ybosnxc/]
[2024/12/13 21:36:59.313 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_vmymifi] [partition=_default] [files="[restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_vmymifi/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110215/454569269145110216/454569269145510326/]"] [endTime=454590623974948865]
[2024/12/13 21:36:59.354 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_ybosnxc] [partition=_default] [files="[restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_ybosnxc/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110270/454569269145110271/454569269145511617/]"] [endTime=454590623974948865]
[2024/12/13 21:36:59.394 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169982] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=0] [currentTimestamp=1734125819] [lastUpdateTime=1734125819]
[2024/12/13 21:36:59.495 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169987] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=0] [currentTimestamp=1734125819] [lastUpdateTime=1734125819]
[2024/12/13 21:37:04.423 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169982] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"40\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=40] [currentTimestamp=1734125824] [lastUpdateTime=1734125819]
[2024/12/13 21:37:04.524 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169987] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"40\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=40] [currentTimestamp=1734125824] [lastUpdateTime=1734125819]
[2024/12/13 21:37:09.446 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169982] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=70] [currentTimestamp=1734125829] [lastUpdateTime=1734125824]
[2024/12/13 21:37:09.547 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169987] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=70] [currentTimestamp=1734125829] [lastUpdateTime=1734125824]
[2024/12/13 21:37:14.469 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169982] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"90\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=90] [currentTimestamp=1734125834] [lastUpdateTime=1734125829]
[2024/12/13 21:37:14.569 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169987] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"90\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=90] [currentTimestamp=1734125834] [lastUpdateTime=1734125829]
[2024/12/13 21:37:19.515 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169982] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=100] [currentTimestamp=1734125839] [lastUpdateTime=1734125834]
[2024/12/13 21:37:19.515 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_vmymifi/]
[2024/12/13 21:37:19.525 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_vmymifi] [size=0]
[2024/12/13 21:37:19.525 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/milvus_backup_13_dec_2024]
[2024/12/13 21:37:19.525 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/13 21:37:19.570 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/13 21:37:19.570 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/13 21:37:19.570 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:37:19.572 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056169987] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125819}"] [progress=100] [currentTimestamp=1734125839] [lastUpdateTime=1734125834]
[2024/12/13 21:37:19.572 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_ybosnxc/]
[2024/12/13 21:37:19.579 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/13 21:37:19.579 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:37:19.579 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_ybosnxc] [size=0]
[2024/12/13 21:37:19.579 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/milvus_backup_13_dec_2024]
[2024/12/13 21:37:19.579 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/13 21:37:19.589 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/13 21:37:19.592 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/13 21:37:19.593 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110233/454569269145110234/454569269145510753]
[2024/12/13 21:37:19.593 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110233/454569269145110234/454569269145510753]"] [copyDataPath=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_ihroxqt/]
[2024/12/13 21:37:19.601 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_ihroxqt] [partition=_default] [files="[restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_ihroxqt/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110233/454569269145110234/454569269145510753/]"] [endTime=454590623974948865]
[2024/12/13 21:37:19.615 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/13 21:37:19.615 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/13 21:37:19.615 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:37:19.625 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/13 21:37:19.625 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:37:19.632 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170125] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=0] [currentTimestamp=1734125839] [lastUpdateTime=1734125839]
[2024/12/13 21:37:19.665 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/13 21:37:19.668 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/13 21:37:19.687 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110252/454569269145110253/454569269145511184]
[2024/12/13 21:37:19.687 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110252/454569269145110253/454569269145511184]"] [copyDataPath=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_wnzevip/]
[2024/12/13 21:37:19.708 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_wnzevip] [partition=_default] [files="[restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_wnzevip/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110252/454569269145110253/454569269145511184/]"] [endTime=454590623974948865]
[2024/12/13 21:37:19.828 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170134] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=0] [currentTimestamp=1734125839] [lastUpdateTime=1734125839]
[2024/12/13 21:37:24.660 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170125] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=70] [currentTimestamp=1734125844] [lastUpdateTime=1734125839]
[2024/12/13 21:37:24.864 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170134] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"40\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=40] [currentTimestamp=1734125844] [lastUpdateTime=1734125839]
[2024/12/13 21:37:29.709 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170125] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=70] [currentTimestamp=1734125849] [lastUpdateTime=1734125844]
[2024/12/13 21:37:29.911 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170134] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=70] [currentTimestamp=1734125849] [lastUpdateTime=1734125844]
[2024/12/13 21:37:34.748 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170125] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=100] [currentTimestamp=1734125854] [lastUpdateTime=1734125849]
[2024/12/13 21:37:34.749 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_ihroxqt/]
[2024/12/13 21:37:34.758 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_ihroxqt] [size=0]
[2024/12/13 21:37:34.758 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/milvus_backup_13_dec_2024]
[2024/12/13 21:37:34.758 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/13 21:37:34.791 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/13 21:37:34.791 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/13 21:37:34.791 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:37:34.801 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/13 21:37:34.801 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/13 21:37:34.810 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/13 21:37:34.813 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/13 21:37:34.829 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110288/454569269145110289/454569269145512044]
[2024/12/13 21:37:34.829 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110288/454569269145110289/454569269145512044]"] [copyDataPath=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_yzpbkct/]
[2024/12/13 21:37:34.849 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_yzpbkct] [partition=_default] [files="[restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_yzpbkct/milvus_backup_13_dec_2024/binlogs/delta_log/454569269145110288/454569269145110289/454569269145512044/]"] [endTime=454590623974948865]
[2024/12/13 21:37:34.950 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170134] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125839}"] [progress=100] [currentTimestamp=1734125854] [lastUpdateTime=1734125849]
[2024/12/13 21:37:34.950 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_wnzevip/]
[2024/12/13 21:37:34.950 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170237] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125854}"] [progress=0] [currentTimestamp=1734125854] [lastUpdateTime=1734125854]
[2024/12/13 21:37:34.957 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_wnzevip] [size=0]
[2024/12/13 21:37:39.953 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170237] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"10\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125854}"] [progress=10] [currentTimestamp=1734125859] [lastUpdateTime=1734125854]
[2024/12/13 21:37:44.960 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170237] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125854}"] [progress=70] [currentTimestamp=1734125864] [lastUpdateTime=1734125859]
[2024/12/13 21:37:49.962 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170237] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"80\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125854}"] [progress=80] [currentTimestamp=1734125869] [lastUpdateTime=1734125864]
[2024/12/13 21:37:54.965 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313056170237] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734125854}"] [progress=100] [currentTimestamp=1734125874] [lastUpdateTime=1734125869]
[2024/12/13 21:37:54.967 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_13_21_36_58_958422419-test_db-test_col_yzpbkct/]
[2024/12/13 21:37:54.976 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_yzpbkct] [size=0]
[2024/12/13 21:37:54.977 +00:00] [INFO] [core/backup_impl_restore_backup.go:405] ["finish restore all collections"] [backupName=milvus_backup_13_dec_2024] [collections=5] [taskID=restore_2024_12_13_21_36_58_958422419] ["duration in seconds"=56]

4. Checking destination after restore shows 0 rows:

Connecting to Milvus server 127.0.0.1:19530 ...
Checking if database test_db exists ...
Database test_db exists
Connecting to database test_db ...
Database test_db has 5 collections in it
Collection test_col_ybosnxc has 0 rows in it
Collection test_col_yzpbkct has 0 rows in it
Collection test_col_vmymifi has 0 rows in it
Collection test_col_ihroxqt has 0 rows in it
Collection test_col_wnzevip has 0 rows in it

Environment

milvus: 2.5.0-beta
Milvus helm chart: 4.2.32
milvus backup: v0.4.27
@huanghaoyuanhhy
Copy link
Collaborator

Thank you for reporting the issue!
After investigating, we found that this is related to the problem described in issue #478 . We have identified the cause and released a new version that addresses the issue.

Please try updating to the latest release, and let us know if you're still encountering any problems with missing rows during data restoration. We're here to help!

@dmitryzykov
Copy link
Author

@huanghaoyuanhhy

I tested with new version:
milvus-backup:v0.4.28
milvus:v2.5.0-beta
but issue still exist.

I tried from scratch recreate backup and restore, still in restored cluster 0 rows in collections.

/app # ./milvus-backup restore -n backup_2024_12_18_22_59_10_344496746 --restore_index
v0.4.28 (Built on 2024-12-18T03:43:07Z from Git SHA 6b29a3a)
[2024/12/18 23:01:28.768 +00:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/12/18 23:01:28.768 +00:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/12/18 23:01:28.768 +00:00] [INFO] [cmd/restore.go:47] ["restore cmd input args"] [args="[]"]
[2024/12/18 23:01:28.769 +00:00] [INFO] [core/backup_impl_restore_backup.go:31] ["receive RestoreBackupRequest"] [requestId=03c2ee90-bd94-11ef-b400-7ed08ec730e6] [backupName=backup_2024_12_18_22_59_10_344496746] [onlyMeta=false] [restoreIndex=true] [useAutoIndex=false] [dropExistCollection=false] [dropExistIndex=false] [skipCreateCollection=false] [collections="[]"] [CollectionSuffix=] [CollectionRenames={}] [async=false] [bucketName=] [path=] [databaseCollections=] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:28.769 +00:00] [INFO] [core/backup_context.go:117] ["{Base:0xc0002d3b80 MaxSegmentGroupSize:2147483648 BackupCollectionParallelism:4 BackupCopyDataParallelism:128 RestoreParallelism:2 KeepTempFiles:false GcPauseEnable:true GcPauseSeconds:7200 GcPauseAddress:http://localhost:9091/}"]
[2024/12/18 23:01:28.769 +00:00] [INFO] [core/backup_context.go:118] ["{Base:0xc0002d3b80 Enabled:true DebugMode:false SimpleResponse:true}"]
[2024/12/18 23:01:28.769 +00:00] [INFO] [core/backup_context.go:308] ["receive GetBackupRequest"] [requestId=03c30ccb-bd94-11ef-b400-7ed08ec730e6] [backupName=backup_2024_12_18_22_59_10_344496746] [backupId=] [bucketName=] [path=]
[2024/12/18 23:01:28.844 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-backup] [root=backup]
[2024/12/18 23:01:28.887 +00:00] [INFO] [core/backup_context.go:385] ["finish GetBackupRequest"] [requestId=03c30ccb-bd94-11ef-b400-7ed08ec730e6] [backupName=backup_2024_12_18_22_59_10_344496746] [backupId=] [bucketName=] [path=]
[2024/12/18 23:01:28.888 +00:00] [INFO] [core/backup_impl_restore_backup.go:202] ["Collections to restore"] [collection_num=5]
[2024/12/18 23:01:28.898 +00:00] [INFO] [core/backup_impl_restore_backup.go:269] ["create database"] [database=test_db]
[2024/12/18 23:01:28.933 +00:00] [INFO] [core/backup_impl_restore_backup.go:358] ["Start collection level restore pool"] [parallelism=2]
[2024/12/18 23:01:28.934 +00:00] [INFO] [core/backup_impl_restore_backup.go:362] ["executeRestoreBackupTask start"] [backup_name=backup_2024_12_18_22_59_10_344496746] [backupBucketName=pcz-milvus-backup] [backupPath=backup/backup_2024_12_18_22_59_10_344496746]
[2024/12/18 23:01:28.934 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/backup_2024_12_18_22_59_10_344496746]
[2024/12/18 23:01:28.934 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/18 23:01:28.935 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/backup_2024_12_18_22_59_10_344496746]
[2024/12/18 23:01:28.935 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/18 23:01:28.967 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/18 23:01:28.967 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/18 23:01:28.967 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:28.989 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/18 23:01:28.989 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/18 23:01:28.989 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:28.998 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/18 23:01:28.998 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:29.006 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/18 23:01:29.006 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:29.030 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-b] [root=file]
[2024/12/18 23:01:29.030 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/18 23:01:29.037 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/18 23:01:29.037 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110252/454569269145110253/454569269145511184]
[2024/12/18 23:01:29.037 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110252/454569269145110253/454569269145511184]"] [copyDataPath=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_wnzevip/]
[2024/12/18 23:01:29.043 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-b] [root=file]
[2024/12/18 23:01:29.043 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/18 23:01:29.047 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_wnzevip] [partition=_default] [files="[restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_wnzevip/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110252/454569269145110253/454569269145511184/]"] [endTime=454705205518008321]
[2024/12/18 23:01:29.051 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/18 23:01:29.069 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110215/454569269145110216/454569269145510326]
[2024/12/18 23:01:29.069 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110215/454569269145110216/454569269145510326]"] [copyDataPath=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_vmymifi/]
[2024/12/18 23:01:29.089 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_vmymifi] [partition=_default] [files="[restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_vmymifi/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110215/454569269145110216/454569269145510326/]"] [endTime=454705205518008321]
[2024/12/18 23:01:29.213 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400613] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=0] [currentTimestamp=1734562889] [lastUpdateTime=1734562889]
[2024/12/18 23:01:29.319 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400618] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=0] [currentTimestamp=1734562889] [lastUpdateTime=1734562889]
[2024/12/18 23:01:34.242 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400613] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"40\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=40] [currentTimestamp=1734562894] [lastUpdateTime=1734562889]
[2024/12/18 23:01:34.363 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400618] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=70] [currentTimestamp=1734562894] [lastUpdateTime=1734562889]
[2024/12/18 23:01:39.301 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400613] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=70] [currentTimestamp=1734562899] [lastUpdateTime=1734562894]
[2024/12/18 23:01:39.423 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400618] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"80\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=80] [currentTimestamp=1734562899] [lastUpdateTime=1734562894]
[2024/12/18 23:01:44.345 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400613] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"90\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=90] [currentTimestamp=1734562904] [lastUpdateTime=1734562899]
[2024/12/18 23:01:44.465 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400618] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=100] [currentTimestamp=1734562904] [lastUpdateTime=1734562899]
[2024/12/18 23:01:44.466 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_vmymifi] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_vmymifi/]
[2024/12/18 23:01:44.473 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_vmymifi] [size=0]
[2024/12/18 23:01:44.473 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/backup_2024_12_18_22_59_10_344496746]
[2024/12/18 23:01:44.473 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/18 23:01:44.503 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/18 23:01:44.503 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/18 23:01:44.503 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:44.510 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/18 23:01:44.511 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:44.522 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/18 23:01:44.530 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/18 23:01:44.546 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110233/454569269145110234/454569269145510753]
[2024/12/18 23:01:44.546 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110233/454569269145110234/454569269145510753]"] [copyDataPath=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_ihroxqt/]
[2024/12/18 23:01:44.573 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_ihroxqt] [partition=_default] [files="[restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_ihroxqt/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110233/454569269145110234/454569269145510753/]"] [endTime=454705205518008321]
[2024/12/18 23:01:44.679 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400722] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562904}"] [progress=0] [currentTimestamp=1734562904] [lastUpdateTime=1734562904]
[2024/12/18 23:01:49.379 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400613] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562889}"] [progress=100] [currentTimestamp=1734562909] [lastUpdateTime=1734562904]
[2024/12/18 23:01:49.379 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_wnzevip] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_wnzevip/]
[2024/12/18 23:01:49.387 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_wnzevip] [size=0]
[2024/12/18 23:01:49.387 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/backup_2024_12_18_22_59_10_344496746]
[2024/12/18 23:01:49.387 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/18 23:01:49.406 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/18 23:01:49.406 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/18 23:01:49.406 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:49.413 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/18 23:01:49.413 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:49.422 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/18 23:01:49.424 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/18 23:01:49.439 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110270/454569269145110271/454569269145511617]
[2024/12/18 23:01:49.439 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110270/454569269145110271/454569269145511617]"] [copyDataPath=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_ybosnxc/]
[2024/12/18 23:01:49.459 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_ybosnxc] [partition=_default] [files="[restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_ybosnxc/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110270/454569269145110271/454569269145511617/]"] [endTime=454705205518008321]
[2024/12/18 23:01:49.561 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400769] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562909}"] [progress=0] [currentTimestamp=1734562909] [lastUpdateTime=1734562909]
[2024/12/18 23:01:49.707 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400722] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562904}"] [progress=70] [currentTimestamp=1734562909] [lastUpdateTime=1734562904]
[2024/12/18 23:01:54.610 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400769] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562909}"] [progress=70] [currentTimestamp=1734562914] [lastUpdateTime=1734562909]
[2024/12/18 23:01:54.747 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400722] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"80\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562904}"] [progress=80] [currentTimestamp=1734562914] [lastUpdateTime=1734562909]
[2024/12/18 23:01:59.656 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400769] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"80\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562909}"] [progress=80] [currentTimestamp=1734562919] [lastUpdateTime=1734562914]
[2024/12/18 23:01:59.788 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400722] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562904}"] [progress=100] [currentTimestamp=1734562919] [lastUpdateTime=1734562914]
[2024/12/18 23:01:59.788 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ihroxqt] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_ihroxqt/]
[2024/12/18 23:01:59.796 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_ihroxqt] [size=0]
[2024/12/18 23:01:59.796 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [backupBucketName=pcz-milvus-backup] [backupPath=backup/backup_2024_12_18_22_59_10_344496746]
[2024/12/18 23:01:59.796 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["collection schema"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [fields="[{\"ID\":100,\"Name\":\"id\",\"PrimaryKey\":true,\"AutoID\":false,\"Description\":\"\",\"DataType\":5,\"TypeParams\":{},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false},{\"ID\":101,\"Name\":\"vector\",\"PrimaryKey\":false,\"AutoID\":false,\"Description\":\"\",\"DataType\":101,\"TypeParams\":{\"dim\":\"768\"},\"IndexParams\":{},\"IsDynamic\":false,\"IsPartitionKey\":false,\"IsClusteringKey\":false,\"ElementType\":0,\"DefaultValue\":null,\"Nullable\":false}]"]
[2024/12/18 23:01:59.821 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["create collection"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [hasPartitionKey=false]
[2024/12/18 23:01:59.821 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=id] [indexType=] [params=null]
[2024/12/18 23:01:59.821 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:59.843 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["source index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [indexName=vector] [indexType=IVF_FLAT] [params="{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}"]
[2024/12/18 23:01:59.843 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["not auto index"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0]
[2024/12/18 23:01:59.855 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore partition"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [partition=_default]
[2024/12/18 23:01:59.863 +00:00] [INFO] [core/backup_impl_restore_backup.go:373] ["start restore l0 segments"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [global_l0_segment_num=0] [partition_l0_segment_num=1]
[2024/12/18 23:01:59.878 +00:00] [INFO] [common/workerpool.go:70] ["restore l0 segment "] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [files=backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110288/454569269145110289/454569269145512044]
[2024/12/18 23:01:59.878 +00:00] [INFO] [core/backup_impl_restore_backup.go:761] ["milvus and backup store in different bucket, copy the data first"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [files="[backup/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110288/454569269145110289/454569269145512044]"] [copyDataPath=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_yzpbkct/]
[2024/12/18 23:01:59.898 +00:00] [INFO] [core/backup_impl_restore_backup.go:797] ["execute bulk insert"] [db=test_db] [collection=test_col_yzpbkct] [partition=_default] [files="[restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_yzpbkct/backup_2024_12_18_22_59_10_344496746/binlogs/delta_log/454569269145110288/454569269145110289/454569269145512044/]"] [endTime=454705205518008321]
[2024/12/18 23:02:00.020 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400845] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562919}"] [progress=0] [currentTimestamp=1734562920] [lastUpdateTime=1734562919]
[2024/12/18 23:02:04.701 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400769] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562909}"] [progress=100] [currentTimestamp=1734562924] [lastUpdateTime=1734562919]
[2024/12/18 23:02:04.701 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_ybosnxc] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_ybosnxc/]
[2024/12/18 23:02:04.710 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_ybosnxc] [size=0]
[2024/12/18 23:02:05.022 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400845] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"40\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562919}"] [progress=40] [currentTimestamp=1734562925] [lastUpdateTime=1734562919]
[2024/12/18 23:02:10.024 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400845] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"70\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562919}"] [progress=70] [currentTimestamp=1734562930] [lastUpdateTime=1734562925]
[2024/12/18 23:02:15.033 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400845] [state=2] [state="{\"ID\":0,\"State\":2,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"90\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562919}"] [progress=90] [currentTimestamp=1734562935] [lastUpdateTime=1734562930]
[2024/12/18 23:02:20.035 +00:00] [INFO] [core/backup_impl_restore_backup.go:848] ["bulkinsert task state"] [id=454569313058400845] [state=6] [state="{\"ID\":0,\"State\":6,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"100\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1734562919}"] [progress=100] [currentTimestamp=1734562940] [lastUpdateTime=1734562935]
[2024/12/18 23:02:20.035 +00:00] [INFO] [core/backup_impl_restore_backup.go:781] ["Delete temporary file"] [backup_db_name=test_db] [backup_collection_name=test_db] [target_db_name=test_db] [target_collection_name=test_col_yzpbkct] [skipDiskQuotaCheck=false] [maxShardNum=0] [dir=restore-temp-restore_2024_12_18_23_01_28_888031983-test_db-test_col_yzpbkct/]
[2024/12/18 23:02:20.042 +00:00] [INFO] [core/backup_impl_restore_backup.go:388] ["finish restore collection"] [db_name=test_db] [collection_name=test_col_yzpbkct] [size=0]
[2024/12/18 23:02:20.043 +00:00] [INFO] [core/backup_impl_restore_backup.go:405] ["finish restore all collections"] [backupName=backup_2024_12_18_22_59_10_344496746] [collections=5] [taskID=restore_2024_12_18_23_01_28_888031983] ["duration in seconds"=52]
success
duration:52 s

@huanghaoyuanhhy
Copy link
Collaborator

huanghaoyuanhhy commented Dec 19, 2024

I reviewed the logs you provided and noticed that the row count during the restoration process is indeed 0. Could you please check the meta/full_meta.json file in your backup directory and confirm the num_of_rows recorded there?

Additionally, I carefully examined the data insertion script you shared and found that it might not be inserting data into the test database as intended. According to the PyMilvus documentation on managing databases, the database selection can be done either by using the using_database function or by passing the db_name parameter when calling the connections.connect function. Could you verify if the correct database is being used during the data insertion process?

Let us know your findings so we can assist you further.

@dmitryzykov
Copy link
Author

@huanghaoyuanhhy
Thank you for response.

I checked our scripts, and it seems I shared our old version of creating script which didn't have right connecting to db. But we already fixed this and all of the testes above was done with correct connection method.

I can also confirm, that num_of_rows from backup file has right number of rows.

jq . full_meta.json | grep num_of_row
              "num_of_rows": 5,
              "num_of_rows": 5,
              "num_of_rows": 5,
              "num_of_rows": 5,
              "num_of_rows": 5,

Our latest python scripts which has right connection:

Create:

### RUN THIS IN PYTHON
# Import python modules
import numpy as np
import random
import string
from pymilvus import connections, db, utility, Collection, FieldSchema, DataType, CollectionSchema



### CREATE A DATABASE WITH RANDOM DATA ###

db_name='test_db'

print("Connecting to Milvus server 127.0.0.1:19530 ...")
connections.connect(host="127.0.0.1",port="19530",alias="default")

print(f"Creating database {db_name} if it doesn't exist ...")
if not db_name in db.list_database():
 db.create_database(db_name)
 print(f"Database {db_name} created")
else:
 print(f"Database {db_name} already exists")
print("")

print(f"Connecting to database {db_name} ...")
connections.connect(host="127.0.0.1",port="19530",alias=db_name,db_name=db_name)

print(f"Collecting database info ...")
existing_collections = utility.list_collections(using=db_name)
if existing_collections:
 for existing_collection in existing_collections:
  ec = Collection(existing_collection,using=db_name, consistency_level="Strong")
  print(f"Existing collection {ec.name} has {ec.num_entities} rows")
 print("")
else:
 print("No collections exist")
print("")

num_collections = 5
print(f"Creating {num_collections} new collections in database {db_name} ...")
collections = []
primary_key = FieldSchema(name="id",dtype=DataType.INT64,is_primary=True)
vector = FieldSchema(name="vector",dtype=DataType.FLOAT_VECTOR,dim=768)
schema = CollectionSchema(fields = [primary_key, vector])
index_params = {"index_type": "IVF_FLAT","metric_type": "IP","params": {"nlist": 128}}
for i in range(num_collections):
 collection_name = 'test_col_' + ''.join(random.choice(string.ascii_lowercase) for i in range(7))
 collection = Collection(name=collection_name,schema=schema,using=db_name)
 collection.create_index(field_name="id")
 collection.create_index(field_name="vector",index_params=index_params,timeout=None)
 collections.append(collection)
 print(f"Collection {collection_name} created")

num_rows = 5
print(f"Inserting {num_rows} new random data rows into new collections ...")
for collection in collections:
 data = []
 for i in range(num_rows):
  data.append({"id": i, "vector": np.random.random(768)})
 collection.insert(data)
 collection.flush()
 print(f"{num_rows} rows inserted into collection {collection.name}")
print("Done")

Validate:

from pymilvus import connections, db, utility, Collection

db_name = 'test_db'

print("Connecting to Milvus server 127.0.0.1:19530 ...")
connections.connect(host="127.0.0.1",port="19530",alias="default",db_name=db_name)

print(f"Checking if database {db_name} exists ...")
if db_name in db.list_database():
 print(f"Database {db_name} exists")
else:
 print(f"Database {db_name} does NOT exist")
 exit(1)

print(f"Connecting to database {db_name} ...")
connections.connect(host="127.0.0.1",port="19530",alias=db_name,db_name=db_name)

collection_names = utility.list_collections(using=db_name)
print(f"Database {db_name} has {len(collection_names)} collections in it")
for collection_name in collection_names:
 c=Collection(collection_name,using=db_name)
 c.flush()
 print(f"Collection {c.name} has {c.num_entities} rows in it")

@dmitryzykov
Copy link
Author

This is our backup:
backup_2024_12_18_22_59_10_344496746.zip

@huanghaoyuanhhy
Copy link
Collaborator

huanghaoyuanhhy commented Dec 20, 2024

@dmitryzykov

I tested with the new creating script you provided, and everything works fine—backup and restore are both good.

However, when I restored from the backup you uploaded, I was able to reproduce the issue with the row count being 0. I noticed the binlogs folder is missing from your backup. There should be two folders in the backup: binlogs and meta, but your backup only contains the meta folder. Could you check if the binlogs folder wasn’t generated during the backup, or if it got lost during the copying process? Also, did you use the metaOnly flag when creating the backup?

image

@dmitryzykov
Copy link
Author

@huanghaoyuanhhy
I've double checked this and we don't have binlogs folder in all of our backups inside s3, only meta.
image

Also I can confirm that we don't use metaOnly flag

So it seems we have some issue with backup creation part.
Will provide as much as possible details about backup creation part:

log

/app # ./milvus-backup create
v0.4.28 (Built on 2024-12-18T03:43:07Z from Git SHA 6b29a3a)
config:backup.yaml
[2024/12/20 21:15:38.727 +00:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/12/20 21:15:38.727 +00:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/12/20 21:15:38.727 +00:00] [INFO] [core/backup_impl_create_backup.go:32] ["receive CreateBackupRequest"] [requestId=8fab045e-bf17-11ef-9f68-e61e7a4ebc10] [backupName=] [collections="[]"] [databaseCollections=] [async=false] [force=false] [metaOnly=false]
[2024/12/20 21:15:38.727 +00:00] [INFO] [core/backup_context.go:117] ["{Base:0xc0000e8dc0 MaxSegmentGroupSize:2147483648 BackupCollectionParallelism:4 BackupCopyDataParallelism:128 RestoreParallelism:2 KeepTempFiles:false GcPauseEnable:true GcPauseSeconds:7200 GcPauseAddress:http://localhost:9091/}"]
[2024/12/20 21:15:38.728 +00:00] [INFO] [core/backup_context.go:118] ["{Base:0xc0000e8dc0 Enabled:true DebugMode:false SimpleResponse:true}"]
[2024/12/20 21:15:38.760 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-backup] [root=backup]
[2024/12/20 21:15:38.777 +00:00] [WARN] [core/backup_impl_create_backup.go:601] ["Pause Milvus GC Error:This warn won't fail the backup process. Pause GC can protect data not to be GCed during backup, it is necessary to backup very large data(cost more than a hour)."] [error="Get \http://localhost:9091/management/datacoord/garbage_collection/pause?pause_seconds=7200\: dial tcp [::1]:9091: connect: connection refused"]
[2024/12/20 21:15:38.783 +00:00] [INFO] [core/backup_impl_create_backup.go:667] ["collections to backup"] [collections="[test_db.test_col_ihroxqt,test_db.test_col_wnzevip,test_db.test_col_ybosnxc,test_db.test_col_yzpbkct,test_db.test_col_vmymifi]"]
[2024/12/20 21:15:38.783 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_ihroxqt]
[2024/12/20 21:15:38.785 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_ybosnxc]
[2024/12/20 21:15:38.786 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_yzpbkct]
[2024/12/20 21:15:38.786 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_wnzevip]
[2024/12/20 21:15:38.787 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_ihroxqt]
[2024/12/20 21:15:38.791 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ihroxqt] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:15:38.794 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_ybosnxc]
[2024/12/20 21:15:38.796 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_yzpbkct]
[2024/12/20 21:15:38.798 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_wnzevip]
[2024/12/20 21:15:38.802 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ihroxqt] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:15:38.807 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ybosnxc] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:15:38.811 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_yzpbkct] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:15:38.815 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_wnzevip] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:15:38.821 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ybosnxc] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:15:38.825 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_yzpbkct] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:15:38.829 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_wnzevip] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:15:38.843 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [segmentNumBeforeFlush=1]
[2024/12/20 21:15:38.857 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145510753]"] [timeOfSeal=1734729338] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_1_454569269145110233v0\":{\"channel_name\":\"by-dev-rootcoord-dml_1_454569269145110233v0\",\"msgID\":\"/z6Mjmz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_1_454569269145110233v0-true\",\"timestamp\":454748876637732865}}"]
[2024/12/20 21:15:38.859 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [segmentNumBeforeFlush=1]
[2024/12/20 21:15:38.862 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [segmentNumBeforeFlush=1]
[2024/12/20 21:15:38.864 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_wnzevip] [segmentNumBeforeFlush=1]
[2024/12/20 21:15:38.866 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [segmentIDsBeforeFlush="[454569269145510753]"] [segmentIDsAfterFlush="[454569269145510753]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:15:38.866 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_ihroxqt] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:15:38.866 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_vmymifi]
[2024/12/20 21:15:38.870 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145511617]"] [timeOfSeal=1734729338] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_3_454569269145110270v0\":{\"channel_name\":\"by-dev-rootcoord-dml_3_454569269145110270v0\",\"msgID\":\"9D60r2z0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_3_454569269145110270v0-true\",\"timestamp\":454748876637732865}}"]
[2024/12/20 21:15:38.873 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145512044]"] [timeOfSeal=1734729338] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_4_454569269145110288v0\":{\"channel_name\":\"by-dev-rootcoord-dml_4_454569269145110288v0\",\"msgID\":\"7z5YwGz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_4_454569269145110288v0-true\",\"timestamp\":454748876637732865}}"]
[2024/12/20 21:15:38.876 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_wnzevip] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145511184]"] [timeOfSeal=1734729338] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_2_454569269145110252v0\":{\"channel_name\":\"by-dev-rootcoord-dml_2_454569269145110252v0\",\"msgID\":\"+T4on2z0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_2_454569269145110252v0-true\",\"timestamp\":454748876637732865}}"]
[2024/12/20 21:15:38.879 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_vmymifi]
[2024/12/20 21:15:38.881 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [segmentIDsBeforeFlush="[454569269145511617]"] [segmentIDsAfterFlush="[454569269145511617]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:15:38.881 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_ybosnxc] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:15:38.887 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [segmentIDsBeforeFlush="[454569269145512044]"] [segmentIDsAfterFlush="[454569269145512044]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:15:38.888 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_yzpbkct] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:15:38.890 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_wnzevip] [segmentIDsBeforeFlush="[454569269145511184]"] [segmentIDsAfterFlush="[454569269145511184]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:15:38.890 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_wnzevip] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:15:38.894 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_vmymifi] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:15:38.898 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_vmymifi] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:15:38.905 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_vmymifi] [segmentNumBeforeFlush=1]
[2024/12/20 21:15:38.908 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_vmymifi] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145510326]"] [timeOfSeal=1734729338] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_0_454569269145110215v0\":{\"channel_name\":\"by-dev-rootcoord-dml_0_454569269145110215v0\",\"msgID\":\"BD+4fWz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_0_454569269145110215v0-true\",\"timestamp\":454748876637732865}}"]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_vmymifi] [segmentIDsBeforeFlush="[454569269145510326]"] [segmentIDsAfterFlush="[454569269145510326]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_vmymifi] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:701] ["Finish prepare all collections meta"]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110288] [collection=test_col_yzpbkct]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110252] [collection=test_col_wnzevip]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110215] [collection=test_col_vmymifi]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110233] [collection=test_col_ihroxqt]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110270] [collection=test_col_ybosnxc]
[2024/12/20 21:15:38.911 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"8fab045e-bf17-11ef-9f68-e61e7a4ebc10\" start_time:1734729338 collection_id:454569269145110252 db_name:\"test_db\" collection_name:\"test_col_wnzevip\" schema:<name:\"test_col_wnzevip\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454748876637732865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734729338 channel_checkpoints:<key:\"by-dev-rootcoord-dml_2_454569269145110252v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwEgj5PiifbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwLXRydWUggYCAsJr25acG\" > "]
[2024/12/20 21:15:38.913 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"8fab045e-bf17-11ef-9f68-e61e7a4ebc10\" start_time:1734729338 collection_id:454569269145110288 db_name:\"test_db\" collection_name:\"test_col_yzpbkct\" schema:<name:\"test_col_yzpbkct\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454748876637732865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734729338 channel_checkpoints:<key:\"by-dev-rootcoord-dml_4_454569269145110288v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwEgjvPljAbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwLXRydWUggYCAsJr25acG\" > "]
[2024/12/20 21:15:38.913 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"8fab045e-bf17-11ef-9f68-e61e7a4ebc10\" start_time:1734729338 collection_id:454569269145110233 db_name:\"test_db\" collection_name:\"test_col_ihroxqt\" schema:<name:\"test_col_ihroxqt\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454748876637732865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734729338 channel_checkpoints:<key:\"by-dev-rootcoord-dml_1_454569269145110233v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwEgj/PoyObPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwLXRydWUggYCAsJr25acG\" > "]
[2024/12/20 21:15:38.915 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"8fab045e-bf17-11ef-9f68-e61e7a4ebc10\" start_time:1734729338 collection_id:454569269145110215 db_name:\"test_db\" collection_name:\"test_col_vmymifi\" schema:<name:\"test_col_vmymifi\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454748876637732865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734729338 channel_checkpoints:<key:\"by-dev-rootcoord-dml_0_454569269145110215v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwEggEP7h9bPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwLXRydWUggYCAsJr25acG\" > "]
[2024/12/20 21:15:38.928 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:15:38.930 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:15:38.937 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:15:38.937 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:15:38.957 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_wnzevip] [collectionID=454569269145110252] [partitionID=454569269145110253]
[2024/12/20 21:15:38.957 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110252] [partition_id=454569269145110253] [segment_id=454569269145511184] [group_id=454569269145511184] [backupBinlogPath=backup/backup_2024_12_20_21_15_38_728105727/binlogs]
[2024/12/20 21:15:38.957 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_wnzevip]
[2024/12/20 21:15:38.957 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"8fab045e-bf17-11ef-9f68-e61e7a4ebc10\" start_time:1734729338 collection_id:454569269145110270 db_name:\"test_db\" collection_name:\"test_col_ybosnxc\" schema:<name:\"test_col_ybosnxc\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454748876637732865 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734729338 channel_checkpoints:<key:\"by-dev-rootcoord-dml_3_454569269145110270v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwEgj0PrSvbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwLXRydWUggYCAsJr25acG\" > "]
[2024/12/20 21:15:38.958 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_vmymifi] [collectionID=454569269145110215] [partitionID=454569269145110216]
[2024/12/20 21:15:38.975 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110215] [partition_id=454569269145110216] [segment_id=454569269145510326] [group_id=454569269145510326] [backupBinlogPath=backup/backup_2024_12_20_21_15_38_728105727/binlogs]
[2024/12/20 21:15:38.975 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_ihroxqt] [collectionID=454569269145110233] [partitionID=454569269145110234]
[2024/12/20 21:15:38.983 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_vmymifi]
[2024/12/20 21:15:38.993 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110233] [partition_id=454569269145110234] [segment_id=454569269145510753] [group_id=454569269145510753] [backupBinlogPath=backup/backup_2024_12_20_21_15_38_728105727/binlogs]
[2024/12/20 21:15:38.994 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_yzpbkct] [collectionID=454569269145110288] [partitionID=454569269145110289]
[2024/12/20 21:15:39.003 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_ybosnxc] [collectionID=454569269145110270] [partitionID=454569269145110271]
[2024/12/20 21:15:39.004 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_ihroxqt]
[2024/12/20 21:15:39.013 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110270] [partition_id=454569269145110271] [segment_id=454569269145511617] [group_id=454569269145511617] [backupBinlogPath=backup/backup_2024_12_20_21_15_38_728105727/binlogs]
[2024/12/20 21:15:39.014 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_ybosnxc]
[2024/12/20 21:15:39.033 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110288] [partition_id=454569269145110289] [segment_id=454569269145512044] [group_id=454569269145512044] [backupBinlogPath=backup/backup_2024_12_20_21_15_38_728105727/binlogs]
[2024/12/20 21:15:39.034 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_yzpbkct]
[2024/12/20 21:15:39.035 +00:00] [INFO] [core/backup_meta_manager.go:501] ["Get backup"] [state=BACKUP_SUCCESS] [backupedSize=0] [totalSize=0] [progress=100]
[2024/12/20 21:15:41.416 +00:00] [INFO] [core/backup_impl_create_backup.go:787] ["finish writeBackupInfoMeta"] [path=backup/backup_2024_12_20_21_15_38_728105727/] [backupName=backup_2024_12_20_21_15_38_728105727] ["backup meta"="{\"id\":\"8fab045e-bf17-11ef-9f68-e61e7a4ebc10\",\"state_code\":2,\"start_time\":1734729338776,\"end_time\":1734729339035,\"progress\":100,\"name\":\"backup_2024_12_20_21_15_38_728105727\",\"size\":0,\"milvus_version\":\"v2.5.0-beta\"}"]
[2024/12/20 21:15:41.416 +00:00] [INFO] [core/backup_impl_create_backup.go:744] ["finish backup all collections"] [requestId=8fab045e-bf17-11ef-9f68-e61e7a4ebc10] [backupName=backup_2024_12_20_21_15_38_728105727] [collections="[]"] [async=false]
[2024/12/20 21:15:41.416 +00:00] [WARN] [core/backup_impl_create_backup.go:619] ["Resume Milvus GC Error:This warn won't fail the backup process. Pause GC can protect data not to be GCed during backup, it is necessary to backup very large data(cost more than a hour)."] [error="Get \[http://localhost:9091/management/datacoord/garbage_collection/resume\](http://localhost:9091/management/datacoord/garbage_collection/resume/): dial tcp [::1]:9091: connect: connection refused"]
success
duration:3 s
/app #

backup itself

backup_2024_12_20_21_15_38_728105727.zip

milvus backup config file with cut s3 credentials

/app/configs # cat backup.yaml
# Configures the system log output.
log:
  level: info # Only supports debug, info, warn, error, panic, or fatal. Default 'info'.
  console: true # whether print log to console
  file:
    rootPath: "logs/backup.log"

http:
  simpleResponse: true

# milvus proxy address, compatible to milvus.yaml
milvus:
  address: milvus-a
  port: 19530
  authorizationEnabled: false
  # tls mode values [0, 1, 2]
  # 0 is close, 1 is one-way authentication, 2 is two-way authentication.
  tlsMode: 0
  user: "root"
  password: "Milvus"

# Related configuration of minio, which is responsible for data persistence for Milvus.
minio:
  # Milvus storage configs, make them the same with milvus config
  storageType: "s3" # support storage type: local, minio, s3, aws, gcp, ali(aliyun), azure, tc(tencent)
  address:  # Address of MinIO/S3
  port: 8082   # Port of MinIO/S3
  accessKeyID:   # accessKeyID of MinIO/S3
  secretAccessKey: "" # MinIO/S3 encryption string
  useSSL: true # Access to MinIO/S3 with SSL
  useIAM: false
  iamEndpoint: ""
  bucketName: "" # Milvus Bucket name in MinIO/S3, make it the same as your milvus instance
  rootPath: file # Milvus storage root path in MinIO/S3, make it the same as your milvus instance


  # Backup storage configs, the storage you want to put the backup data
  backupStorageType: "s3" # support storage type: local, minio, s3, aws, gcp, ali(aliyun), azure, tc(tencent)
  backupAddress:  # Address of MinIO/S3
  backupPort: 8082   # Port of MinIO/S3
  backupAccessKeyID:   # accessKeyID of MinIO/S3
  backupSecretAccessKey: "" # MinIO/S3 encryption string
  backupBucketName: "" # Bucket name to store backup data. Backup data will store to backupBucketName/backupRootPath
  backupRootPath: "backup" # Rootpath to store backup data. Backup data will store to backupBucketName/backupRootPath

  # If you need to back up or restore data between two different storage systems, direct client-side copying is not supported.
  # Set this option to true to enable data transfer through Milvus Backup.
  # Note: This option will be automatically set to true if `minio.storageType` and `minio.backupStorageType` differ.
  # However, if they are the same but belong to different services, you must manually set this option to `true`.
  crossStorage: "false"

backup:
  maxSegmentGroupSize: 2G

  parallelism:
    # collection level parallelism to backup
    backupCollection: 4
    # thread pool to copy data. reduce it if blocks your storage's network bandwidth
    copydata: 128
    # Collection level parallelism to restore
    restoreCollection: 2

  # keep temporary files during restore, only use to debug
  keepTempFiles: false

  # Pause GC during backup through Milvus Http API.
  gcPause:
    enable: true
    seconds: 7200
    address: http://localhost:9091/app/configs #

We created one more backup with log.level: debug

/app # ./milvus-backup create
v0.4.28 (Built on 2024-12-18T03:43:07Z from Git SHA 6b29a3a)
config:backup.yaml
[2024/12/20 21:38:40.602 +00:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/12/20 21:38:40.602 +00:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/12/20 21:38:40.603 +00:00] [INFO] [core/backup_impl_create_backup.go:32] ["receive CreateBackupRequest"] [requestId=c75471ef-bf1a-11ef-bc5b-6649db5229cf] [backupName=] [collections="[]"] [databaseCollections=] [async=false] [force=false] [metaOnly=false]
[2024/12/20 21:38:40.603 +00:00] [INFO] [core/backup_context.go:117] ["{Base:0xc0000e0dc0 MaxSegmentGroupSize:2147483648 BackupCollectionParallelism:4 BackupCopyDataParallelism:128 RestoreParallelism:2 KeepTempFiles:false GcPauseEnable:true GcPauseSeconds:7200 GcPauseAddress:http://localhost:9091}"]
[2024/12/20 21:38:40.603 +00:00] [INFO] [core/backup_context.go:118] ["{Base:0xc0000e0dc0 Enabled:true DebugMode:false SimpleResponse:true}"]
[2024/12/20 21:38:40.603 +00:00] [DEBUG] [core/backup_context.go:192] ["create backup storage client"] [address=dr-s3.s3-server.com:8082] [bucket=pcz-milvus-a] [backupBucket=pcz-milvus-backup]
[2024/12/20 21:38:40.841 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-backup] [root=backup]
[2024/12/20 21:38:40.890 +00:00] [DEBUG] [core/backup_context.go:68] ["Start Milvus client"] [endpoint=milvus-a:19530]
[2024/12/20 21:38:40.901 +00:00] [WARN] [core/backup_impl_create_backup.go:601] ["Pause Milvus GC Error:This warn won't fail the backup process. Pause GC can protect data not to be GCed during backup, it is necessary to backup very large data(cost more than a hour)."] [error="Get \http://localhost:9091/management/datacoord/garbage_collection/pause?pause_seconds=7200\: dial tcp [::1]:9091: connect: connection refused"]
[2024/12/20 21:38:40.902 +00:00] [DEBUG] [core/backup_impl_create_backup.go:137] ["Request collection names"] [request_collection_names="[]"] [request_db_collections=] [length=0]
[2024/12/20 21:38:40.907 +00:00] [DEBUG] [core/backup_impl_create_backup.go:203] ["List 5 collections"]
[2024/12/20 21:38:40.908 +00:00] [INFO] [core/backup_impl_create_backup.go:667] ["collections to backup"] [collections="[test_db.test_col_vmymifi,test_db.test_col_ihroxqt,test_db.test_col_wnzevip,test_db.test_col_ybosnxc,test_db.test_col_yzpbkct]"]
[2024/12/20 21:38:40.908 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_vmymifi]
[2024/12/20 21:38:40.915 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_ybosnxc]
[2024/12/20 21:38:40.915 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_ihroxqt]
[2024/12/20 21:38:40.915 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_wnzevip]
[2024/12/20 21:38:40.917 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_vmymifi]
[2024/12/20 21:38:40.921 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_vmymifi] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:38:40.923 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_ybosnxc]
[2024/12/20 21:38:40.926 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_ihroxqt]
[2024/12/20 21:38:40.928 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_wnzevip]
[2024/12/20 21:38:40.932 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_vmymifi] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:38:40.937 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ybosnxc] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:38:40.941 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ihroxqt] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:38:40.945 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_wnzevip] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:38:40.958 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ybosnxc] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:38:40.965 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_ihroxqt] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:38:40.969 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_wnzevip] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:38:40.979 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_vmymifi] [segmentNumBeforeFlush=1]
[2024/12/20 21:38:40.992 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_vmymifi] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145510326]"] [timeOfSeal=1734730720] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_0_454569269145110215v0\":{\"channel_name\":\"by-dev-rootcoord-dml_0_454569269145110215v0\",\"msgID\":\"qFm4fWz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_0_454569269145110215v0-true\",\"timestamp\":454749234201886721}}"]
[2024/12/20 21:38:40.994 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [segmentNumBeforeFlush=1]
[2024/12/20 21:38:40.996 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [segmentNumBeforeFlush=1]
[2024/12/20 21:38:40.998 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_wnzevip] [segmentNumBeforeFlush=1]
[2024/12/20 21:38:41.001 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_vmymifi] [segmentIDsBeforeFlush="[454569269145510326]"] [segmentIDsAfterFlush="[454569269145510326]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:38:41.001 +00:00] [DEBUG] [core/backup_impl_create_backup.go:456] ["Finished fill segment"] [databaseName=test_db] [collectionName=test_col_vmymifi] [segments="[454569269145510326]"]
[2024/12/20 21:38:41.001 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_vmymifi] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:38:41.001 +00:00] [INFO] [core/backup_impl_create_backup.go:231] ["start backup collection"] [db=test_db] [collection=test_col_yzpbkct]
[2024/12/20 21:38:41.004 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145511617]"] [timeOfSeal=1734730720] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_3_454569269145110270v0\":{\"channel_name\":\"by-dev-rootcoord-dml_3_454569269145110270v0\",\"msgID\":\"mFm0r2z0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_3_454569269145110270v0-true\",\"timestamp\":454749234201886721}}"]
[2024/12/20 21:38:41.008 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145510753]"] [timeOfSeal=1734730721] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_1_454569269145110233v0\":{\"channel_name\":\"by-dev-rootcoord-dml_1_454569269145110233v0\",\"msgID\":\"o1mMjmz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_1_454569269145110233v0-true\",\"timestamp\":454749234201886721}}"]
[2024/12/20 21:38:41.011 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_wnzevip] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145511184]"] [timeOfSeal=1734730721] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_2_454569269145110252v0\":{\"channel_name\":\"by-dev-rootcoord-dml_2_454569269145110252v0\",\"msgID\":\"nVkon2z0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_2_454569269145110252v0-true\",\"timestamp\":454749234201886721}}"]
[2024/12/20 21:38:41.014 +00:00] [INFO] [core/backup_impl_create_backup.go:274] ["try to get index"] [collection_name=test_col_yzpbkct]
[2024/12/20 21:38:41.018 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [segmentIDsBeforeFlush="[454569269145511617]"] [segmentIDsAfterFlush="[454569269145511617]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:38:41.018 +00:00] [DEBUG] [core/backup_impl_create_backup.go:456] ["Finished fill segment"] [databaseName=test_db] [collectionName=test_col_ybosnxc] [segments="[454569269145511617]"]
[2024/12/20 21:38:41.018 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_ybosnxc] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:38:41.021 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [segmentIDsBeforeFlush="[454569269145510753]"] [segmentIDsAfterFlush="[454569269145510753]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:38:41.021 +00:00] [DEBUG] [core/backup_impl_create_backup.go:456] ["Finished fill segment"] [databaseName=test_db] [collectionName=test_col_ihroxqt] [segments="[454569269145510753]"]
[2024/12/20 21:38:41.021 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_ihroxqt] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:38:41.023 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_wnzevip] [segmentIDsBeforeFlush="[454569269145511184]"] [segmentIDsAfterFlush="[454569269145511184]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:38:41.023 +00:00] [DEBUG] [core/backup_impl_create_backup.go:456] ["Finished fill segment"] [databaseName=test_db] [collectionName=test_col_wnzevip] [segments="[454569269145511184]"]
[2024/12/20 21:38:41.023 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_wnzevip] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:38:41.027 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_yzpbkct] [field_name=id] ["index info"="[{}]"]
[2024/12/20 21:38:41.030 +00:00] [INFO] [core/backup_impl_create_backup.go:294] ["field index"] [collection_name=test_col_yzpbkct] [field_name=vector] ["index info"="[{}]"]
[2024/12/20 21:38:41.036 +00:00] [INFO] [core/backup_impl_create_backup.go:380] ["GetPersistentSegmentInfo before flush from milvus"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [segmentNumBeforeFlush=1]
[2024/12/20 21:38:41.039 +00:00] [INFO] [core/backup_impl_create_backup.go:408] ["flush segments"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [newSealedSegmentIDs="[]"] [flushedSegmentIDs="[454569269145512044]"] [timeOfSeal=1734730721] [BackupTimestamp=0] [channelCPs="{\"by-dev-rootcoord-dml_4_454569269145110288v0\":{\"channel_name\":\"by-dev-rootcoord-dml_4_454569269145110288v0\",\"msgID\":\"k1lYwGz0TgY=\",\"msgGroup\":\"datanode-2-by-dev-rootcoord-dml_4_454569269145110288v0-true\",\"timestamp\":454749234201886721}}"]
[2024/12/20 21:38:41.042 +00:00] [INFO] [core/backup_impl_create_backup.go:429] ["GetPersistentSegmentInfo after flush from milvus"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [segmentIDsBeforeFlush="[454569269145512044]"] [segmentIDsAfterFlush="[454569269145512044]"] [newL0SegmentsIDs="[]"]
[2024/12/20 21:38:41.042 +00:00] [DEBUG] [core/backup_impl_create_backup.go:456] ["Finished fill segment"] [databaseName=test_db] [collectionName=test_col_yzpbkct] [segments="[454569269145512044]"]
[2024/12/20 21:38:41.042 +00:00] [INFO] [core/backup_impl_create_backup.go:497] ["finish build partition info"] [collectionName=test_col_yzpbkct] [partitionNum=1] [l0SegmentsNum=0]
[2024/12/20 21:38:41.043 +00:00] [INFO] [core/backup_impl_create_backup.go:701] ["Finish prepare all collections meta"]
[2024/12/20 21:38:41.043 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110215] [collection=test_col_vmymifi]
[2024/12/20 21:38:41.043 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110270] [collection=test_col_ybosnxc]
[2024/12/20 21:38:41.043 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110233] [collection=test_col_ihroxqt]
[2024/12/20 21:38:41.043 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110252] [collection=test_col_wnzevip]
[2024/12/20 21:38:41.044 +00:00] [INFO] [core/backup_impl_create_backup.go:706] ["before backupCollectionExecute"] [collectionID=454569269145110288] [collection=test_col_yzpbkct]
[2024/12/20 21:38:41.043 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 collection_id:454569269145110215 db_name:\"test_db\" collection_name:\"test_col_vmymifi\" schema:<name:\"test_col_vmymifi\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730720 channel_checkpoints:<key:\"by-dev-rootcoord-dml_0_454569269145110215v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwEgioWbh9bPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwLXRydWUggYDws86A5qcG\" > "]
[2024/12/20 21:38:41.044 +00:00] [DEBUG] [core/backup_impl_create_backup.go:934] [insertPath] [bucket=pcz-milvus-a] [insertPath=file/insert_log/454569269145110215/454569269145110216/454569269145510326/]
[2024/12/20 21:38:41.044 +00:00] [DEBUG] [core/backup_context.go:161] ["create milvus storage client"] [address=dr-s3.s3-server.com:8082] [bucket=pcz-milvus-a] [backupBucket=pcz-milvus-backup]
[2024/12/20 21:38:41.044 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 collection_id:454569269145110270 db_name:\"test_db\" collection_name:\"test_col_ybosnxc\" schema:<name:\"test_col_ybosnxc\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730720 channel_checkpoints:<key:\"by-dev-rootcoord-dml_3_454569269145110270v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwEgiYWbSvbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwLXRydWUggYDws86A5qcG\" > "]
[2024/12/20 21:38:41.044 +00:00] [DEBUG] [core/backup_impl_create_backup.go:934] [insertPath] [bucket=pcz-milvus-a] [insertPath=file/insert_log/454569269145110270/454569269145110271/454569269145511617/]
[2024/12/20 21:38:41.044 +00:00] [DEBUG] [core/backup_context.go:161] ["create milvus storage client"] [address=dr-s3.s3-server.com:8082] [bucket=pcz-milvus-a] [backupBucket=pcz-milvus-backup]
[2024/12/20 21:38:41.045 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 collection_id:454569269145110233 db_name:\"test_db\" collection_name:\"test_col_ihroxqt\" schema:<name:\"test_col_ihroxqt\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730721 channel_checkpoints:<key:\"by-dev-rootcoord-dml_1_454569269145110233v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwEgijWYyObPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwLXRydWUggYDws86A5qcG\" > "]
[2024/12/20 21:38:41.045 +00:00] [DEBUG] [core/backup_impl_create_backup.go:934] [insertPath] [bucket=pcz-milvus-a] [insertPath=file/insert_log/454569269145110233/454569269145110234/454569269145510753/]
[2024/12/20 21:38:41.045 +00:00] [DEBUG] [core/backup_context.go:161] ["create milvus storage client"] [address=dr-s3.s3-server.com:8082] [bucket=pcz-milvus-a] [backupBucket=pcz-milvus-backup]
[2024/12/20 21:38:41.046 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 collection_id:454569269145110252 db_name:\"test_db\" collection_name:\"test_col_wnzevip\" schema:<name:\"test_col_wnzevip\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730721 channel_checkpoints:<key:\"by-dev-rootcoord-dml_2_454569269145110252v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwEgidWSifbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwLXRydWUggYDws86A5qcG\" > "]
[2024/12/20 21:38:41.046 +00:00] [DEBUG] [core/backup_impl_create_backup.go:934] [insertPath] [bucket=pcz-milvus-a] [insertPath=file/insert_log/454569269145110252/454569269145110253/454569269145511184/]
[2024/12/20 21:38:41.046 +00:00] [DEBUG] [core/backup_context.go:161] ["create milvus storage client"] [address=dr-s3.s3-server.com:8082] [bucket=pcz-milvus-a] [backupBucket=pcz-milvus-backup]
[2024/12/20 21:38:41.114 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:38:41.141 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:38:41.154 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:38:41.163 +00:00] [INFO] [storage/minio_chunk_manager.go:144] ["minio chunk manager init success."] [bucketname=pcz-milvus-a] [root=file]
[2024/12/20 21:38:41.168 +00:00] [DEBUG] [core/backup_impl_create_backup.go:945] [fieldsLogDir] [bucket=pcz-milvus-a] [fieldsLogDir="[]"]
[2024/12/20 21:38:41.174 +00:00] [DEBUG] [core/backup_impl_create_backup.go:945] [fieldsLogDir] [bucket=pcz-milvus-a] [fieldsLogDir="[]"]
[2024/12/20 21:38:41.185 +00:00] [DEBUG] [core/backup_impl_create_backup.go:1016] ["fill segment info"] [segId=454569269145511184] [size=0]
[2024/12/20 21:38:41.185 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_wnzevip] [collectionID=454569269145110252] [partitionID=454569269145110253]
[2024/12/20 21:38:41.185 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110252] [partition_id=454569269145110253] [segment_id=454569269145511184] [group_id=454569269145511184] [backupBinlogPath=backup/backup_2024_12_20_21_38_40_603473909/binlogs]
[2024/12/20 21:38:41.185 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_wnzevip]
[2024/12/20 21:38:41.185 +00:00] [INFO] [core/backup_impl_create_backup.go:512] [backupCollectionExecute] [collectionMeta="id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730721 collection_id:454569269145110288 db_name:\"test_db\" collection_name:\"test_col_yzpbkct\" schema:<name:\"test_col_yzpbkct\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730721 channel_checkpoints:<key:\"by-dev-rootcoord-dml_4_454569269145110288v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwEgiTWVjAbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwLXRydWUggYDws86A5qcG\" > "]
[2024/12/20 21:38:41.185 +00:00] [DEBUG] [core/backup_impl_create_backup.go:934] [insertPath] [bucket=pcz-milvus-a] [insertPath=file/insert_log/454569269145110288/454569269145110289/454569269145512044/]
[2024/12/20 21:38:41.186 +00:00] [DEBUG] [core/backup_impl_create_backup.go:1016] ["fill segment info"] [segId=454569269145511617] [size=0]
[2024/12/20 21:38:41.187 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_ybosnxc] [collectionID=454569269145110270] [partitionID=454569269145110271]
[2024/12/20 21:38:41.203 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110270] [partition_id=454569269145110271] [segment_id=454569269145511617] [group_id=454569269145511617] [backupBinlogPath=backup/backup_2024_12_20_21_38_40_603473909/binlogs]
[2024/12/20 21:38:41.203 +00:00] [DEBUG] [core/backup_impl_create_backup.go:945] [fieldsLogDir] [bucket=pcz-milvus-a] [fieldsLogDir="[]"]
[2024/12/20 21:38:41.204 +00:00] [DEBUG] [core/backup_impl_create_backup.go:945] [fieldsLogDir] [bucket=pcz-milvus-a] [fieldsLogDir="[]"]
[2024/12/20 21:38:41.204 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_ybosnxc]
[2024/12/20 21:38:41.213 +00:00] [DEBUG] [core/backup_impl_create_backup.go:1016] ["fill segment info"] [segId=454569269145510753] [size=0]
[2024/12/20 21:38:41.213 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_ihroxqt] [collectionID=454569269145110233] [partitionID=454569269145110234]
[2024/12/20 21:38:41.224 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110233] [partition_id=454569269145110234] [segment_id=454569269145510753] [group_id=454569269145510753] [backupBinlogPath=backup/backup_2024_12_20_21_38_40_603473909/binlogs]
[2024/12/20 21:38:41.224 +00:00] [DEBUG] [core/backup_impl_create_backup.go:945] [fieldsLogDir] [bucket=pcz-milvus-a] [fieldsLogDir="[]"]
[2024/12/20 21:38:41.224 +00:00] [DEBUG] [core/backup_impl_create_backup.go:1016] ["fill segment info"] [segId=454569269145512044] [size=0]
[2024/12/20 21:38:41.224 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_yzpbkct] [collectionID=454569269145110288] [partitionID=454569269145110289]
[2024/12/20 21:38:41.234 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_ihroxqt]
[2024/12/20 21:38:41.234 +00:00] [DEBUG] [core/backup_impl_create_backup.go:1016] ["fill segment info"] [segId=454569269145510326] [size=0]
[2024/12/20 21:38:41.234 +00:00] [INFO] [core/backup_impl_create_backup.go:547] ["Begin copy data"] [dbName=test_db] [collectionName=test_col_vmymifi] [collectionID=454569269145110215] [partitionID=454569269145110216]
[2024/12/20 21:38:41.244 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110215] [partition_id=454569269145110216] [segment_id=454569269145510326] [group_id=454569269145510326] [backupBinlogPath=backup/backup_2024_12_20_21_38_40_603473909/binlogs]
[2024/12/20 21:38:41.244 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_vmymifi]
[2024/12/20 21:38:41.264 +00:00] [INFO] [core/backup_impl_create_backup.go:800] ["copy segment"] [collection_id=454569269145110288] [partition_id=454569269145110289] [segment_id=454569269145512044] [group_id=454569269145512044] [backupBinlogPath=backup/backup_2024_12_20_21_38_40_603473909/binlogs]
[2024/12/20 21:38:41.264 +00:00] [INFO] [core/backup_impl_create_backup.go:587] ["Finish copy data"] [dbName=test_db] [collectionName=test_col_yzpbkct]
[2024/12/20 21:38:41.264 +00:00] [INFO] [core/backup_meta_manager.go:501] ["Get backup"] [state=BACKUP_SUCCESS] [backupedSize=0] [totalSize=0] [progress=100]
[2024/12/20 21:38:41.271 +00:00] [DEBUG] [core/backup_impl_create_backup.go:754] ["Final backupInfo"] [backupInfo="id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" state_code:BACKUP_SUCCESS start_time:1734730720901 end_time:1734730721264 progress:100 name:\"backup_2024_12_20_21_38_40_603473909\" collection_backups:<id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 end_time:1734730721 collection_id:454569269145110233 db_name:\"test_db\" collection_name:\"test_col_ihroxqt\" schema:<name:\"test_col_ihroxqt\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded partition_backups:<partition_id:454569269145110234 partition_name:\"_default\" collection_id:454569269145110233 segment_backups:<segment_id:454569269145510753 collection_id:454569269145110233 partition_id:454569269145110234 num_of_rows:5 deltalogs:<> group_id:454569269145510753 backuped:true is_l0:true > load_state:\"NotLoad\" > backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730721 channel_checkpoints:<key:\"by-dev-rootcoord-dml_1_454569269145110233v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwEgijWYyObPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwLXRydWUggYDws86A5qcG\" > > collection_backups:<id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 end_time:1734730721 collection_id:454569269145110252 db_name:\"test_db\" collection_name:\"test_col_wnzevip\" schema:<name:\"test_col_wnzevip\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded partition_backups:<partition_id:454569269145110253 partition_name:\"_default\" collection_id:454569269145110252 segment_backups:<segment_id:454569269145511184 collection_id:454569269145110252 partition_id:454569269145110253 num_of_rows:5 deltalogs:<> group_id:454569269145511184 backuped:true is_l0:true > load_state:\"NotLoad\" > backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730721 channel_checkpoints:<key:\"by-dev-rootcoord-dml_2_454569269145110252v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwEgidWSifbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwLXRydWUggYDws86A5qcG\" > > collection_backups:<id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730721 end_time:1734730721 collection_id:454569269145110288 db_name:\"test_db\" collection_name:\"test_col_yzpbkct\" schema:<name:\"test_col_yzpbkct\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded partition_backups:<partition_id:454569269145110289 partition_name:\"_default\" collection_id:454569269145110288 segment_backups:<segment_id:454569269145512044 collection_id:454569269145110288 partition_id:454569269145110289 num_of_rows:5 deltalogs:<> group_id:454569269145512044 backuped:true is_l0:true > load_state:\"NotLoad\" > backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730721 channel_checkpoints:<key:\"by-dev-rootcoord-dml_4_454569269145110288v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwEgiTWVjAbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwLXRydWUggYDws86A5qcG\" > > collection_backups:<id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 end_time:1734730721 collection_id:454569269145110215 db_name:\"test_db\" collection_name:\"test_col_vmymifi\" schema:<name:\"test_col_vmymifi\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded partition_backups:<partition_id:454569269145110216 partition_name:\"_default\" collection_id:454569269145110215 segment_backups:<segment_id:454569269145510326 collection_id:454569269145110215 partition_id:454569269145110216 num_of_rows:5 deltalogs:<> group_id:454569269145510326 backuped:true is_l0:true > load_state:\"NotLoad\" > backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730720 channel_checkpoints:<key:\"by-dev-rootcoord-dml_0_454569269145110215v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwEgioWbh9bPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwLXRydWUggYDws86A5qcG\" > > collection_backups:<id:\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\" start_time:1734730720 end_time:1734730721 collection_id:454569269145110270 db_name:\"test_db\" collection_name:\"test_col_ybosnxc\" schema:<name:\"test_col_ybosnxc\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vector\" data_type:FloatVector type_params:<key:\"dim\" value:\"768\" > > > shards_num:1 consistency_level:Bounded partition_backups:<partition_id:454569269145110271 partition_name:\"_default\" collection_id:454569269145110270 segment_backups:<segment_id:454569269145511617 collection_id:454569269145110270 partition_id:454569269145110271 num_of_rows:5 deltalogs:<> group_id:454569269145511617 backuped:true is_l0:true > load_state:\"NotLoad\" > backup_timestamp:454749234201886721 has_index:true index_infos:<field_name:\"id\" index_name:\"id\" > index_infos:<field_name:\"vector\" index_name:\"vector\" index_type:\"IVF_FLAT\" params:<key:\"index_type\" value:\"IVF_FLAT\" > params:<key:\"metric_type\" value:\"IP\" > params:<key:\"params\" value:\"{\\\"nlist\\\":128}\" > > load_state:\"NotLoad\" backup_physical_timestamp:1734730720 channel_checkpoints:<key:\"by-dev-rootcoord-dml_3_454569269145110270v0\" value:\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwEgiYWbSvbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwLXRydWUggYDws86A5qcG\" > > milvus_version:\"v2.5.0-beta\" "]
[2024/12/20 21:38:41.273 +00:00] [DEBUG] [core/backup_impl_create_backup.go:756] ["backup meta"] [value="{\"id\":\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\",\"state_code\":2,\"start_time\":1734730720901,\"end_time\":1734730721264,\"progress\":100,\"name\":\"backup_2024_12_20_21_38_40_603473909\",\"size\":0,\"milvus_version\":\"v2.5.0-beta\"}"]
[2024/12/20 21:38:41.273 +00:00] [DEBUG] [core/backup_impl_create_backup.go:757] ["collection meta"] [value="{\"infos\":[{\"id\":\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\",\"state_code\":0,\"start_time\":1734730720,\"end_time\":1734730721,\"progress\":0,\"collection_id\":454569269145110233,\"db_name\":\"test_db\",\"collection_name\":\"test_col_ihroxqt\",\"schema\":{\"name\":\"test_col_ihroxqt\",\"fields\":[{\"fieldID\":100,\"name\":\"id\",\"is_primary_key\":true,\"data_type\":5},{\"fieldID\":101,\"name\":\"vector\",\"data_type\":101,\"type_params\":[{\"key\":\"dim\",\"value\":\"768\"}]}]},\"shards_num\":1,\"consistency_level\":2,\"partition_backups\":[{\"partition_id\":454569269145110234,\"partition_name\":\"_default\",\"collection_id\":454569269145110233,\"segment_backups\":[{\"segment_id\":454569269145510753,\"collection_id\":454569269145110233,\"partition_id\":454569269145110234,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145510753,\"backuped\":true,\"is_l0\":true}],\"size\":0,\"load_state\":\"NotLoad\"}],\"backup_timestamp\":454749234201886721,\"size\":0,\"has_index\":true,\"index_infos\":[{\"field_name\":\"id\",\"index_name\":\"id\"},{\"field_name\":\"vector\",\"index_name\":\"vector\",\"index_type\":\"IVF_FLAT\",\"params\":{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}}],\"load_state\":\"NotLoad\",\"backup_physical_timestamp\":1734730721,\"channel_checkpoints\":{\"by-dev-rootcoord-dml_1_454569269145110233v0\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwEgijWYyObPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwLXRydWUggYDws86A5qcG\"}},{\"id\":\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\",\"state_code\":0,\"start_time\":1734730720,\"end_time\":1734730721,\"progress\":0,\"collection_id\":454569269145110252,\"db_name\":\"test_db\",\"collection_name\":\"test_col_wnzevip\",\"schema\":{\"name\":\"test_col_wnzevip\",\"fields\":[{\"fieldID\":100,\"name\":\"id\",\"is_primary_key\":true,\"data_type\":5},{\"fieldID\":101,\"name\":\"vector\",\"data_type\":101,\"type_params\":[{\"key\":\"dim\",\"value\":\"768\"}]}]},\"shards_num\":1,\"consistency_level\":2,\"partition_backups\":[{\"partition_id\":454569269145110253,\"partition_name\":\"_default\",\"collection_id\":454569269145110252,\"segment_backups\":[{\"segment_id\":454569269145511184,\"collection_id\":454569269145110252,\"partition_id\":454569269145110253,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145511184,\"backuped\":true,\"is_l0\":true}],\"size\":0,\"load_state\":\"NotLoad\"}],\"backup_timestamp\":454749234201886721,\"size\":0,\"has_index\":true,\"index_infos\":[{\"field_name\":\"id\",\"index_name\":\"id\"},{\"field_name\":\"vector\",\"index_name\":\"vector\",\"index_type\":\"IVF_FLAT\",\"params\":{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}}],\"load_state\":\"NotLoad\",\"backup_physical_timestamp\":1734730721,\"channel_checkpoints\":{\"by-dev-rootcoord-dml_2_454569269145110252v0\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwEgidWSifbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwLXRydWUggYDws86A5qcG\"}},{\"id\":\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\",\"state_code\":0,\"start_time\":1734730721,\"end_time\":1734730721,\"progress\":0,\"collection_id\":454569269145110288,\"db_name\":\"test_db\",\"collection_name\":\"test_col_yzpbkct\",\"schema\":{\"name\":\"test_col_yzpbkct\",\"fields\":[{\"fieldID\":100,\"name\":\"id\",\"is_primary_key\":true,\"data_type\":5},{\"fieldID\":101,\"name\":\"vector\",\"data_type\":101,\"type_params\":[{\"key\":\"dim\",\"value\":\"768\"}]}]},\"shards_num\":1,\"consistency_level\":2,\"partition_backups\":[{\"partition_id\":454569269145110289,\"partition_name\":\"_default\",\"collection_id\":454569269145110288,\"segment_backups\":[{\"segment_id\":454569269145512044,\"collection_id\":454569269145110288,\"partition_id\":454569269145110289,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145512044,\"backuped\":true,\"is_l0\":true}],\"size\":0,\"load_state\":\"NotLoad\"}],\"backup_timestamp\":454749234201886721,\"size\":0,\"has_index\":true,\"index_infos\":[{\"field_name\":\"id\",\"index_name\":\"id\"},{\"field_name\":\"vector\",\"index_name\":\"vector\",\"index_type\":\"IVF_FLAT\",\"params\":{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}}],\"load_state\":\"NotLoad\",\"backup_physical_timestamp\":1734730721,\"channel_checkpoints\":{\"by-dev-rootcoord-dml_4_454569269145110288v0\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwEgiTWVjAbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwLXRydWUggYDws86A5qcG\"}},{\"id\":\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\",\"state_code\":0,\"start_time\":1734730720,\"end_time\":1734730721,\"progress\":0,\"collection_id\":454569269145110215,\"db_name\":\"test_db\",\"collection_name\":\"test_col_vmymifi\",\"schema\":{\"name\":\"test_col_vmymifi\",\"fields\":[{\"fieldID\":100,\"name\":\"id\",\"is_primary_key\":true,\"data_type\":5},{\"fieldID\":101,\"name\":\"vector\",\"data_type\":101,\"type_params\":[{\"key\":\"dim\",\"value\":\"768\"}]}]},\"shards_num\":1,\"consistency_level\":2,\"partition_backups\":[{\"partition_id\":454569269145110216,\"partition_name\":\"_default\",\"collection_id\":454569269145110215,\"segment_backups\":[{\"segment_id\":454569269145510326,\"collection_id\":454569269145110215,\"partition_id\":454569269145110216,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145510326,\"backuped\":true,\"is_l0\":true}],\"size\":0,\"load_state\":\"NotLoad\"}],\"backup_timestamp\":454749234201886721,\"size\":0,\"has_index\":true,\"index_infos\":[{\"field_name\":\"id\",\"index_name\":\"id\"},{\"field_name\":\"vector\",\"index_name\":\"vector\",\"index_type\":\"IVF_FLAT\",\"params\":{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}}],\"load_state\":\"NotLoad\",\"backup_physical_timestamp\":1734730720,\"channel_checkpoints\":{\"by-dev-rootcoord-dml_0_454569269145110215v0\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwEgioWbh9bPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwLXRydWUggYDws86A5qcG\"}},{\"id\":\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\",\"state_code\":0,\"start_time\":1734730720,\"end_time\":1734730721,\"progress\":0,\"collection_id\":454569269145110270,\"db_name\":\"test_db\",\"collection_name\":\"test_col_ybosnxc\",\"schema\":{\"name\":\"test_col_ybosnxc\",\"fields\":[{\"fieldID\":100,\"name\":\"id\",\"is_primary_key\":true,\"data_type\":5},{\"fieldID\":101,\"name\":\"vector\",\"data_type\":101,\"type_params\":[{\"key\":\"dim\",\"value\":\"768\"}]}]},\"shards_num\":1,\"consistency_level\":2,\"partition_backups\":[{\"partition_id\":454569269145110271,\"partition_name\":\"_default\",\"collection_id\":454569269145110270,\"segment_backups\":[{\"segment_id\":454569269145511617,\"collection_id\":454569269145110270,\"partition_id\":454569269145110271,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145511617,\"backuped\":true,\"is_l0\":true}],\"size\":0,\"load_state\":\"NotLoad\"}],\"backup_timestamp\":454749234201886721,\"size\":0,\"has_index\":true,\"index_infos\":[{\"field_name\":\"id\",\"index_name\":\"id\"},{\"field_name\":\"vector\",\"index_name\":\"vector\",\"index_type\":\"IVF_FLAT\",\"params\":{\"index_type\":\"IVF_FLAT\",\"metric_type\":\"IP\",\"params\":\"{\\\"nlist\\\":128}\"}}],\"load_state\":\"NotLoad\",\"backup_physical_timestamp\":1734730720,\"channel_checkpoints\":{\"by-dev-rootcoord-dml_3_454569269145110270v0\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwEgiYWbSvbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwLXRydWUggYDws86A5qcG\"}}]}"]
[2024/12/20 21:38:41.273 +00:00] [DEBUG] [core/backup_impl_create_backup.go:758] ["partition meta"] [value="{\"infos\":[{\"partition_id\":454569269145110234,\"partition_name\":\"_default\",\"collection_id\":454569269145110233,\"size\":0,\"load_state\":\"NotLoad\"},{\"partition_id\":454569269145110253,\"partition_name\":\"_default\",\"collection_id\":454569269145110252,\"size\":0,\"load_state\":\"NotLoad\"},{\"partition_id\":454569269145110289,\"partition_name\":\"_default\",\"collection_id\":454569269145110288,\"size\":0,\"load_state\":\"NotLoad\"},{\"partition_id\":454569269145110216,\"partition_name\":\"_default\",\"collection_id\":454569269145110215,\"size\":0,\"load_state\":\"NotLoad\"},{\"partition_id\":454569269145110271,\"partition_name\":\"_default\",\"collection_id\":454569269145110270,\"size\":0,\"load_state\":\"NotLoad\"}]}"]
[2024/12/20 21:38:41.273 +00:00] [DEBUG] [core/backup_impl_create_backup.go:759] ["segment meta"] [value="{\"infos\":[{\"segment_id\":454569269145510753,\"collection_id\":454569269145110233,\"partition_id\":454569269145110234,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145510753,\"backuped\":true,\"is_l0\":true},{\"segment_id\":454569269145511184,\"collection_id\":454569269145110252,\"partition_id\":454569269145110253,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145511184,\"backuped\":true,\"is_l0\":true},{\"segment_id\":454569269145512044,\"collection_id\":454569269145110288,\"partition_id\":454569269145110289,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145512044,\"backuped\":true,\"is_l0\":true},{\"segment_id\":454569269145510326,\"collection_id\":454569269145110215,\"partition_id\":454569269145110216,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145510326,\"backuped\":true,\"is_l0\":true},{\"segment_id\":454569269145511617,\"collection_id\":454569269145110270,\"partition_id\":454569269145110271,\"num_of_rows\":5,\"deltalogs\":[{}],\"size\":0,\"group_id\":454569269145511617,\"backuped\":true,\"is_l0\":true}]}"]
[2024/12/20 21:38:41.273 +00:00] [DEBUG] [core/backup_impl_create_backup.go:778] ["channel cp meta"] [value="{\"test_col_ihroxqt\":[{\"name\":\"by-dev-rootcoord-dml_1\",\"position\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwEgijWYyObPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8xXzQ1NDU2OTI2OTE0NTExMDIzM3YwLXRydWUggYDws86A5qcG\"}],\"test_col_vmymifi\":[{\"name\":\"by-dev-rootcoord-dml_0\",\"position\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwEgioWbh9bPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8wXzQ1NDU2OTI2OTE0NTExMDIxNXYwLXRydWUggYDws86A5qcG\"}],\"test_col_wnzevip\":[{\"name\":\"by-dev-rootcoord-dml_2\",\"position\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwEgidWSifbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8yXzQ1NDU2OTI2OTE0NTExMDI1MnYwLXRydWUggYDws86A5qcG\"}],\"test_col_ybosnxc\":[{\"name\":\"by-dev-rootcoord-dml_3\",\"position\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwEgiYWbSvbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF8zXzQ1NDU2OTI2OTE0NTExMDI3MHYwLXRydWUggYDws86A5qcG\"}],\"test_col_yzpbkct\":[{\"name\":\"by-dev-rootcoord-dml_4\",\"position\":\"CitieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwEgiTWVjAbPROBho7ZGF0YW5vZGUtMi1ieS1kZXYtcm9vdGNvb3JkLWRtbF80XzQ1NDU2OTI2OTE0NTExMDI4OHYwLXRydWUggYDws86A5qcG\"}]}"]
[2024/12/20 21:38:42.768 +00:00] [INFO] [core/backup_impl_create_backup.go:787] ["finish writeBackupInfoMeta"] [path=backup/backup_2024_12_20_21_38_40_603473909/] [backupName=backup_2024_12_20_21_38_40_603473909] ["backup meta"="{\"id\":\"c75471ef-bf1a-11ef-bc5b-6649db5229cf\",\"state_code\":2,\"start_time\":1734730720901,\"end_time\":1734730721264,\"progress\":100,\"name\":\"backup_2024_12_20_21_38_40_603473909\",\"size\":0,\"milvus_version\":\"v2.5.0-beta\"}"]
[2024/12/20 21:38:42.768 +00:00] [INFO] [core/backup_impl_create_backup.go:744] ["finish backup all collections"] [requestId=c75471ef-bf1a-11ef-bc5b-6649db5229cf] [backupName=backup_2024_12_20_21_38_40_603473909] [collections="[]"] [async=false]
[2024/12/20 21:38:42.769 +00:00] [WARN] [core/backup_impl_create_backup.go:619] ["Resume Milvus GC Error:This warn won't fail the backup process. Pause GC can protect data not to be GCed during backup, it is necessary to backup very large data(cost more than a hour)."] [error="Get \http://localhost:9091/management/datacoord/garbage_collection/resume\: dial tcp [::1]:9091: connect: connection refused"]
success
duration:2 s
/app #

And again reproduced that we don't have binlogs folder for this new backup:
image

@huanghaoyuanhhy
Copy link
Collaborator

Thanks for the additional information.
Could you also provide the files from the Milvus path, or share a tree view of the directory structure?

@huanghaoyuanhhy
Copy link
Collaborator

After reviewing the configuration and logs, and doing some testing, I suspect the issue might be related to the minio.rootPath option in your configuration file. It’s currently set to file, but the more common setting is files.

If this is the cause, it’s worth noting that milvus-backup didn’t catch this during the process. I’ll work on adding validation to address this in future updates.

Could you try updating the configuration and let me know if it resolves the issue?

@dmitryzykov
Copy link
Author

@huanghaoyuanhhy
This time it works. Thank you for supporting us.

Initially we took example from default values file of milvus helm chart:

externalS3:
  enabled: true
  rootPath: ""

So our rootPath value was empty.

After we set minio.rootPath to "" in milvus-backup configuration whole process of backup\restore started work as expected.
After restore we can see 5 rows in each collection.

So definitely milvus backup should check whether it can copy valid bing log folder and throw error when it is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants