Better diagnostics and more basic flow structure
This commit is contained in:
@@ -34,6 +34,7 @@ fn simple_fetch() {
|
||||
taskrun::run(async {
|
||||
let t1 = chrono::Utc::now();
|
||||
let node = Node {
|
||||
id: 0,
|
||||
host: "localhost".into(),
|
||||
port: 8360,
|
||||
data_base_path: todo!(),
|
||||
@@ -45,9 +46,9 @@ fn simple_fetch() {
|
||||
channel_config: ChannelConfig {
|
||||
channel: Channel {
|
||||
backend: "sf-databuffer".into(),
|
||||
keyspace: 3,
|
||||
name: "S10BC01-DBAM070:BAM_CH1_NORM".into(),
|
||||
},
|
||||
keyspace: 3,
|
||||
time_bin_size: DAY,
|
||||
scalar_type: ScalarType::F64,
|
||||
shape: Shape::Wave(todo!()),
|
||||
|
||||
@@ -54,11 +54,12 @@ async fn get_cached_0_inner() -> Result<(), Error> {
|
||||
|
||||
|
||||
fn test_cluster() -> Cluster {
|
||||
let nodes = (0..1).into_iter().map(|k| {
|
||||
let nodes = (0..1).into_iter().map(|id| {
|
||||
let node = Node {
|
||||
id,
|
||||
host: "localhost".into(),
|
||||
port: 8360 + k,
|
||||
data_base_path: format!("../tmpdata/node{:02}", k).into(),
|
||||
port: 8360 + id as u16,
|
||||
data_base_path: format!("../tmpdata/node{:02}", id).into(),
|
||||
ksprefix: "ks".into(),
|
||||
split: 0,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user