Skip to main content

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
15pub mod bootstrap;
16pub mod cache_invalidator;
17pub mod cluster;
18pub mod discovery;
19pub mod error;
20pub mod event;
21mod failure_detector;
22pub mod gc;
23pub mod handler;
24pub mod key;
25pub mod metasrv;
26pub mod metrics;
27#[cfg(feature = "mock")]
28pub mod mocks;
29pub mod peer;
30pub mod procedure;
31pub mod pubsub;
32pub mod region;
33pub mod selector;
34pub mod service;
35pub mod state;
36pub mod utils;
37
38pub use crate::error::Result;
39
40mod greptimedb_telemetry;
41
42#[cfg(test)]
43mod test_util;