Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TiKV Rust Client RFC #7

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

sunxiaoguang
Copy link
Member

@sunxiaoguang sunxiaoguang commented Oct 25, 2018

Introduces the API design for a Rust client for TiKV.

Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
@siddontang
Copy link
Contributor

PTAL @tikv/pingcap-i18n

text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
@Hoverbear
Copy link
Contributor

Great job @sunxiaoguang, thanks for tackling this huge task! My hero. 😂

text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
text/2018-10-25-tikv-client-rust.md Outdated Show resolved Hide resolved
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
@Hoverbear
Copy link
Contributor

Hi friends! Are there any remaining points anyone would like to see addressed in this PR? We will likely amend this RFC in the future to reflect the final function signatures etc in the implemented code. That will be a different PR.

@Hoverbear
Copy link
Contributor

Now that we've seen tikv/client-rust#14 merged we can revisit & update this document.

Hoverbear and others added 2 commits February 21, 2019 11:50
Signed-off-by: Ana Hobden <operator@hoverbear.org>
* add schedule limit design

Signed-off-by: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

Co-Authored-By: disksing <i@disksing.com>

* Update 2018-09-17-schedule-limit.md

Signed-off-by: disksing <i@disksing.com>

* Fix lints

Signed-off-by: Hoverbear <operator@hoverbear.org>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: A. Hobden <operator@hoverbear.org>

Co-Authored-By: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: A. Hobden <operator@hoverbear.org>

Co-Authored-By: disksing <i@disksing.com>

* use Region instead of region

Signed-off-by: disksing <i@disksing.com>

* Update text/2018-09-17-schedule-limit.md

Signed-off-by: Caitin <34535727+caitinchen@users.noreply.github.com>

Co-Authored-By: disksing <i@disksing.com>
Signed-off-by: Ana Hobden <operator@hoverbear.org>
@Hoverbear Hoverbear force-pushed the tikv-client-rust branch 3 times, most recently from e857c87 to 041fe9f Compare February 21, 2019 19:53
@Hoverbear
Copy link
Contributor

Trying to resolve the DCO problem on this PR. :)

breezewish and others added 3 commits February 21, 2019 11:53
* unified log format

Signed-off-by: Wenxuan Shi <hi@breeswish.org>
Signed-off-by: Ana Hobden <operator@hoverbear.org>
* introduce PD simulator

Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ana Hobden <operator@hoverbear.org>
Signed-off-by: Ana Hobden <operator@hoverbear.org>
@Hoverbear Hoverbear mentioned this pull request Feb 26, 2019
sunxiaoguang added a commit to tikv/tikv that referenced this pull request Mar 19, 2019
My name is Sun Xiaoguang from Zhihu, where I help make a BigTable like system focusd on OLTP that is using TiKV. I've been contributing to TiKV and the library ecosystem for around a year now. I first touched the TiKV codebase since around March 2018.

As part of my involvement with the project I've contributed several improvements to the TiKV Project:

