chore: add connection id to Process (#245)
* add connection id to Process Signed-off-by: Lei, HUANG <mrsatangel@gmail.com> * feat/add-connection-id-to-process-info: **Update `server.proto` for ProcessInfo Message** - Changed the data type of `id` from `uint64` to `uint32` in the `ProcessInfo` message. - Removed the `connection_id` field from the `ProcessInfo` message. Affected file: - `proto/greptime/v1/frontend/server.proto` Signed-off-by: Lei, HUANG <mrsatangel@gmail.com> * feat/add-connection-id-to-process-info: Update `process_id` type in `server.proto` - Changed the data type of `process_id` from `uint64` to `uint32` in `proto/greptime/v1/frontend/server.proto` to align with system requirements. Signed-off-by: Lei, HUANG <mrsatangel@gmail.com> --------- Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ PROTOBUF_CONSTEXPR KillProcessRequest::KillProcessRequest(
|
|||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.server_addr_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
/*decltype(_impl_.server_addr_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.catalog_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.catalog_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.process_id_)*/uint64_t{0u}
|
, /*decltype(_impl_.process_id_)*/0u
|
||||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
struct KillProcessRequestDefaultTypeInternal {
|
struct KillProcessRequestDefaultTypeInternal {
|
||||||
PROTOBUF_CONSTEXPR KillProcessRequestDefaultTypeInternal()
|
PROTOBUF_CONSTEXPR KillProcessRequestDefaultTypeInternal()
|
||||||
@@ -84,8 +84,8 @@ PROTOBUF_CONSTEXPR ProcessInfo::ProcessInfo(
|
|||||||
, /*decltype(_impl_.query_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.query_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.client_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.client_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.frontend_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.frontend_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.id_)*/uint64_t{0u}
|
|
||||||
, /*decltype(_impl_.start_timestamp_)*/int64_t{0}
|
, /*decltype(_impl_.start_timestamp_)*/int64_t{0}
|
||||||
|
, /*decltype(_impl_.id_)*/0u
|
||||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
struct ProcessInfoDefaultTypeInternal {
|
struct ProcessInfoDefaultTypeInternal {
|
||||||
PROTOBUF_CONSTEXPR ProcessInfoDefaultTypeInternal()
|
PROTOBUF_CONSTEXPR ProcessInfoDefaultTypeInternal()
|
||||||
@@ -171,9 +171,9 @@ const char descriptor_table_protodef_greptime_2fv1_2ffrontend_2fserver_2eproto[]
|
|||||||
"4\n\tprocesses\030\001 \003(\0132!.greptime.v1.fronten"
|
"4\n\tprocesses\030\001 \003(\0132!.greptime.v1.fronten"
|
||||||
"d.ProcessInfo\"N\n\022KillProcessRequest\022\023\n\013s"
|
"d.ProcessInfo\"N\n\022KillProcessRequest\022\023\n\013s"
|
||||||
"erver_addr\030\001 \001(\t\022\017\n\007catalog\030\002 \001(\t\022\022\n\npro"
|
"erver_addr\030\001 \001(\t\022\017\n\007catalog\030\002 \001(\t\022\022\n\npro"
|
||||||
"cess_id\030\003 \001(\004\"&\n\023KillProcessResponse\022\017\n\007"
|
"cess_id\030\003 \001(\r\"&\n\023KillProcessResponse\022\017\n\007"
|
||||||
"success\030\001 \001(\010\"\205\001\n\013ProcessInfo\022\n\n\002id\030\001 \001("
|
"success\030\001 \001(\010\"\205\001\n\013ProcessInfo\022\n\n\002id\030\001 \001("
|
||||||
"\004\022\017\n\007catalog\030\002 \001(\t\022\017\n\007schemas\030\003 \003(\t\022\r\n\005q"
|
"\r\022\017\n\007catalog\030\002 \001(\t\022\017\n\007schemas\030\003 \003(\t\022\r\n\005q"
|
||||||
"uery\030\004 \001(\t\022\027\n\017start_timestamp\030\005 \001(\003\022\016\n\006c"
|
"uery\030\004 \001(\t\022\027\n\017start_timestamp\030\005 \001(\003\022\016\n\006c"
|
||||||
"lient\030\006 \001(\t\022\020\n\010frontend\030\007 \001(\t2\322\001\n\010Fronte"
|
"lient\030\006 \001(\t\022\020\n\010frontend\030\007 \001(\t2\322\001\n\010Fronte"
|
||||||
"nd\022b\n\013ListProcess\022(.greptime.v1.frontend"
|
"nd\022b\n\013ListProcess\022(.greptime.v1.frontend"
|
||||||
@@ -641,7 +641,7 @@ inline void KillProcessRequest::SharedCtor(
|
|||||||
new (&_impl_) Impl_{
|
new (&_impl_) Impl_{
|
||||||
decltype(_impl_.server_addr_){}
|
decltype(_impl_.server_addr_){}
|
||||||
, decltype(_impl_.catalog_){}
|
, decltype(_impl_.catalog_){}
|
||||||
, decltype(_impl_.process_id_){uint64_t{0u}}
|
, decltype(_impl_.process_id_){0u}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
};
|
};
|
||||||
_impl_.server_addr_.InitDefault();
|
_impl_.server_addr_.InitDefault();
|
||||||
@@ -681,7 +681,7 @@ void KillProcessRequest::Clear() {
|
|||||||
|
|
||||||
_impl_.server_addr_.ClearToEmpty();
|
_impl_.server_addr_.ClearToEmpty();
|
||||||
_impl_.catalog_.ClearToEmpty();
|
_impl_.catalog_.ClearToEmpty();
|
||||||
_impl_.process_id_ = uint64_t{0u};
|
_impl_.process_id_ = 0u;
|
||||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -711,10 +711,10 @@ const char* KillProcessRequest::_InternalParse(const char* ptr, ::_pbi::ParseCon
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
// uint64 process_id = 3;
|
// uint32 process_id = 3;
|
||||||
case 3:
|
case 3:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
|
||||||
_impl_.process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
_impl_.process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||||||
CHK_(ptr);
|
CHK_(ptr);
|
||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
@@ -768,10 +768,10 @@ uint8_t* KillProcessRequest::_InternalSerialize(
|
|||||||
2, this->_internal_catalog(), target);
|
2, this->_internal_catalog(), target);
|
||||||
}
|
}
|
||||||
|
|
||||||
// uint64 process_id = 3;
|
// uint32 process_id = 3;
|
||||||
if (this->_internal_process_id() != 0) {
|
if (this->_internal_process_id() != 0) {
|
||||||
target = stream->EnsureSpace(target);
|
target = stream->EnsureSpace(target);
|
||||||
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_process_id(), target);
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_process_id(), target);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
@@ -804,9 +804,9 @@ size_t KillProcessRequest::ByteSizeLong() const {
|
|||||||
this->_internal_catalog());
|
this->_internal_catalog());
|
||||||
}
|
}
|
||||||
|
|
||||||
// uint64 process_id = 3;
|
// uint32 process_id = 3;
|
||||||
if (this->_internal_process_id() != 0) {
|
if (this->_internal_process_id() != 0) {
|
||||||
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_process_id());
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_process_id());
|
||||||
}
|
}
|
||||||
|
|
||||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
@@ -1071,8 +1071,8 @@ ProcessInfo::ProcessInfo(const ProcessInfo& from)
|
|||||||
, decltype(_impl_.query_){}
|
, decltype(_impl_.query_){}
|
||||||
, decltype(_impl_.client_){}
|
, decltype(_impl_.client_){}
|
||||||
, decltype(_impl_.frontend_){}
|
, decltype(_impl_.frontend_){}
|
||||||
, decltype(_impl_.id_){}
|
|
||||||
, decltype(_impl_.start_timestamp_){}
|
, decltype(_impl_.start_timestamp_){}
|
||||||
|
, decltype(_impl_.id_){}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}};
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
@@ -1108,9 +1108,9 @@ ProcessInfo::ProcessInfo(const ProcessInfo& from)
|
|||||||
_this->_impl_.frontend_.Set(from._internal_frontend(),
|
_this->_impl_.frontend_.Set(from._internal_frontend(),
|
||||||
_this->GetArenaForAllocation());
|
_this->GetArenaForAllocation());
|
||||||
}
|
}
|
||||||
::memcpy(&_impl_.id_, &from._impl_.id_,
|
::memcpy(&_impl_.start_timestamp_, &from._impl_.start_timestamp_,
|
||||||
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.start_timestamp_) -
|
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.id_) -
|
||||||
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.start_timestamp_));
|
reinterpret_cast<char*>(&_impl_.start_timestamp_)) + sizeof(_impl_.id_));
|
||||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.frontend.ProcessInfo)
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.frontend.ProcessInfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1124,8 +1124,8 @@ inline void ProcessInfo::SharedCtor(
|
|||||||
, decltype(_impl_.query_){}
|
, decltype(_impl_.query_){}
|
||||||
, decltype(_impl_.client_){}
|
, decltype(_impl_.client_){}
|
||||||
, decltype(_impl_.frontend_){}
|
, decltype(_impl_.frontend_){}
|
||||||
, decltype(_impl_.id_){uint64_t{0u}}
|
|
||||||
, decltype(_impl_.start_timestamp_){int64_t{0}}
|
, decltype(_impl_.start_timestamp_){int64_t{0}}
|
||||||
|
, decltype(_impl_.id_){0u}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
};
|
};
|
||||||
_impl_.catalog_.InitDefault();
|
_impl_.catalog_.InitDefault();
|
||||||
@@ -1179,9 +1179,9 @@ void ProcessInfo::Clear() {
|
|||||||
_impl_.query_.ClearToEmpty();
|
_impl_.query_.ClearToEmpty();
|
||||||
_impl_.client_.ClearToEmpty();
|
_impl_.client_.ClearToEmpty();
|
||||||
_impl_.frontend_.ClearToEmpty();
|
_impl_.frontend_.ClearToEmpty();
|
||||||
::memset(&_impl_.id_, 0, static_cast<size_t>(
|
::memset(&_impl_.start_timestamp_, 0, static_cast<size_t>(
|
||||||
reinterpret_cast<char*>(&_impl_.start_timestamp_) -
|
reinterpret_cast<char*>(&_impl_.id_) -
|
||||||
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.start_timestamp_));
|
reinterpret_cast<char*>(&_impl_.start_timestamp_)) + sizeof(_impl_.id_));
|
||||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1191,10 +1191,10 @@ const char* ProcessInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* c
|
|||||||
uint32_t tag;
|
uint32_t tag;
|
||||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||||
switch (tag >> 3) {
|
switch (tag >> 3) {
|
||||||
// uint64 id = 1;
|
// uint32 id = 1;
|
||||||
case 1:
|
case 1:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||||
_impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
_impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||||||
CHK_(ptr);
|
CHK_(ptr);
|
||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
@@ -1291,10 +1291,10 @@ uint8_t* ProcessInfo::_InternalSerialize(
|
|||||||
uint32_t cached_has_bits = 0;
|
uint32_t cached_has_bits = 0;
|
||||||
(void) cached_has_bits;
|
(void) cached_has_bits;
|
||||||
|
|
||||||
// uint64 id = 1;
|
// uint32 id = 1;
|
||||||
if (this->_internal_id() != 0) {
|
if (this->_internal_id() != 0) {
|
||||||
target = stream->EnsureSpace(target);
|
target = stream->EnsureSpace(target);
|
||||||
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_id(), target);
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target);
|
||||||
}
|
}
|
||||||
|
|
||||||
// string catalog = 2;
|
// string catalog = 2;
|
||||||
@@ -1405,16 +1405,16 @@ size_t ProcessInfo::ByteSizeLong() const {
|
|||||||
this->_internal_frontend());
|
this->_internal_frontend());
|
||||||
}
|
}
|
||||||
|
|
||||||
// uint64 id = 1;
|
|
||||||
if (this->_internal_id() != 0) {
|
|
||||||
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id());
|
|
||||||
}
|
|
||||||
|
|
||||||
// int64 start_timestamp = 5;
|
// int64 start_timestamp = 5;
|
||||||
if (this->_internal_start_timestamp() != 0) {
|
if (this->_internal_start_timestamp() != 0) {
|
||||||
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_start_timestamp());
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_start_timestamp());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// uint32 id = 1;
|
||||||
|
if (this->_internal_id() != 0) {
|
||||||
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id());
|
||||||
|
}
|
||||||
|
|
||||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1446,12 +1446,12 @@ void ProcessInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR
|
|||||||
if (!from._internal_frontend().empty()) {
|
if (!from._internal_frontend().empty()) {
|
||||||
_this->_internal_set_frontend(from._internal_frontend());
|
_this->_internal_set_frontend(from._internal_frontend());
|
||||||
}
|
}
|
||||||
if (from._internal_id() != 0) {
|
|
||||||
_this->_internal_set_id(from._internal_id());
|
|
||||||
}
|
|
||||||
if (from._internal_start_timestamp() != 0) {
|
if (from._internal_start_timestamp() != 0) {
|
||||||
_this->_internal_set_start_timestamp(from._internal_start_timestamp());
|
_this->_internal_set_start_timestamp(from._internal_start_timestamp());
|
||||||
}
|
}
|
||||||
|
if (from._internal_id() != 0) {
|
||||||
|
_this->_internal_set_id(from._internal_id());
|
||||||
|
}
|
||||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1489,11 +1489,11 @@ void ProcessInfo::InternalSwap(ProcessInfo* other) {
|
|||||||
&other->_impl_.frontend_, rhs_arena
|
&other->_impl_.frontend_, rhs_arena
|
||||||
);
|
);
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||||||
PROTOBUF_FIELD_OFFSET(ProcessInfo, _impl_.start_timestamp_)
|
PROTOBUF_FIELD_OFFSET(ProcessInfo, _impl_.id_)
|
||||||
+ sizeof(ProcessInfo::_impl_.start_timestamp_)
|
+ sizeof(ProcessInfo::_impl_.id_)
|
||||||
- PROTOBUF_FIELD_OFFSET(ProcessInfo, _impl_.id_)>(
|
- PROTOBUF_FIELD_OFFSET(ProcessInfo, _impl_.start_timestamp_)>(
|
||||||
reinterpret_cast<char*>(&_impl_.id_),
|
reinterpret_cast<char*>(&_impl_.start_timestamp_),
|
||||||
reinterpret_cast<char*>(&other->_impl_.id_));
|
reinterpret_cast<char*>(&other->_impl_.start_timestamp_));
|
||||||
}
|
}
|
||||||
|
|
||||||
::PROTOBUF_NAMESPACE_ID::Metadata ProcessInfo::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata ProcessInfo::GetMetadata() const {
|
||||||
|
|||||||
@@ -541,13 +541,13 @@ class KillProcessRequest final :
|
|||||||
std::string* _internal_mutable_catalog();
|
std::string* _internal_mutable_catalog();
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// uint64 process_id = 3;
|
// uint32 process_id = 3;
|
||||||
void clear_process_id();
|
void clear_process_id();
|
||||||
uint64_t process_id() const;
|
uint32_t process_id() const;
|
||||||
void set_process_id(uint64_t value);
|
void set_process_id(uint32_t value);
|
||||||
private:
|
private:
|
||||||
uint64_t _internal_process_id() const;
|
uint32_t _internal_process_id() const;
|
||||||
void _internal_set_process_id(uint64_t value);
|
void _internal_set_process_id(uint32_t value);
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.frontend.KillProcessRequest)
|
// @@protoc_insertion_point(class_scope:greptime.v1.frontend.KillProcessRequest)
|
||||||
@@ -560,7 +560,7 @@ class KillProcessRequest final :
|
|||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_addr_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_addr_;
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_;
|
||||||
uint64_t process_id_;
|
uint32_t process_id_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
};
|
};
|
||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
@@ -842,8 +842,8 @@ class ProcessInfo final :
|
|||||||
kQueryFieldNumber = 4,
|
kQueryFieldNumber = 4,
|
||||||
kClientFieldNumber = 6,
|
kClientFieldNumber = 6,
|
||||||
kFrontendFieldNumber = 7,
|
kFrontendFieldNumber = 7,
|
||||||
kIdFieldNumber = 1,
|
|
||||||
kStartTimestampFieldNumber = 5,
|
kStartTimestampFieldNumber = 5,
|
||||||
|
kIdFieldNumber = 1,
|
||||||
};
|
};
|
||||||
// repeated string schemas = 3;
|
// repeated string schemas = 3;
|
||||||
int schemas_size() const;
|
int schemas_size() const;
|
||||||
@@ -925,15 +925,6 @@ class ProcessInfo final :
|
|||||||
std::string* _internal_mutable_frontend();
|
std::string* _internal_mutable_frontend();
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// uint64 id = 1;
|
|
||||||
void clear_id();
|
|
||||||
uint64_t id() const;
|
|
||||||
void set_id(uint64_t value);
|
|
||||||
private:
|
|
||||||
uint64_t _internal_id() const;
|
|
||||||
void _internal_set_id(uint64_t value);
|
|
||||||
public:
|
|
||||||
|
|
||||||
// int64 start_timestamp = 5;
|
// int64 start_timestamp = 5;
|
||||||
void clear_start_timestamp();
|
void clear_start_timestamp();
|
||||||
int64_t start_timestamp() const;
|
int64_t start_timestamp() const;
|
||||||
@@ -943,6 +934,15 @@ class ProcessInfo final :
|
|||||||
void _internal_set_start_timestamp(int64_t value);
|
void _internal_set_start_timestamp(int64_t value);
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// uint32 id = 1;
|
||||||
|
void clear_id();
|
||||||
|
uint32_t id() const;
|
||||||
|
void set_id(uint32_t value);
|
||||||
|
private:
|
||||||
|
uint32_t _internal_id() const;
|
||||||
|
void _internal_set_id(uint32_t value);
|
||||||
|
public:
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.frontend.ProcessInfo)
|
// @@protoc_insertion_point(class_scope:greptime.v1.frontend.ProcessInfo)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
@@ -956,8 +956,8 @@ class ProcessInfo final :
|
|||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr query_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr query_;
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_;
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frontend_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frontend_;
|
||||||
uint64_t id_;
|
|
||||||
int64_t start_timestamp_;
|
int64_t start_timestamp_;
|
||||||
|
uint32_t id_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
};
|
};
|
||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
@@ -1172,22 +1172,22 @@ inline void KillProcessRequest::set_allocated_catalog(std::string* catalog) {
|
|||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.frontend.KillProcessRequest.catalog)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.frontend.KillProcessRequest.catalog)
|
||||||
}
|
}
|
||||||
|
|
||||||
// uint64 process_id = 3;
|
// uint32 process_id = 3;
|
||||||
inline void KillProcessRequest::clear_process_id() {
|
inline void KillProcessRequest::clear_process_id() {
|
||||||
_impl_.process_id_ = uint64_t{0u};
|
_impl_.process_id_ = 0u;
|
||||||
}
|
}
|
||||||
inline uint64_t KillProcessRequest::_internal_process_id() const {
|
inline uint32_t KillProcessRequest::_internal_process_id() const {
|
||||||
return _impl_.process_id_;
|
return _impl_.process_id_;
|
||||||
}
|
}
|
||||||
inline uint64_t KillProcessRequest::process_id() const {
|
inline uint32_t KillProcessRequest::process_id() const {
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.frontend.KillProcessRequest.process_id)
|
// @@protoc_insertion_point(field_get:greptime.v1.frontend.KillProcessRequest.process_id)
|
||||||
return _internal_process_id();
|
return _internal_process_id();
|
||||||
}
|
}
|
||||||
inline void KillProcessRequest::_internal_set_process_id(uint64_t value) {
|
inline void KillProcessRequest::_internal_set_process_id(uint32_t value) {
|
||||||
|
|
||||||
_impl_.process_id_ = value;
|
_impl_.process_id_ = value;
|
||||||
}
|
}
|
||||||
inline void KillProcessRequest::set_process_id(uint64_t value) {
|
inline void KillProcessRequest::set_process_id(uint32_t value) {
|
||||||
_internal_set_process_id(value);
|
_internal_set_process_id(value);
|
||||||
// @@protoc_insertion_point(field_set:greptime.v1.frontend.KillProcessRequest.process_id)
|
// @@protoc_insertion_point(field_set:greptime.v1.frontend.KillProcessRequest.process_id)
|
||||||
}
|
}
|
||||||
@@ -1220,22 +1220,22 @@ inline void KillProcessResponse::set_success(bool value) {
|
|||||||
|
|
||||||
// ProcessInfo
|
// ProcessInfo
|
||||||
|
|
||||||
// uint64 id = 1;
|
// uint32 id = 1;
|
||||||
inline void ProcessInfo::clear_id() {
|
inline void ProcessInfo::clear_id() {
|
||||||
_impl_.id_ = uint64_t{0u};
|
_impl_.id_ = 0u;
|
||||||
}
|
}
|
||||||
inline uint64_t ProcessInfo::_internal_id() const {
|
inline uint32_t ProcessInfo::_internal_id() const {
|
||||||
return _impl_.id_;
|
return _impl_.id_;
|
||||||
}
|
}
|
||||||
inline uint64_t ProcessInfo::id() const {
|
inline uint32_t ProcessInfo::id() const {
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.frontend.ProcessInfo.id)
|
// @@protoc_insertion_point(field_get:greptime.v1.frontend.ProcessInfo.id)
|
||||||
return _internal_id();
|
return _internal_id();
|
||||||
}
|
}
|
||||||
inline void ProcessInfo::_internal_set_id(uint64_t value) {
|
inline void ProcessInfo::_internal_set_id(uint32_t value) {
|
||||||
|
|
||||||
_impl_.id_ = value;
|
_impl_.id_ = value;
|
||||||
}
|
}
|
||||||
inline void ProcessInfo::set_id(uint64_t value) {
|
inline void ProcessInfo::set_id(uint32_t value) {
|
||||||
_internal_set_id(value);
|
_internal_set_id(value);
|
||||||
// @@protoc_insertion_point(field_set:greptime.v1.frontend.ProcessInfo.id)
|
// @@protoc_insertion_point(field_set:greptime.v1.frontend.ProcessInfo.id)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1428,10 +1428,10 @@ public final class Server {
|
|||||||
* ID of process to kill.
|
* ID of process to kill.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 process_id = 3;</code>
|
* <code>uint32 process_id = 3;</code>
|
||||||
* @return The processId.
|
* @return The processId.
|
||||||
*/
|
*/
|
||||||
long getProcessId();
|
int getProcessId();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code greptime.v1.frontend.KillProcessRequest}
|
* Protobuf type {@code greptime.v1.frontend.KillProcessRequest}
|
||||||
@@ -1494,7 +1494,7 @@ public final class Server {
|
|||||||
}
|
}
|
||||||
case 24: {
|
case 24: {
|
||||||
|
|
||||||
processId_ = input.readUInt64();
|
processId_ = input.readUInt32();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
@@ -1624,17 +1624,17 @@ public final class Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final int PROCESS_ID_FIELD_NUMBER = 3;
|
public static final int PROCESS_ID_FIELD_NUMBER = 3;
|
||||||
private long processId_;
|
private int processId_;
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* ID of process to kill.
|
* ID of process to kill.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 process_id = 3;</code>
|
* <code>uint32 process_id = 3;</code>
|
||||||
* @return The processId.
|
* @return The processId.
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public long getProcessId() {
|
public int getProcessId() {
|
||||||
return processId_;
|
return processId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1658,8 +1658,8 @@ public final class Server {
|
|||||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
||||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, catalog_);
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, catalog_);
|
||||||
}
|
}
|
||||||
if (processId_ != 0L) {
|
if (processId_ != 0) {
|
||||||
output.writeUInt64(3, processId_);
|
output.writeUInt32(3, processId_);
|
||||||
}
|
}
|
||||||
unknownFields.writeTo(output);
|
unknownFields.writeTo(output);
|
||||||
}
|
}
|
||||||
@@ -1676,9 +1676,9 @@ public final class Server {
|
|||||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
||||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, catalog_);
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, catalog_);
|
||||||
}
|
}
|
||||||
if (processId_ != 0L) {
|
if (processId_ != 0) {
|
||||||
size += com.google.protobuf.CodedOutputStream
|
size += com.google.protobuf.CodedOutputStream
|
||||||
.computeUInt64Size(3, processId_);
|
.computeUInt32Size(3, processId_);
|
||||||
}
|
}
|
||||||
size += unknownFields.getSerializedSize();
|
size += unknownFields.getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
@@ -1717,8 +1717,7 @@ public final class Server {
|
|||||||
hash = (37 * hash) + CATALOG_FIELD_NUMBER;
|
hash = (37 * hash) + CATALOG_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getCatalog().hashCode();
|
hash = (53 * hash) + getCatalog().hashCode();
|
||||||
hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER;
|
hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
hash = (53 * hash) + getProcessId();
|
||||||
getProcessId());
|
|
||||||
hash = (29 * hash) + unknownFields.hashCode();
|
hash = (29 * hash) + unknownFields.hashCode();
|
||||||
memoizedHashCode = hash;
|
memoizedHashCode = hash;
|
||||||
return hash;
|
return hash;
|
||||||
@@ -1856,7 +1855,7 @@ public final class Server {
|
|||||||
|
|
||||||
catalog_ = "";
|
catalog_ = "";
|
||||||
|
|
||||||
processId_ = 0L;
|
processId_ = 0;
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -1943,7 +1942,7 @@ public final class Server {
|
|||||||
catalog_ = other.catalog_;
|
catalog_ = other.catalog_;
|
||||||
onChanged();
|
onChanged();
|
||||||
}
|
}
|
||||||
if (other.getProcessId() != 0L) {
|
if (other.getProcessId() != 0) {
|
||||||
setProcessId(other.getProcessId());
|
setProcessId(other.getProcessId());
|
||||||
}
|
}
|
||||||
this.mergeUnknownFields(other.unknownFields);
|
this.mergeUnknownFields(other.unknownFields);
|
||||||
@@ -2167,17 +2166,17 @@ public final class Server {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private long processId_ ;
|
private int processId_ ;
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* ID of process to kill.
|
* ID of process to kill.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 process_id = 3;</code>
|
* <code>uint32 process_id = 3;</code>
|
||||||
* @return The processId.
|
* @return The processId.
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public long getProcessId() {
|
public int getProcessId() {
|
||||||
return processId_;
|
return processId_;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -2185,11 +2184,11 @@ public final class Server {
|
|||||||
* ID of process to kill.
|
* ID of process to kill.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 process_id = 3;</code>
|
* <code>uint32 process_id = 3;</code>
|
||||||
* @param value The processId to set.
|
* @param value The processId to set.
|
||||||
* @return This builder for chaining.
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
public Builder setProcessId(long value) {
|
public Builder setProcessId(int value) {
|
||||||
|
|
||||||
processId_ = value;
|
processId_ = value;
|
||||||
onChanged();
|
onChanged();
|
||||||
@@ -2200,12 +2199,12 @@ public final class Server {
|
|||||||
* ID of process to kill.
|
* ID of process to kill.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 process_id = 3;</code>
|
* <code>uint32 process_id = 3;</code>
|
||||||
* @return This builder for chaining.
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
public Builder clearProcessId() {
|
public Builder clearProcessId() {
|
||||||
|
|
||||||
processId_ = 0L;
|
processId_ = 0;
|
||||||
onChanged();
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -2782,10 +2781,10 @@ public final class Server {
|
|||||||
* ID.
|
* ID.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 id = 1;</code>
|
* <code>uint32 id = 1;</code>
|
||||||
* @return The id.
|
* @return The id.
|
||||||
*/
|
*/
|
||||||
long getId();
|
int getId();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
@@ -2971,7 +2970,7 @@ public final class Server {
|
|||||||
break;
|
break;
|
||||||
case 8: {
|
case 8: {
|
||||||
|
|
||||||
id_ = input.readUInt64();
|
id_ = input.readUInt32();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 18: {
|
case 18: {
|
||||||
@@ -3050,17 +3049,17 @@ public final class Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final int ID_FIELD_NUMBER = 1;
|
public static final int ID_FIELD_NUMBER = 1;
|
||||||
private long id_;
|
private int id_;
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* ID.
|
* ID.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 id = 1;</code>
|
* <code>uint32 id = 1;</code>
|
||||||
* @return The id.
|
* @return The id.
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public long getId() {
|
public int getId() {
|
||||||
return id_;
|
return id_;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3328,8 +3327,8 @@ public final class Server {
|
|||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
throws java.io.IOException {
|
throws java.io.IOException {
|
||||||
if (id_ != 0L) {
|
if (id_ != 0) {
|
||||||
output.writeUInt64(1, id_);
|
output.writeUInt32(1, id_);
|
||||||
}
|
}
|
||||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
||||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, catalog_);
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, catalog_);
|
||||||
@@ -3358,9 +3357,9 @@ public final class Server {
|
|||||||
if (size != -1) return size;
|
if (size != -1) return size;
|
||||||
|
|
||||||
size = 0;
|
size = 0;
|
||||||
if (id_ != 0L) {
|
if (id_ != 0) {
|
||||||
size += com.google.protobuf.CodedOutputStream
|
size += com.google.protobuf.CodedOutputStream
|
||||||
.computeUInt64Size(1, id_);
|
.computeUInt32Size(1, id_);
|
||||||
}
|
}
|
||||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalog_)) {
|
||||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, catalog_);
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, catalog_);
|
||||||
@@ -3427,8 +3426,7 @@ public final class Server {
|
|||||||
int hash = 41;
|
int hash = 41;
|
||||||
hash = (19 * hash) + getDescriptor().hashCode();
|
hash = (19 * hash) + getDescriptor().hashCode();
|
||||||
hash = (37 * hash) + ID_FIELD_NUMBER;
|
hash = (37 * hash) + ID_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
hash = (53 * hash) + getId();
|
||||||
getId());
|
|
||||||
hash = (37 * hash) + CATALOG_FIELD_NUMBER;
|
hash = (37 * hash) + CATALOG_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getCatalog().hashCode();
|
hash = (53 * hash) + getCatalog().hashCode();
|
||||||
if (getSchemasCount() > 0) {
|
if (getSchemasCount() > 0) {
|
||||||
@@ -3577,7 +3575,7 @@ public final class Server {
|
|||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public Builder clear() {
|
public Builder clear() {
|
||||||
super.clear();
|
super.clear();
|
||||||
id_ = 0L;
|
id_ = 0;
|
||||||
|
|
||||||
catalog_ = "";
|
catalog_ = "";
|
||||||
|
|
||||||
@@ -3677,7 +3675,7 @@ public final class Server {
|
|||||||
|
|
||||||
public Builder mergeFrom(io.greptime.v1.frontend.Server.ProcessInfo other) {
|
public Builder mergeFrom(io.greptime.v1.frontend.Server.ProcessInfo other) {
|
||||||
if (other == io.greptime.v1.frontend.Server.ProcessInfo.getDefaultInstance()) return this;
|
if (other == io.greptime.v1.frontend.Server.ProcessInfo.getDefaultInstance()) return this;
|
||||||
if (other.getId() != 0L) {
|
if (other.getId() != 0) {
|
||||||
setId(other.getId());
|
setId(other.getId());
|
||||||
}
|
}
|
||||||
if (!other.getCatalog().isEmpty()) {
|
if (!other.getCatalog().isEmpty()) {
|
||||||
@@ -3739,17 +3737,17 @@ public final class Server {
|
|||||||
}
|
}
|
||||||
private int bitField0_;
|
private int bitField0_;
|
||||||
|
|
||||||
private long id_ ;
|
private int id_ ;
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* ID.
|
* ID.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 id = 1;</code>
|
* <code>uint32 id = 1;</code>
|
||||||
* @return The id.
|
* @return The id.
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public long getId() {
|
public int getId() {
|
||||||
return id_;
|
return id_;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -3757,11 +3755,11 @@ public final class Server {
|
|||||||
* ID.
|
* ID.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 id = 1;</code>
|
* <code>uint32 id = 1;</code>
|
||||||
* @param value The id to set.
|
* @param value The id to set.
|
||||||
* @return This builder for chaining.
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
public Builder setId(long value) {
|
public Builder setId(int value) {
|
||||||
|
|
||||||
id_ = value;
|
id_ = value;
|
||||||
onChanged();
|
onChanged();
|
||||||
@@ -3772,12 +3770,12 @@ public final class Server {
|
|||||||
* ID.
|
* ID.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>uint64 id = 1;</code>
|
* <code>uint32 id = 1;</code>
|
||||||
* @return This builder for chaining.
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
public Builder clearId() {
|
public Builder clearId() {
|
||||||
|
|
||||||
id_ = 0L;
|
id_ = 0;
|
||||||
onChanged();
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -4447,9 +4445,9 @@ public final class Server {
|
|||||||
"4\n\tprocesses\030\001 \003(\0132!.greptime.v1.fronten" +
|
"4\n\tprocesses\030\001 \003(\0132!.greptime.v1.fronten" +
|
||||||
"d.ProcessInfo\"N\n\022KillProcessRequest\022\023\n\013s" +
|
"d.ProcessInfo\"N\n\022KillProcessRequest\022\023\n\013s" +
|
||||||
"erver_addr\030\001 \001(\t\022\017\n\007catalog\030\002 \001(\t\022\022\n\npro" +
|
"erver_addr\030\001 \001(\t\022\017\n\007catalog\030\002 \001(\t\022\022\n\npro" +
|
||||||
"cess_id\030\003 \001(\004\"&\n\023KillProcessResponse\022\017\n\007" +
|
"cess_id\030\003 \001(\r\"&\n\023KillProcessResponse\022\017\n\007" +
|
||||||
"success\030\001 \001(\010\"\205\001\n\013ProcessInfo\022\n\n\002id\030\001 \001(" +
|
"success\030\001 \001(\010\"\205\001\n\013ProcessInfo\022\n\n\002id\030\001 \001(" +
|
||||||
"\004\022\017\n\007catalog\030\002 \001(\t\022\017\n\007schemas\030\003 \003(\t\022\r\n\005q" +
|
"\r\022\017\n\007catalog\030\002 \001(\t\022\017\n\007schemas\030\003 \003(\t\022\r\n\005q" +
|
||||||
"uery\030\004 \001(\t\022\027\n\017start_timestamp\030\005 \001(\003\022\016\n\006c" +
|
"uery\030\004 \001(\t\022\027\n\017start_timestamp\030\005 \001(\003\022\016\n\006c" +
|
||||||
"lient\030\006 \001(\t\022\020\n\010frontend\030\007 \001(\t2\322\001\n\010Fronte" +
|
"lient\030\006 \001(\t\022\020\n\010frontend\030\007 \001(\t2\322\001\n\010Fronte" +
|
||||||
"nd\022b\n\013ListProcess\022(.greptime.v1.frontend" +
|
"nd\022b\n\013ListProcess\022(.greptime.v1.frontend" +
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ message KillProcessRequest {
|
|||||||
// Catalog of process to kill.
|
// Catalog of process to kill.
|
||||||
string catalog = 2;
|
string catalog = 2;
|
||||||
// ID of process to kill.
|
// ID of process to kill.
|
||||||
uint64 process_id = 3;
|
uint32 process_id = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message KillProcessResponse {
|
message KillProcessResponse {
|
||||||
@@ -51,7 +51,7 @@ message KillProcessResponse {
|
|||||||
|
|
||||||
message ProcessInfo {
|
message ProcessInfo {
|
||||||
// ID.
|
// ID.
|
||||||
uint64 id = 1;
|
uint32 id = 1;
|
||||||
// Catalog of process.
|
// Catalog of process.
|
||||||
string catalog = 2;
|
string catalog = 2;
|
||||||
// Involved schemas.
|
// Involved schemas.
|
||||||
|
|||||||
Reference in New Issue
Block a user