1#![allow(clippy::derive_partial_eq_without_eq)]
16#![feature(trait_alias)]
17#![feature(type_alias_impl_trait)]
18#![feature(map_try_insert)]
19#![feature(btree_extract_if)]
20#![feature(let_chains)]
21#![feature(error_generic_member_access)]
22#![feature(assert_matches)]
23#![feature(try_blocks)]
24#![cfg_attr(coverage, feature(coverage_attribute))]
25#![feature(custom_test_frameworks)]
26#![test_runner(risingwave_test_runner::test_runner::run_failpont_tests)]
27#![feature(impl_trait_in_assoc_type)]
28#![feature(anonymous_lifetime_in_impl_trait)]
29#![feature(duration_millis_float)]
30#![feature(iterator_try_reduce)]
31
32pub mod backup_restore;
33pub mod barrier;
34pub mod controller;
35#[cfg(not(madsim))] pub mod dashboard;
37pub mod error;
38pub mod hummock;
39pub mod manager;
40pub mod model;
41pub mod rpc;
42pub mod serving;
43pub mod storage;
44pub mod stream;
45pub mod telemetry;
46
47pub use error::{MetaError, MetaResult};
48use risingwave_common::config::MetaStoreConfig;
49pub use rpc::{ElectionClient, ElectionMember};
50
51use crate::manager::MetaOpts;
52
53#[derive(Debug, Clone)]
54pub enum MetaStoreBackend {
55 Mem,
56 Sql {
57 endpoint: String,
58 config: MetaStoreConfig,
59 },
60}