* [Added raw batch put/get/delete/scan](pingcap/kvproto#244)
* [Changed `get_region` and `get_region_info` to use a common implementation](#3521)
* [Print help message when starting tikv-ctl without argument](#3531)
* [Clean up unused #[allow] directives](#3553)

I also am the first and primary author of the [TiKV Rust Client](https://github.com/tikv/client-rust). You can see related PRs for that here:

* [TiKV Rust Client RFC](tikv/rfcs#7)
* [The initial version of Raw KV Implementation](tikv/client-rust#14)
* [Change `raw::Client::get` to return `Option<Value>`](tikv/client-rust#24)
* [Remove cf and batch_scan from `example/raw.rs`](tikv/client-rust#21)

I also made the first PR to the mock TiKV project: [A basic implementation of mock TiKV API surface](tikv/mock-tikv#1)

As part of my involvement, the TiKV team inquired if I was interested in becoming a maintainer for the project.

This PR adds me to the list of maintainers. I have read and understand the expectations of maintainers described in the `GOVERNANCE.md` file.
sunxiaoguang added a commit to tikv/tikv that referenced this pull request Mar 19, 2019
My name is Sun Xiaoguang from Zhihu, where I help make a BigTable like system focusd on OLTP that is using TiKV. I've been contributing to TiKV and the library ecosystem for around a year now. I first touched the TiKV codebase since around March 2018.

As part of my involvement with the project I've contributed several improvements to the TiKV Project:

* [Added raw batch put/get/delete/scan](pingcap/kvproto#244)
* [Changed `get_region` and `get_region_info` to use a common implementation](#3521)
* [Print help message when starting tikv-ctl without argument](#3531)
* [Clean up unused #[allow] directives](#3553)

I also am the first and primary author of the [TiKV Rust Client](https://github.com/tikv/client-rust). You can see related PRs for that here:

* [TiKV Rust Client RFC](tikv/rfcs#7)
* [The initial version of Raw KV Implementation](tikv/client-rust#14)
* [Change `raw::Client::get` to return `Option<Value>`](tikv/client-rust#24)
* [Remove cf and batch_scan from `example/raw.rs`](tikv/client-rust#21)

I also made the first PR to the mock TiKV project: [A basic implementation of mock TiKV API surface](tikv/mock-tikv#1)

As part of my involvement, the TiKV team inquired if I was interested in becoming a maintainer for the project.

This PR adds me to the list of maintainers. I have read and understand the expectations of maintainers described in the `GOVERNANCE.md` file.

Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
sunxiaoguang added a commit to tikv/tikv that referenced this pull request Mar 20, 2019
My name is Sun Xiaoguang from Zhihu, where I help make a BigTable like system focusd on OLTP that is using TiKV. I've been contributing to TiKV and the library ecosystem for around a year now. I first touched the TiKV codebase since around March 2018.

As part of my involvement with the project I've contributed several improvements to the TiKV Project:

* [Added raw batch put/get/delete/scan](pingcap/kvproto#244)
* [Changed `get_region` and `get_region_info` to use a common implementation](#3521)
* [Print help message when starting tikv-ctl without argument](#3531)
* [Clean up unused #[allow] directives](#3553)

I also am the first and primary author of the [TiKV Rust Client](https://github.com/tikv/client-rust). You can see related PRs for that here:

* [TiKV Rust Client RFC](tikv/rfcs#7)
* [The initial version of Raw KV Implementation](tikv/client-rust#14)
* [Change `raw::Client::get` to return `Option<Value>`](tikv/client-rust#24)
* [Remove cf and batch_scan from `example/raw.rs`](tikv/client-rust#21)

I also made the first PR to the mock TiKV project: [A basic implementation of mock TiKV API surface](tikv/mock-tikv#1)

As part of my involvement, the TiKV team inquired if I was interested in becoming a maintainer for the project.

This PR adds me to the list of maintainers. I have read and understand the expectations of maintainers described in the `GOVERNANCE.md` file.

Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
siddontang pushed a commit to tikv/tikv that referenced this pull request Mar 26, 2019
* Title: Add @sunxiaoguang to MAINTAINERS.md

My name is Sun Xiaoguang from Zhihu, where I help make a BigTable like system focusd on OLTP that is using TiKV. I've been contributing to TiKV and the library ecosystem for around a year now. I first touched the TiKV codebase since around March 2018.

As part of my involvement with the project I've contributed several improvements to the TiKV Project:

* [Added raw batch put/get/delete/scan](pingcap/kvproto#244)
* [Changed `get_region` and `get_region_info` to use a common implementation](#3521)
* [Print help message when starting tikv-ctl without argument](#3531)
* [Clean up unused #[allow] directives](#3553)

I also am the first and primary author of the [TiKV Rust Client](https://github.com/tikv/client-rust). You can see related PRs for that here:

* [TiKV Rust Client RFC](tikv/rfcs#7)
* [The initial version of Raw KV Implementation](tikv/client-rust#14)
* [Change `raw::Client::get` to return `Option<Value>`](tikv/client-rust#24)
* [Remove cf and batch_scan from `example/raw.rs`](tikv/client-rust#21)

I also made the first PR to the mock TiKV project: [A basic implementation of mock TiKV API surface](tikv/mock-tikv#1)

As part of my involvement, the TiKV team inquired if I was interested in becoming a maintainer for the project.

This PR adds me to the list of maintainers. I have read and understand the expectations of maintainers described in the `GOVERNANCE.md` file.

Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
sticnarf pushed a commit to sticnarf/tikv that referenced this pull request Oct 27, 2019
* Title: Add @sunxiaoguang to MAINTAINERS.md

My name is Sun Xiaoguang from Zhihu, where I help make a BigTable like system focusd on OLTP that is using TiKV. I've been contributing to TiKV and the library ecosystem for around a year now. I first touched the TiKV codebase since around March 2018.

As part of my involvement with the project I've contributed several improvements to the TiKV Project:

* [Added raw batch put/get/delete/scan](pingcap/kvproto#244)
* [Changed `get_region` and `get_region_info` to use a common implementation](tikv#3521)
* [Print help message when starting tikv-ctl without argument](tikv#3531)
* [Clean up unused #[allow] directives](tikv#3553)

I also am the first and primary author of the [TiKV Rust Client](https://github.com/tikv/client-rust). You can see related PRs for that here:

* [TiKV Rust Client RFC](tikv/rfcs#7)
* [The initial version of Raw KV Implementation](tikv/client-rust#14)
* [Change `raw::Client::get` to return `Option<Value>`](tikv/client-rust#24)
* [Remove cf and batch_scan from `example/raw.rs`](tikv/client-rust#21)

I also made the first PR to the mock TiKV project: [A basic implementation of mock TiKV API surface](tikv/mock-tikv#1)

As part of my involvement, the TiKV team inquired if I was interested in becoming a maintainer for the project.

This PR adds me to the list of maintainers. I have read and understand the expectations of maintainers described in the `GOVERNANCE.md` file.

Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
@Hoverbear Hoverbear removed their assignment Jul 8, 2020
@zhangjinpeng87
Copy link
Member

@sunxiaoguang Seems this RFC is out-of-date with existing tikv/rust-client, would you mind to update it or just clost it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Final Comment Period This RFC is in the final comment period, and has a limited amount of time to give input on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.