Add option to bypass dropped column erasure.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -103,7 +103,10 @@ fn configure_cfds(
|
||||
debug!("Creating new column {name:?} not previously found in existing database.");
|
||||
});
|
||||
|
||||
let missing_descriptors = missing.clone().map(|_| descriptor::DROPPED);
|
||||
let missing_descriptors = missing
|
||||
.clone()
|
||||
.filter(|_| config.rocksdb_drop_missing_columns)
|
||||
.map(|_| descriptor::DROPPED);
|
||||
|
||||
let cfopts: Vec<_> = desc
|
||||
.iter()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#![type_length_limit = "3072"]
|
||||
#![type_length_limit = "8192"]
|
||||
|
||||
extern crate rust_rocksdb as rocksdb;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user