Skip to content

show error when create table failed on tablet #3103

@vagetablechicken

Description

@vagetablechicken

Only a boolean status now. We should check the tablet log to know the error reason.

::openmldb::api::CreateTableResponse response;
bool ok = client_.SendRequest(&::openmldb::api::TabletServer_Stub::CreateTable, &request, &response,
FLAGS_request_timeout_ms * 2, 1);
if (ok && response.code() == 0) {
return true;
}
return false;
}

if (ok && response.code() == 0) {
return true;
}
return false;

Metadata

Metadata

Labels

enhancementNew feature or requeststorage-engineopenmldb storage engine. nameserver & tablet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions