Commit Graph

129 Commits

Author SHA1 Message Date
Ruihang Xia 39b0ea8d08 fix: minor changes to region server (#88)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-28 11:00:55 +08:00
LFC 4d9ed36291 fix: typo (#84)
* fix: typo

* rebase main
2023-08-25 17:40:10 +08:00
Ruihang Xia 708866d505 chore: rename RegionServer to Region (#85)
* chore: rename RegionServer to Region

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* add stream api

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-25 17:01:40 +08:00
JeremyHi 3489b47421 feat: from valuedata for value (#82) 2023-08-21 11:20:56 +08:00
Ruihang Xia c30a2607be chore: pub region mod (#81)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-16 21:48:09 +08:00
JeremyHi fa79839bbb feat: interal type for row protocol, and multi row deletes (#80) 2023-08-16 15:09:24 +08:00
Ruihang Xia dbb8e524ca feat: define region server related messages (#79)
* feat: define region server related messages

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* finalise

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* generate language code

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* add missing field

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* push region id down

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* remove type alias for region id and column id

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* define query request

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* remove old java file

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* remove go code

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-15 18:43:23 +08:00
Niwaka f3a7cdff3c feat: handle multiple DeleteRequest (#76) 2023-08-15 15:24:12 +08:00
Lei, HUANG 9b68af55c0 feat: impl serde for semantic type (#77)
* feat: derive Serialize/Deserialize for SemanticType

* feat: derive Serialize/Deserialize for SemanticType
2023-08-14 22:05:55 +08:00
Yingwen a6897eb668 feat: mito wal proto (#75)
* feat: row-based insert

* feat: null value

* roback: null value

* feat: delete by row

* feat: add wal proto

* feat: generate code

* feat: rename mutation type to op type

* feat: Generate code

* feat: An entry per region

* feat: remove region id from WalEntry

* refactor: move mito/wal to wal

* feat: gen

* feat: remove mito

---------

Co-authored-by: jiachun <jiachun_fjc@163.com>
2023-08-14 20:08:34 +08:00
JeremyHi d9167cab47 feat: row-based insert (#72)
* feat: row-based insert

* feat: null value

* roback: null value

* feat: delete by row

* feat: rename Value to Field
2023-08-14 12:15:44 +08:00
Zou Wei 940694cfd0 feat: add interval column type (#74)
* feat: add interval column type

* chore: add empty line
2023-08-03 11:50:19 +08:00
JeremyHi eeae2d0dfa refactor: common semantic type (#73) 2023-08-01 18:51:10 +08:00
Vanish e665c9ff3e feat: truncate table (#70) 2023-07-20 16:48:54 +08:00
LFC 8405064fda refactor: use table id in route request (#69) 2023-07-20 15:35:51 +08:00
Bamboo1 16b327e3d1 fix: modify cpp grpc CMakeLists.txt (#68)
* fix: add cpp grpc CMakeLists.txt

Signed-off-by: ZhuZiyi <zyzhu2001@gmail.com>

* fix: add a new line at the end

Signed-off-by: ZhuZiyi <zyzhu2001@gmail.com>

* fix: modify cpp grpc CMakeLists.txt

Signed-off-by: ZhuZiyi <zyzhu2001@gmail.com>

---------

Signed-off-by: ZhuZiyi <zyzhu2001@gmail.com>
2023-07-18 14:20:00 +08:00
JeremyHi bec16e50c9 feat: add status for reponse header (#65) 2023-07-17 11:55:51 +08:00
LFC 6e89daefca refactor: remove unused grpc methods (#67) 2023-07-17 11:55:01 +08:00
Bamboo1 9b23f284e9 fix: add cpp grpc CMakeLists.txt (#66)
* fix: add cpp grpc CMakeLists.txt

Signed-off-by: ZhuZiyi <zyzhu2001@gmail.com>

* fix: add a new line at the end

Signed-off-by: ZhuZiyi <zyzhu2001@gmail.com>

---------

Signed-off-by: ZhuZiyi <zyzhu2001@gmail.com>
2023-07-15 19:28:05 +08:00
Lei, HUANG f2b48c7fd9 fix: generate cpp grpc services (#64) 2023-07-13 19:07:56 +08:00
dennis zhuang ab5bc4849a feat: adds time column type (#62) 2023-07-13 11:44:28 +08:00
LFC b3039bef25 refactor: using table id in RouteRequest and DeleteRequest (#61)
* refactor: using table id in RouteRequest and DeleteRequest
2023-07-12 17:46:50 +08:00
Weny Xu f539d95a4f feat: add table version to alter expr (#58) 2023-07-12 11:00:43 +08:00
Lei, HUANG 7de3f31fd0 feat: support c++ targets (#60)
* feat: support c++ targets

* fix: compile all protos under ./proto

* chore: Apply suggestions from code review

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
2023-07-11 19:33:39 +08:00
Ruihang Xia 53d0a7c5b0 feat: add TraceID and SpanID in request header (#59)
* feat: add TraceID and SpanID in request header

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* chore: gen go and java

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: evenyag <realevenyag@gmail.com>
2023-07-11 15:42:15 +08:00
Lei, HUANG 0f30b7fcbf feat: rebase upstream (#57) 2023-07-10 14:23:04 +08:00
JeremyHi 8f9cba5171 refactor: heartbeat protocol (#56) 2023-07-07 18:02:48 +08:00
Weny Xu 917ead6274 feat: Add DropTableTask, AlterTableTask (#54)
* feat: use type instead of pb bytes

* feat: add table_info to CreateTableTask

* fix: remove unused fields

* feat: bring create route method back

* feat: add table_id in SubmitDdlTaskResponse

* feat: add drop table task

* feat: add alter table task

* chore: allow large_enum_variant

* chore: apply suggestions from CR
2023-07-06 11:55:09 +08:00
Weny Xu f82201d712 feat: add ddl task service (#53)
* feat: add ddl task service

* chore: apply suggestions from CR

* chore: add path to build.rs
2023-06-28 16:21:47 +09:00
JeremyHi 7aeaeaba1e feat: node epoch (#52)
* feat: node epoch

* feat: meta proto for golang
2023-06-20 09:54:29 +08:00
LFC 5d5eb65bb9 feat: carry duration since epoch in heartbeat (#51)
* feat: duration since epoch in heartbeat

* feat: duration since epoch in heartbeat
2023-06-19 17:49:26 +09:00
LFC aee86f4a68 feat: table ident (#50)
* feat: table ident
2023-06-15 16:23:52 +09:00
LFC abb1d0a8f3 feat: region lease (#49)
* feat: region lease

* feat: region lease

* feat: region lease
2023-06-14 19:33:35 +08:00
LFC 4398d20c56 feat: handle multiple InsertRequests in GRPC method (#47)
* feat: make InsertRequest in a batch

* feat: make InsertRequest in a batch

* feat: make InsertRequest in a batch
2023-06-02 16:37:45 +08:00
JeremyHi 52dcb43b5d fix: lose prom proto for java (#46) 2023-05-30 22:46:06 +09:00
JeremyHi 171e856e7b fix: lose common proto for java (#45) 2023-05-30 21:36:22 +08:00
fys 44c5adf349 chore: modify not_enough_available_datanodes error msg (#42) 2023-05-30 12:29:33 +08:00
Yingwen ff0a47b646 fix: rename region_id to region_number (#44)
* feat: build java codes by makefile

* feat: generate java code

* fix: rename region_id to region_number

* feat: generate code
2023-05-30 11:46:33 +08:00
Weny Xu 5bf7cd1da6 feat: remove table_id in RegionStat (#43) 2023-05-30 11:37:42 +08:00
Weny Xu 8d76c044cf fix: change table_id type to u32 (#40) 2023-05-29 15:08:55 +08:00
fys 4e6161351a chore: modify no_active_datanodes error msg (#41)
* chore: modify no_active_datanodes error msg

* cr
2023-05-29 14:21:57 +08:00
Tarun Samanta 5838259244 fix: added table_id to RegionStat (#39)
* added table_id to RegionStat

* added go protobuf source codes
2023-05-23 21:38:23 +08:00
Zheming Li 4204be285f feat: add location info when adding columns (#38) 2023-05-22 17:18:14 +08:00
LFC f43972af48 feat: some helper function for mailbox message (#37)
* feat: some helper function for mailbox message

* feat: some helper function for mailbox message

* feat: some helper function for mailbox message
2023-05-18 15:03:00 +08:00
Ruihang Xia e94a24873b feat: add substrait extension (#36)
* feat: add substrait extension

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* fix typo

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-05-18 14:31:14 +08:00
Ruihang Xia d32c9d5e98 chore: add license header (#35)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-05-18 14:27:17 +08:00
fys 6bfb02057c fix: add role paramter in meta RequestHeader::new() (#34)
* fix: add role in meta RequestHeader
2023-05-12 15:43:47 +08:00
fys 1552a21e77 fix: set header (#32) 2023-05-10 11:29:26 +08:00
Weny Xu b450b690ef fix: change mailbox_messages to mailbox_message (#33) 2023-05-10 10:45:03 +08:00
Weny Xu df3ecbcf4b fix: update go-generated code (#31) 2023-05-04 15:22:28 +09:00