mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-18 16:54:09 +00:00
* feat: add relational region engine skeleton and registration Add a read-only relational RegionEngine (create/open/drop lifecycle) and register it as the 4th engine in build_store_engines alongside mito/metric/file. Add a datanode-level test asserting all 4 engines are registered. Signed-off-by: tian1220A <1573612521@qq.com> * feat: add relational connection and idempotent region lifecycle Move ConnectionInfo into relational-engine (DSN parsing + redacted rendering), place the RelationalOptions/RELATIONAL_META_KEY serialization contract in table::requests, make CREATE idempotent by comparing the persisted manifest definition against the incoming request (RegionExists on mismatch), and drop the empty EngineConfig placeholder. Signed-off-by: tian1220A <1573612521@qq.com> * refactor: address review comments on relational region engine - remove connection.rs (only used by its own tests); it will be reintroduced when connection handling is wired up - drop RelationalOptions::version (not validated or used to select a deserialization format) - validate an idempotent create against the existing region definition (region id / schema / primary key / options) and return Unexpected on mismatch, with a reason field on RegionExists - use serde.workspace and remove the empty [features] section - cargo fmt Signed-off-by: tian1220A <1573612521@qq.com> * fix: adapt relational engine to latest main - implement RegionEngine::set_region_role_with_lease (no-op lease, the engine takes no writes so no lease is needed) - pass node_id to build_object_store_manager in the registration test - drop stale url dependency from the relational-engine lock entry Signed-off-by: tian1220A <1573612521@qq.com> * ci: register relational-engine in scope rules Signed-off-by: tian1220A <1573612521@qq.com> * fix: remove table self-dependency from Cargo.lock Signed-off-by: tian1220A <1573612521@qq.com> --------- Signed-off-by: tian1220A <1573612521@qq.com>
89 lines
2.3 KiB
TOML
89 lines
2.3 KiB
TOML
[package]
|
|
name = "datanode"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[features]
|
|
testing = []
|
|
enterprise = ["mito2/enterprise"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
api.workspace = true
|
|
arrow-flight.workspace = true
|
|
async-trait.workspace = true
|
|
bytes.workspace = true
|
|
catalog.workspace = true
|
|
client.workspace = true
|
|
common-base.workspace = true
|
|
common-catalog.workspace = true
|
|
common-config.workspace = true
|
|
common-datasource.workspace = true
|
|
common-error.workspace = true
|
|
common-function.workspace = true
|
|
common-greptimedb-telemetry.workspace = true
|
|
common-grpc.workspace = true
|
|
common-macro.workspace = true
|
|
common-meta.workspace = true
|
|
common-options.workspace = true
|
|
common-procedure.workspace = true
|
|
common-query.workspace = true
|
|
common-recordbatch.workspace = true
|
|
common-runtime.workspace = true
|
|
common-stat.workspace = true
|
|
common-telemetry.workspace = true
|
|
common-time.workspace = true
|
|
common-version.workspace = true
|
|
common-wal.workspace = true
|
|
common-workload.workspace = true
|
|
dashmap.workspace = true
|
|
datafusion.workspace = true
|
|
datafusion-common.workspace = true
|
|
datafusion-expr.workspace = true
|
|
datatypes.workspace = true
|
|
either.workspace = true
|
|
file-engine.workspace = true
|
|
futures.workspace = true
|
|
futures-util.workspace = true
|
|
hostname.workspace = true
|
|
humantime-serde.workspace = true
|
|
lazy_static.workspace = true
|
|
log-store.workspace = true
|
|
meta-client.workspace = true
|
|
metric-engine.workspace = true
|
|
mito2.workspace = true
|
|
num_cpus.workspace = true
|
|
object-store.workspace = true
|
|
partition.workspace = true
|
|
prometheus.workspace = true
|
|
prost.workspace = true
|
|
query.workspace = true
|
|
rand.workspace = true
|
|
relational-engine.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
servers.workspace = true
|
|
session.workspace = true
|
|
snafu.workspace = true
|
|
store-api.workspace = true
|
|
strum.workspace = true
|
|
table.workspace = true
|
|
tokio.workspace = true
|
|
toml.workspace = true
|
|
tonic.workspace = true
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
cache.workspace = true
|
|
common-meta = { workspace = true, features = ["testing"] }
|
|
common-query.workspace = true
|
|
common-test-util.workspace = true
|
|
datafusion-common.workspace = true
|
|
log-store = { workspace = true, features = ["testing"] }
|
|
mito2 = { workspace = true, features = ["test"] }
|
|
session.workspace = true
|