feat: router impl (#363)

* feat: heartbeat lease & route api

* feat: batchput&cas

* chore: demo&ut

* chore: by cr

* chore: datanode selector

* chore: rename with_key_range to with_range

* chore: ut
This commit is contained in:
Jiachun Feng
2022-11-01 11:45:05 +08:00
committed by GitHub
parent 518b665f1e
commit dacfd12b8f
31 changed files with 1487 additions and 285 deletions

View File

@@ -117,5 +117,6 @@ mod tests {
assert_eq!("127.0.0.1:3002".to_string(), options.bind_addr);
assert_eq!("0.0.0.0:3002".to_string(), options.server_addr);
assert_eq!("127.0.0.1:2380".to_string(), options.store_addr);
assert_eq!(30, options.datanode_lease_secs);
}
}