Commit Graph

72 Commits

Author SHA1 Message Date
zyy17 8d31a8cd39 refactor: add hostname field in NodeInfo and use it in MetasrvNodeInfo (#278) 2025-10-16 10:57:57 +08:00
discord9 3e821d0d40 feat: add extension to heartbeat request (#275)
* feat: add extension to heartbeat request

Signed-off-by: discord9 <discord9@163.com>

* make all

Signed-off-by: discord9 <discord9@163.com>

---------

Signed-off-by: discord9 <discord9@163.com>
2025-09-19 12:23:19 +08:00
Weny Xu f9836cf8aa feat: add memory_bytes field (#274) 2025-09-08 16:32:11 +08:00
Weny Xu 69680846a0 feat: add TopicStat (#268)
* feat: add `TopicStat`

* chore: generate code
2025-08-13 19:21:39 +08:00
Weny Xu 91c3d7b97a feat: introduce reconcile interface (#264)
* feat: introduce reconcile interface

* chore: gen set_header

* chore: add comments

* feat: return procedure_id

* feat: add `ResolveStragey` and `Parallelism` to request

* chore: apply suggestions from CR
2025-08-04 16:50:33 +08:00
Zhenchi 7fcaa3e413 feat: deprecate Region::Partition use partition expr instead (#256)
* feat: deprecate Region::Partition use partition expr instead

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* merge origin/main

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* put partition expr into Partition

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

---------

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
2025-07-23 10:30:51 +08:00
fys 855dff1b87 chore: format proto file (#254)
* chore: proto file format using buf

* generate go file
2025-07-16 11:25:57 +08:00
fys 464226cf8a feat: support trigger drop (#248)
* feat: add trigger-drop proto

* remove trigger id of DropTriggerExpr
2025-06-24 11:06:43 -07:00
fys 454c52634c feat: add proto definition about trigger create (#241)
* feat: add trigger create

* chore: unified naming style

* chore: rename some fields

* chore: make all
2025-06-04 11:12:55 +08:00
Weny Xu 7668a882d5 feat: introduce node workloads (#235)
* feat: introduce node workloads

* feat: add feature gate

* chore: apply suggestions from CR
2025-05-09 17:35:49 +08:00
Weny Xu 2be0f36b32 feat: add ProcedureStatus::Poisoned (#229) 2025-04-07 15:53:11 +08:00
Weny Xu fb8e20ce29 feat: add extensions field to GrantedRegion (#227) 2025-04-03 20:28:44 +08:00
Weny Xu 103948cbce feat: add manifest_version to GrantedRegion (#224) 2025-03-31 14:18:13 +08:00
AntiTopQuark c5419bbd20 feat: enhancement information_schema.flows (#221)
* feat:enhancement information_schema.flows

* chore: make all

---------

Co-authored-by: discord9 <discord9@163.com>
2025-03-11 21:15:10 +08:00
Lei, HUANG d92c9ac4e9 refactor/remove-cluster-id: (#220)
### Remove `cluster_id` Field from Protocol Buffers

 - **Removed `cluster_id` Field**: The `cluster_id` field has been removed from the `RequestHeader` and `ResponseHeader` messages across multiple langua
 bindings and source files. This includes updates to:
   - C++: `common.pb.cc`, `common.pb.h`
   - Go: `common.pb.go`
   - Java: `Common.java`
   - Proto: `common.proto`
   - Rust: `meta.rs`

 These changes streamline the protocol by eliminating the `cluster_id` field, simplifying the message structures and related logic.
2025-03-04 11:17:59 +08:00
LFC a25adc8a01 feat: add cpu cores count in heartbeat's node info (#217)
* feat: add cpu cores number to `NodeInfo`
2025-02-20 11:28:29 +08:00
Weny Xu a875e97644 feat: alter database ttl (#203)
* feat: alter database ttl

* chore: add ddl task

* chore: single task

* chore: remove options

* feat: add unset database options

---------

Co-authored-by: CookiePieWw <profsyb@gmail.com>
2024-11-21 19:08:03 +08:00
discord9 fc45ac4cce feat: flow state size (#193)
* feat: add flow state size

* chore: protoc

* refactor: use FlowId not uint64

* fix: use uint32

* chore: make
2024-10-29 17:06:51 +08:00
Weny Xu b4d301184e feat: rename replay_timeout_secs to timeout_secs (#191)
* feat: add `flush_timeout_secs` to `MigrateRegionRequest`

* chore: use `timeout_secs`

* feat: introduce `DowngradingLeader`
2024-10-17 13:13:26 +08:00
taobo 796ce9b003 feat: support for batch querying metadata information of procedure (#189)
* feat: support for batch querying metadata information of procedures

* optimize code

* optimize code

* add new field lock_keys

* fix: update time type
2024-09-19 11:40:35 +08:00
jeremyhi 157cfdb527 feat: heartbeat extension field (#190)
* feat: heartbeat extemsion field

* feat: extension to extensions
2024-09-06 16:09:14 +08:00
Ning Sun c437b55725 feat: add channel field to query context (#183)
* feat: add source field to query context

* refactor: rename field to channel

* chore: fix indent
2024-07-30 21:45:23 +08:00
Jeremyhi a70a6af9c6 feat: flownode role (#178) 2024-06-18 11:42:08 +08:00
Jeremyhi ae26136acc refactor: remove the table in ddl response (#175) 2024-05-31 14:23:53 +08:00
dennis zhuang a11db14b85 feat: adds view expressions (#165)
* feat: adds view expressions

* feat: adds meta tasks for view

* feat: adds view_info to CreateViewTask

* chore: rename create_or_replace to or_replace
2024-05-14 16:54:19 +08:00
Weny Xu 219b2409bb feat: add flow_id and drop_if_exists to DropFlowExpr (#164)
* feat: add `flow_id` and `drop_if_exists` to `DropFlowExpr`

* chore: apply suggestions from CR

* chore: generate code
2024-05-10 11:32:37 +08:00
Weny Xu e152fcbf17 feat: add QueryContext to DdlTaskRequest and FlowRequestHeader (#166) 2024-05-09 14:27:41 +08:00
Jeremyhi 5c28f1d7ca feat: add start_time_ms for metasrv node info (#167) 2024-05-09 14:26:55 +08:00
Jeremyhi 07de9a47ed feat: more metasrv node info (#163) 2024-05-07 19:00:15 +08:00
dennis zhuang f699e240f7 feat: adds node info to heartbeat request (#160) 2024-04-30 11:21:05 +08:00
Weny Xu b5412f7225 refactor: remove task suffix (#162)
* refactor: remove task suffix

* chore: rename task_options to flow_options
2024-04-29 21:22:55 +08:00
tison 95cd1ab1c0 ci: Align pull_request_template with the main repo + upgrade CI (#155)
Signed-off-by: tison <wander4096@gmail.com>
2024-04-28 10:30:32 +08:00
Ruihang Xia 783682fabc refactor: move TableName out of meta common (#152)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2024-04-25 20:14:54 +08:00
Weny Xu 93ebc1ba90 feat: add source_tables and source_table_ids (#151)
* feat: add `source_tables`

* feat: use `SchemaScopedTableName`

* chore: include flow proto

* chore: rename

* feat: add `CreateFlowTask` and `DropFlowTask`
2024-04-25 17:29:14 +08:00
Jeremyhi 8da84a04b1 feat: get metasrv peers (#144) 2024-04-12 17:12:19 +08:00
Weny Xu c00c73b76e feat: add PrepareRollback, RollingBack to procedure state (#142)
* feat: add `CommitRollback`, `RollingBack` to procedure state

* refactor: rename to `PrepareRollback`
2024-04-08 17:30:44 +08:00
Yohan Wal 1bd2398b68 feat: enable database creation (#141) 2024-04-07 16:07:46 +08:00
Weny Xu 06f6297ff3 feat: add drop database expr (#139) 2024-03-19 17:51:02 +08:00
dennis zhuang 96f1f0404f feat: region procedure service (#137)
* feat: adds region service and procedure service

* refactor: adds procedure service for ddl and region task

* feat: adds QueryProcedureRequest

* feat: improve ProcedureStateResponse and MigrateRegionRequest

* fix: forgot headers

* fix: remove cluster_id in MigrateRegionRequest

* refactor: rename Procedure to ProcedureService

* chore: rename peer

* fix: forgot java Procedure
2024-02-02 22:56:40 +08:00
JeremyHi 519b1d0757 feat: support batch ddl (#135)
* feat: support batch create table

* feat: ddl batch

* feat: batch ddl task

* feat: response table ids
2024-01-22 15:39:21 +09:00
Weny Xu 4377b4377c feat: add closeable_region_ids in RegionLease (#125)
* feat: add closeable_region_ids in RegionLease

* fix: use repeated uint64
2023-12-04 18:42:07 +09:00
WU Jingdi 25429306d0 feat: pass tracing context in proto (#120)
* feat: pass tracing context in proto

* fix: run make
2023-11-15 19:26:13 +08:00
Weny Xu 7eb2e78be7 feat: use GrantedRegion instead of region_ids (#117) 2023-11-03 22:40:32 +08:00
Weny Xu d354d4f0f7 feat: introduce region role (#113) 2023-10-31 15:17:41 +08:00
Weny Xu c27b3844e5 refactor: remove router rpc (#114) 2023-10-31 12:12:55 +08:00
JeremyHi 1d7dc6f18b feat: remove the move_value api (#111) 2023-10-23 10:20:57 +08:00
LFC 81495b166b chore: remove table ident (#99) 2023-09-12 23:20:59 +08:00
JeremyHi b585955dbb feat: v04 new heartbeat (#96)
* feat: new heartbeat

* feat: single RegionLease to handle all region ids
2023-09-01 11:51:45 +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