mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
split the dumps between v1 and v2
This commit is contained in:
parent
e389c088eb
commit
c4d898a265
6 changed files with 205 additions and 66 deletions
|
@ -75,7 +75,7 @@ pub struct Stats {
|
|||
}
|
||||
|
||||
impl IndexController {
|
||||
pub fn new(path: impl AsRef<Path>, options: &Opt) -> anyhow::Result<Self> {
|
||||
pub async fn new(path: impl AsRef<Path>, options: &Opt) -> anyhow::Result<Self> {
|
||||
let index_size = options.max_mdb_size.get_bytes() as usize;
|
||||
let update_store_size = options.max_udb_size.get_bytes() as usize;
|
||||
|
||||
|
@ -92,7 +92,7 @@ impl IndexController {
|
|||
&options.db_path,
|
||||
path,
|
||||
index_size,
|
||||
);
|
||||
).await?;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue