George Teo
ad8ef075af
Add codec for encoding region for transaction client ( #162 )
...
Add codec for encoding region for transaction client. Fix some other bugs.
Signed-off-by: George Teo <george.c.teo@gmail.com>
Co-authored-by: ekexium <ekexium@gmail.com>
2020-09-29 14:05:39 +08:00
ekexium
fb9dc3a81e
match on upper_bound
...
Signed-off-by: ekexium <ekexium@gmail.com>
2020-09-15 14:26:51 +08:00
ekexium
4f2ff24724
bound_range: improve code style
...
Signed-off-by: ekexium <ekexium@gmail.com>
2020-09-15 11:32:25 +08:00
ekexium
d16887592f
bound region range by query range
...
Signed-off-by: ekexium <ekexium@gmail.com>
2020-09-14 18:49:52 +08:00
ekexium
d7bded1fbf
Extract low-level store and pd crates. ( #157 )
...
Signed-off-by: ekexium <ekexium@gmail.com>
2020-07-16 11:41:57 +08:00
you06
b7ced1f44e
raw: Implement `RawBatchScan` ( #134 )
...
Signed-off-by: you06 <you1474600@gmail.com>
2020-05-25 11:52:58 +08:00
Steven Gu
91e8fba3c7
Adds comments to each struct Backoff, and removes Option from the parameter backoff.
...
Signed-off-by: Steven Gu <asongala@163.com>
2020-03-20 10:13:41 +08:00
Steven Gu
e6920d8b4e
Rollbacks to add `const` new function for struct NoJitterBackoff according to code review.
...
Signed-off-by: Steven Gu <asongala@163.com>
2020-03-20 10:06:21 +08:00
Steven Gu
5f3e4096b0
Updates Backoff trait function next_delay_ms to next_delay_duration according to code review.
...
Signed-off-by: Steven Gu <asongala@163.com>
2020-03-17 16:45:21 +08:00
Steven Gu
5f003ae1ee
Refactors `backoff.rs` and replaces `Arc<impl Backoff>` to `Option<impl Backoff>` according to the code review.
...
Signed-off-by: Steven Gu <asongala@163.com>
2020-03-06 11:51:56 +08:00
Steven Gu
94efe10352
Implements exponential backoff on request retry logic.
...
Signed-off-by: Steven Gu <asongala@163.com>
2020-03-02 18:33:21 +08:00
Steven Gu
f95a704b08
Removes region_retry_delay_ms from RetryState since no change.
...
Signed-off-by: Steven Gu <asongala@163.com>
2020-03-02 17:08:19 +08:00
Steven Gu
ef5a27ccd2
Fixes issue-110:Add backoff and retry limit to requests.
...
Signed-off-by: Steven Gu <asongala@163.com>
2020-03-02 17:08:19 +08:00
Ana Hobden
8d2c784c88
update nightly ( #124 )
...
* update nightly
Signed-off-by: Ana Hobden <operator@hoverbear.org>
* Resolve clippy
Signed-off-by: Ana Hobden <operator@hoverbear.org>
* Fix integration tests
Signed-off-by: Ana Hobden <operator@hoverbear.org>
* Reflect comments
Signed-off-by: Ana Hobden <operator@hoverbear.org>
* fmt
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2019-11-21 18:04:15 -08:00
Yilin Chen
1a604e4ea1
Extract repeated store_stream implementations
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2019-08-28 14:53:47 +08:00
Yilin Chen
a6505e5bbb
Add delay if all locks are not resolved
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2019-08-27 00:44:12 +08:00
Yilin Chen
7381efc30d
Resolve locks
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2019-08-25 21:54:39 +08:00
Yilin Chen
3c4f62f791
Merge remote-tracking branch 'upstream/master' into handle-error
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2019-08-21 13:16:28 +08:00
Nick Cameron
ce55a01151
Rename MockDispatch
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2019-08-21 08:59:20 +12:00
Nick Cameron
a3eed5e02d
Move stuff around a bit
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2019-08-21 08:59:20 +12:00