mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
feat: refactor merge file on compactor (#4971)
This commit is contained in:
@@ -132,7 +132,7 @@ pub async fn cli() -> Result<bool, anyhow::Error> {
|
||||
match command.get_one::<String>("path") {
|
||||
Some(path) => {
|
||||
set_permission(path, 0o777)?;
|
||||
println!("init dir {} succeeded", path);
|
||||
println!("init dir {} successfully", path);
|
||||
}
|
||||
None => {
|
||||
return Err(anyhow::anyhow!("please set data path"));
|
||||
@@ -263,7 +263,7 @@ pub async fn cli() -> Result<bool, anyhow::Error> {
|
||||
let file = command.get_one::<String>("file").unwrap();
|
||||
match file_list::delete_parquet_file(file, true).await {
|
||||
Ok(_) => {
|
||||
println!("delete parquet file {} succeeded", file);
|
||||
println!("delete parquet file {} successfully", file);
|
||||
}
|
||||
Err(e) => {
|
||||
println!("delete parquet file {} failed, error: {}", file, e);
|
||||
@@ -291,6 +291,6 @@ pub async fn cli() -> Result<bool, anyhow::Error> {
|
||||
log::error!("waiting for db close failed, error: {}", e);
|
||||
}
|
||||
|
||||
println!("command {name} execute succeeded");
|
||||
println!("command {name} execute successfully");
|
||||
Ok(true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user