meta_srv/
lib.rs

1// Copyright 2023 Greptime Team
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#![feature(result_flattening)]
16#![feature(assert_matches)]
17#![feature(hash_set_entry)]
18
19pub mod bootstrap;
20pub mod cache_invalidator;
21pub mod cluster;
22pub mod election;
23pub mod error;
24mod failure_detector;
25pub mod flow_meta_alloc;
26pub mod handler;
27pub mod key;
28pub mod lease;
29pub mod metasrv;
30pub mod metrics;
31#[cfg(feature = "mock")]
32pub mod mocks;
33pub mod node_excluder;
34pub mod procedure;
35pub mod pubsub;
36pub mod region;
37pub mod selector;
38pub mod service;
39pub mod state;
40pub mod table_meta_alloc;
41
42pub use crate::error::Result;
43
44mod greptimedb_telemetry;
45
46#[cfg(test)]
47mod test_util;