We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f71558 commit 0c969ceCopy full SHA for 0c969ce
polybase/src/migrate.rs
@@ -5,7 +5,7 @@ use indexer_rocksdb::{adaptor, RocksDBAdaptor};
5
use schema::record::{RecordRoot, RecordValue};
6
use schema::COLLECTION_SCHEMA;
7
use std::collections::HashMap;
8
-use tracing::info;
+use tracing::{info, warn};
9
10
const VERSION_SYSTEM_KEY: &str = "database_version";
11
@@ -63,7 +63,13 @@ async fn migrate_to_v1(store: &RocksDBAdaptor) -> Result<()> {
63
);
64
}
65
66
- store.set("Collection", &record_id, col, &schema).await?;
+ match store.set("Collection", &record_id, col, &schema).await {
67
+ Ok(_) => {}
68
+ Err(e) => warn!(
69
+ "error migrating collection: {} with err {}, record {:?}",
70
+ record_id, e, col
71
+ ),
72
+ };
73
74
75
// Udpate to v1
0 commit comments