mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 10:20:38 +00:00
feat: unify servers and mysql server in datanode (#172)
* address PR comments address PR comments use 3306 for mysql server's default port upgrade metric to version 0.20 move crate "servers" out of "common" make mysql io threads count configurable in config file add snafu backtrace for errors with source use common-server error for mysql server add test for grpc server refactor testing codes fix rustfmt check start mysql server in datanode move grpc server codes from datanode to common-servers feat: unify servers * rebase develop and resolve conflicts * remove an unnecessary todo Co-authored-by: luofucong <luofucong@greptime.com>
This commit is contained in:
@@ -65,7 +65,7 @@ impl Database {
|
||||
|
||||
let header = obj_result.header.context(MissingHeaderSnafu)?;
|
||||
|
||||
if StatusCode::is_success(header.code) {
|
||||
if !StatusCode::is_success(header.code) {
|
||||
return DataNodeSnafu {
|
||||
code: header.code,
|
||||
msg: header.err_msg,
|
||||
|
||||
@@ -4,6 +4,6 @@ mod error;
|
||||
|
||||
pub use self::{
|
||||
client::Client,
|
||||
database::Database,
|
||||
database::{Database, ObjectResult},
|
||||
error::{Error, Result},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user