Skip to content

Commit

Permalink
allow in-place modification of V0 revindex
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Aug 19, 2024
1 parent fc9f53b commit 2a3a14f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/src/index/revindex/disk_revindex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ impl RevIndex {
read_only: bool,
storage_spec: Option<&str>,
) -> Result<module::RevIndex> {
let opts = db_options();
let mut opts = db_options();
opts.create_if_missing(true);
opts.create_missing_column_families(true);

// prepare column family descriptors
let cfs = cf_descriptors();
Expand Down

0 comments on commit 2a3a14f

Please sign in to comment.