ekexium
c5701660e6
CI: increase region-split-keys
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-05-07 21:51:36 +08:00
Nick Cameron
218bae0c83
Merge pull request #277 from nrc/getting-started
...
Add getting started docs
2021-05-07 20:48:26 +12:00
Nick Cameron
3cebd3e5f4
Add getting started docs
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-05-07 16:32:20 +12:00
Nick Cameron
089f7282ac
Merge pull request #275 from SchrodingerZhu/master
...
quote version string to avoid syntax error on display
2021-05-06 09:18:12 +12:00
Schrodinger ZHU Yifan
18a6813312
quote version string to avoid syntax error on display
...
Signed-off-by: SchrodingerZhu <i@zhuyi.fan>
2021-05-05 17:29:18 +08:00
Zijie Lu
ceea0f9bdd
Calculate cleverer TTL for transaction ( #250 )
...
* Fix clippy
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Address some review comments
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
Fix clippy
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Add key
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Address review comments
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* use cfg test
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* fix heartbeat compile
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* fix heartbeat tests
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Fix cargo
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Fix test
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Address review comments
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* nitpick
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Fix test
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* cargo fmt
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Fix test
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Use local timestamp instead fetching ts from pd
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* Address review comment
Signed-off-by: Zijie Lu <wslzj40@gmail.com>
* improve unit test
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* fix test
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Co-authored-by: Andy Lok <andylokandy@hotmail.com>
2021-05-03 00:46:03 +08:00
Nick Cameron
9b47f6810b
0.0.99 release
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-29 16:02:31 +12:00
Nick Cameron
71d47ef110
Merge pull request #268 from ekexium/multi-reigon-test
...
Support multi-reigon test
2021-04-29 15:36:13 +12:00
Nick Cameron
69b68790a4
Merge branch 'master' into multi-reigon-test
2021-04-28 19:56:50 +12:00
Nick Cameron
3f91f3292b
Merge pull request #273 from ekexium/1pc-panic
...
Fix 1PC panic
2021-04-28 19:56:34 +12:00
ekexium
de03ed4d8c
Merge remote-tracking branch 'upstream/master' into multi-reigon-test
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-28 15:14:18 +08:00
Nick Cameron
77fbe89774
Merge branch 'master' into 1pc-panic
2021-04-28 15:33:14 +12:00
Nick Cameron
0535be6a49
Merge pull request #271 from nrc/buffer-insert
...
Buffer improvements
2021-04-28 15:32:12 +12:00
Nick Cameron
e84de9e0b9
Don't use nightly TiKV on Travis
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-28 14:59:33 +12:00
ekexium
9d4d84f840
test: enable multi reigon test if env var is set (to anything)
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-27 15:34:30 +08:00
ekexium
517bdb1b63
fix: 1pc condition
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-27 14:49:27 +08:00
Nick Cameron
bace9d951f
De-async buffer
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-27 13:49:51 +12:00
ekexium
db0189bd81
test: hack unstable txn_bank test
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-25 14:24:33 +08:00
ekexium
a014e9c1da
fix: Makefile
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-25 11:01:55 +08:00
ekexium
13695e20c8
Merge remote-tracking branch 'upstream/master' into multi-reigon-test
2021-04-23 20:47:46 +08:00
ekexium
eb575ef439
test: add time limit for splitting region
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-23 20:46:21 +08:00
ekexium
f9967d5842
test: simplify travis config using make
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-23 19:51:12 +08:00
Nick Cameron
b2ac690622
Handle more combinations of operations in the buffer
...
Closes #257 , #270
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-23 12:06:23 +12:00
Nick Cameron
da26bb4927
Merge pull request #269 from nrc/docs
...
Improve documentation
2021-04-22 16:25:36 +12:00
Nick Cameron
8a128ac7ff
Review changes
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-22 13:45:41 +12:00
Nick Cameron
87e091d44b
Polish documentation of transaction
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-22 13:45:41 +12:00
Nick Cameron
5b91ab9677
Polish docs of clients and config
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-22 13:45:41 +12:00
Nick Cameron
79d0d56193
Documentation in lib.rs
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-22 13:45:41 +12:00
Nick Cameron
a89599e583
Tidy up lib.rs
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-22 13:45:41 +12:00
Nick Cameron
995fe61f54
Update README
...
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2021-04-22 13:45:41 +12:00
ekexium
cb1eaf777a
test: fix test in master
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-21 20:14:28 +08:00
Ziqian Qin
ec97ea2d2c
Merge branch 'master' into multi-reigon-test
2021-04-21 19:54:01 +08:00
ekexium
0157f29c4a
test: improve some test and add a Makefile
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-21 18:57:51 +08:00
ekexium
4b4f50392f
test: support initializing with multiple regions in integration tests
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-21 18:57:45 +08:00
Nick Cameron
20318abcd8
Merge pull request #262 from ekexium/atomic
...
Support atomic operations (CAS, put, and delete)
2021-04-21 21:36:55 +12:00
ekexium
c24865b231
doc: fix link
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-21 16:58:47 +08:00
ekexium
1e70b39955
style: fmt
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-21 15:25:38 +08:00
ekexium
873fde5e00
Merge remote-tracking branch 'origin/atomic' into atomic
2021-04-20 17:17:14 +08:00
ekexium
1c6815abaf
refactor: address comments
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-20 17:15:36 +08:00
Nick Cameron
5fb1dc071a
Merge branch 'master' into atomic
2021-04-20 20:50:03 +12:00
Nick Cameron
f3ce6d746a
Merge pull request #256 from ekexium/buffer-mutex
...
Remove the Mutex in Buffer
2021-04-20 20:49:45 +12:00
ekexium
570b9f9a32
refactor: introduce an atomic mode for raw client
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-20 16:40:46 +08:00
ekexium
6e02f61a2f
Merge remote-tracking branch 'upstream/master' into atomic
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-20 15:18:20 +08:00
ekexium
540af4d7f5
refactor: remove inner buffer
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-20 14:57:27 +08:00
ekexium
9ceac82fb8
Merge remote-tracking branch 'upstream/master' into buffer-mutex
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-20 14:43:42 +08:00
Nick Cameron
bdff7e35df
Merge pull request #258 from ekexium/unify-locking
...
Make get_for_update work for optimistic txns
2021-04-20 09:21:28 +12:00
Ziqian Qin
18242889cf
Merge branch 'master' into unify-locking
2021-04-19 19:12:49 +08:00
ekexium
ef5f1705cf
doc: rephrase doc
...
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-19 15:09:30 +08:00
Nick Cameron
87d5cbbe23
Merge pull request #266 from ekexium/raw-resolve-lock
...
Don't resolve lock in raw requests
2021-04-19 09:37:42 +12:00
Nick Cameron
e320efa51c
Merge pull request #254 from ekexium/pessimistic-lock-primary-key
...
Don't set primary key in a pessimistic lock request until it succeeds
2021-04-19 09:36:10 +12:00