Commit Graph

843 Commits

Author SHA1 Message Date
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
Nick Cameron 2b0db78632
Merge branch 'master' into raw-resolve-lock 2021-04-16 15:45:16 +12:00
Nick Cameron 131bbfffbf
Merge branch 'master' into buffer-mutex 2021-04-16 15:44:24 +12:00
Nick Cameron 2247c5d53b
Merge branch 'master' into pessimistic-lock-primary-key 2021-04-16 15:42:57 +12:00
Nick Cameron 5688e0810b
Merge pull request #265 from gfreezy/coprocessor-v2-protocol
add new protocol messages for coprocessor_v2
2021-04-16 15:41:12 +12:00
Nick Cameron a3f53616a9
Merge branch 'master' into buffer-mutex 2021-04-16 15:33:38 +12:00
Nick Cameron c5612b9cb9
Merge branch 'master' into coprocessor-v2-protocol 2021-04-15 20:35:50 +12:00
Nick Cameron f2f96f04a4
Merge pull request #264 from hi-rustin/rustin-patch-fix
Remove rust-toolchain file
2021-04-15 20:35:23 +12:00
Ziqian Qin 99dce7495f
Merge branch 'master' into raw-resolve-lock 2021-04-15 16:13:54 +08:00
ekexium 661b56ab49 opt: don't resolve lock in raw requests
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-15 16:12:26 +08:00
Alex.F 3c7ba5bb0d add trailing empty line
Signed-off-by: Alex.F <gfreezy@gmail.com>
2021-04-15 15:03:35 +08:00
Alex.F c81115778e add protobuf for coprocessor_v2
Signed-off-by: Alex.F <gfreezy@gmail.com>
2021-04-15 15:01:48 +08:00
Ziqian Qin 83f05a06ef
Merge branch 'master' into pessimistic-lock-primary-key 2021-04-15 11:00:44 +08:00
ekexium 2e10ab9a6a refactor: primary_key_or
Signed-off-by: ekexium <ekexium@gmail.com>
2021-04-15 11:00:26 +08:00
Nick Cameron ba7a5f2862
Merge branch 'master' into atomic 2021-04-15 14:04:25 +12:00
Nick Cameron a742216a15
Merge branch 'master' into buffer-mutex 2021-04-15 14:04:06 +12:00
Nick Cameron dc85164246
Merge branch 'master' into rustin-patch-fix 2021-04-15 14:00:43 +12:00