fix: Rename ioxd_router2 to ioxd_router

pull/24376/head
Carol (Nichols || Goulding) 2022-05-05 15:38:32 -04:00
parent 068096e7e1
commit 0650a9bb77
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
7 changed files with 15 additions and 16 deletions

4
Cargo.lock generated
View File

@ -2169,7 +2169,7 @@ dependencies = [
"ioxd_compactor",
"ioxd_ingester",
"ioxd_querier",
"ioxd_router2",
"ioxd_router",
"ioxd_test",
"itertools",
"libc",
@ -2671,7 +2671,7 @@ dependencies = [
]
[[package]]
name = "ioxd_router2"
name = "ioxd_router"
version = "0.1.0"
dependencies = [
"arrow-flight",

View File

@ -33,7 +33,7 @@ members = [
"ioxd_compactor",
"ioxd_ingester",
"ioxd_querier",
"ioxd_router2",
"ioxd_router",
"ioxd_test",
"logfmt",
"metric",

View File

@ -22,7 +22,7 @@ iox_catalog = { path = "../iox_catalog" }
ioxd_common = { path = "../ioxd_common"}
ioxd_compactor = { path = "../ioxd_compactor"}
ioxd_ingester = { path = "../ioxd_ingester"}
ioxd_router2 = { path = "../ioxd_router2"}
ioxd_router = { path = "../ioxd_router"}
ioxd_querier = { path = "../ioxd_querier"}
ioxd_test = { path = "../ioxd_test"}
logfmt = { path = "../logfmt" }

View File

@ -14,7 +14,7 @@ use ioxd_common::{
use ioxd_compactor::create_compactor_server_type;
use ioxd_ingester::create_ingester_server_type;
use ioxd_querier::create_querier_server_type;
use ioxd_router2::create_router2_server_type;
use ioxd_router::create_router2_server_type;
use object_store::{DynObjectStore, ObjectStoreImpl};
use observability_deps::tracing::*;
use query::exec::Executor;
@ -56,7 +56,7 @@ pub enum Error {
ObjectStoreParsing(#[from] clap_blocks::object_store::ParseError),
#[error("Router2 error: {0}")]
Router2(#[from] ioxd_router2::Error),
Router2(#[from] ioxd_router::Error),
#[error("Ingester error: {0}")]
Ingester(#[from] ioxd_ingester::Error),

View File

@ -1,20 +1,19 @@
//! Implementation of command line option for running router2
use std::sync::Arc;
use super::main;
use clap_blocks::{
catalog_dsn::CatalogDsnConfig, run_config::RunConfig, write_buffer::WriteBufferConfig,
};
use ioxd_common::server_type::{CommonServerState, CommonServerStateError};
use ioxd_common::Service;
use ioxd_router2::create_router2_server_type;
use ioxd_common::{
server_type::{CommonServerState, CommonServerStateError},
Service,
};
use ioxd_router::create_router2_server_type;
use object_store::{instrumentation::ObjectStoreMetrics, DynObjectStore, ObjectStoreImpl};
use observability_deps::tracing::*;
use std::sync::Arc;
use thiserror::Error;
use super::main;
#[derive(Debug, Error)]
pub enum Error {
#[error("Run: {0}")]
@ -27,7 +26,7 @@ pub enum Error {
ObjectStoreParsing(#[from] clap_blocks::object_store::ParseError),
#[error("Creating router: {0}")]
Router(#[from] ioxd_router2::Error),
Router(#[from] ioxd_router::Error),
#[error("Catalog DSN error: {0}")]
CatalogDsn(#[from] clap_blocks::catalog_dsn::Error),

View File

@ -1,5 +1,5 @@
[package]
name = "ioxd_router2"
name = "ioxd_router"
version = "0.1.0"
edition = "2021"