add API V3 keyspace identity protos#47
Draft
disksing wants to merge 29 commits into
Draft
Conversation
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
|
|
Signed-off-by: disksing <i@disksing.com>
* Add new GC API Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Update definition of keyspace specifier in requests to avoid potential misuses Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Update to the latest design * Update protocol Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix missing field Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> --------- Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Signed-off-by: disksing <i@disksing.com>
* feat(resource_manager): add keyspace support Signed-off-by: JmPotato <github@ipotato.me> * Use KeyspaceIDValue wrapper Signed-off-by: JmPotato <github@ipotato.me> --------- Signed-off-by: JmPotato <github@ipotato.me> Signed-off-by: disksing <i@disksing.com>
* proto/pdpb: add global gc barrier API for pd Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> * address comment Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> * update GetAllKeyspacesGCStatesResponse Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> --------- Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> Signed-off-by: disksing <i@disksing.com>
…te (#1461) * Support excluding GC barriers for GetGCState and GetAllKeyspacesGCState Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add exclude global gc barriers parameter Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> --------- Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Signed-off-by: disksing <i@disksing.com>
* add cross AZ traffic in resource consumption Signed-off-by: glorv <glorvs@163.com> * add network detail in exec detail Signed-off-by: glorv <glorvs@163.com> * use distinct read and write network traffic bytes Signed-off-by: glorv <glorvs@163.com> --------- Signed-off-by: glorv <glorvs@163.com> Signed-off-by: disksing <i@disksing.com>
…info (#1308) * kvrpcpb: Add more fields in CommitRequest/Response to give more lock info Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * Add `mvcc_info` to `TxnLockNotFound` * Add debug info Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * Add CommitRole Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * Update proto/kvrpcpb.proto --------- Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Co-authored-by: cfzjywxk <cfzjywxk@gmail.com> Signed-off-by: disksing <i@disksing.com>
* kvrpcpb: add request origin to context Signed-off-by: Ziqian Qin <eke@fastmail.com> * make Signed-off-by: Ziqian Qin <eke@fastmail.com> --------- Signed-off-by: Ziqian Qin <eke@fastmail.com> Signed-off-by: disksing <i@disksing.com>
…ared lock in pessimistic transacitons. (#1374) * reserve Op for shared lock Signed-off-by: you06 <you1474600@gmail.com> * distinguish between shared prewrite locks and shared pessimistic locks (#1377) * let LockInfo carry the full txn info when it's shared Signed-off-by: zyguan <zhongyangguan@gmail.com> * move the todo comment to the proper place Signed-off-by: zyguan <zhongyangguan@gmail.com> * distinguish between shared prewrite locks and shared pessimistic locks Signed-off-by: zyguan <zhongyangguan@gmail.com> --------- Signed-off-by: zyguan <zhongyangguan@gmail.com> * update kvproto Signed-off-by: you06 <you1474600@gmail.com> * add embed shared_lock_infos Signed-off-by: you06 <you1474600@gmail.com> --------- Signed-off-by: you06 <you1474600@gmail.com> Signed-off-by: zyguan <zhongyangguan@gmail.com> Co-authored-by: zyguan <zhongyangguan@gmail.com> Signed-off-by: disksing <i@disksing.com>
* tikvpb: add batch command transport timestamps Add client_send_time_ns to BatchCommandsRequest and tikv_send_time_ns to BatchCommandsResponse so callers can track when a batch request leaves the client and when TiKV finishes preparing the response. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> * proto: update proto lock for transport timestamps Refresh scripts/proto.lock for the new batch command transport timestamp fields so the compatibility metadata matches the proto schema. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> --------- Signed-off-by: Bisheng Huang <hbisheng@gmail.com> Signed-off-by: disksing <i@disksing.com>
Signed-off-by: disksing <i@disksing.com>
* kvrpcpb: add `UndeterminedResult` to `KeyError` Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * txn: move `UndeterminedResult` to region error Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> --------- Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Signed-off-by: disksing <i@disksing.com>
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Signed-off-by: disksing <i@disksing.com>
* coprocessor: add TiCI estimate count rpc * Update proto/tikvpb.proto Co-authored-by: cfzjywxk <cfzjywxk@gmail.com> * tikvpb: fix TiFlash comment casing --------- Co-authored-by: cfzjywxk <cfzjywxk@gmail.com> Signed-off-by: disksing <i@disksing.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
release-8.5-keyspace.pingcap/kvprotowhile preserving the related field numbers.RegionBucketsstream required bypd-cseon this release-line base.Validation
scripts/generate_go.shscripts/check.shupdatedscripts/proto.lockgit diff --checkgo build ./pkg/...go test ./pkg/...