Skip to content

Commit

Permalink
D src/meta/embedded/src/kv_api_impl.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Nov 15, 2024
1 parent f42d801 commit 207c9dd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 159 deletions.
53 changes: 0 additions & 53 deletions src/meta/embedded/src/kv_api_impl.rs

This file was deleted.

13 changes: 0 additions & 13 deletions src/meta/embedded/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,5 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//! Meta store backed with a local sled::Tree.
//!
//! `MetaEmbedded` talks the same API defined in `kvapi::KVApi`.
//!
//! `MetaEmbedded` behave exactly the same as a metasrv without distributed logs(raft), since it is driven by
//! a embedded raft `StateMachine`.

#![allow(clippy::uninlined_format_args)]

mod kv_api_impl;
mod meta_embedded;

pub use databend_common_meta_raft_store::mem_sm::MemMeta;
pub use databend_common_meta_raft_store::mem_sm::MemStateMachine;
pub use meta_embedded::MetaEmbedded;
88 changes: 0 additions & 88 deletions src/meta/embedded/src/meta_embedded.rs

This file was deleted.

5 changes: 0 additions & 5 deletions src/query/service/src/local/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ pub async fn query_local(query_sql: &str, output_format: &str) -> Result<()> {
root: path.join("_data").to_str().unwrap().to_owned(),
});

let meta_dir = path.join("_meta");
MetaEmbedded::init_global_meta_store(meta_dir.to_string_lossy().to_string())
.await
.unwrap();

GlobalServices::init(&conf).await?;
// init oss license manager
OssLicenseManager::init(conf.query.tenant_id.tenant_name().to_string()).unwrap();
Expand Down

0 comments on commit 207c9dd

Please sign in to comment.