Commit Graph

143 Commits

Author SHA1 Message Date
Andrew Noyes a2fd6d46a0 Cancel pending special key space reads on destroy
Previously the special key space would take a reference to the
transaction, but this doesn't make sense since the transaction might not
be refcounted
2020-05-21 17:37:11 +00:00
Evan Tschannen f17f00fdd5 Merge branch 'release-6.2'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
2020-05-10 22:33:38 -07:00
Andrew Noyes c6c0e2eb0f Add several TEST macros 2020-05-08 05:37:37 +00:00
Andrew Noyes ce0e03a800 Add virtual destructor to SpecialKeyRangeBaseImpl 2020-05-08 05:37:37 +00:00
Andrew Noyes de53322d20 Prepare to transfer existing special key reads to framework 2020-05-08 05:37:37 +00:00
Andrew Noyes 640eb41ba4 Introduce special key space in api version 630 2020-05-08 05:37:37 +00:00
Andrew Noyes 1d6209e304 Check for cross-module reads 2020-05-08 05:37:37 +00:00
Andrew Noyes 37fe05fc76 Merge remote-tracking branch 'upstream/master' into atn34/conflict-ranges 2020-05-05 15:52:07 +00:00
Andrew Noyes aaf87c0c5c Remove headers vscode auto-added 2020-05-04 19:50:48 -07:00
Andrew Noyes b65c089edc Don't assert extra conflict range is ready 2020-05-04 19:26:40 +00:00
Andrew Noyes d2e2532287 Fix memory error and avoid unnecessary copy 2020-05-04 18:50:59 +00:00
Andrew Noyes 4a0925e9a6 Allow reading conflict ranges after ryw disabled tx commits 2020-05-04 16:43:20 +00:00
Andrew Noyes 0c514e91c7 Use approximate write range for set_versionstamped_key 2020-05-04 04:43:50 +00:00
Andrew Noyes 794e5eac59 Remove dead code 2020-05-01 22:58:55 +00:00
Andrew Noyes 7edbbb642e Test SetVersionstampedKey without ryw enabled 2020-05-01 20:58:37 +00:00
Andrew Noyes ebe1a2e3dc Merge remote-tracking branch 'upstream/master' into atn34/conflict-ranges 2020-05-01 15:56:16 +00:00
Andrew Noyes 7f9e9224d2 Disallow reading write conflict range for SetVersionstampedKey 2020-05-01 01:41:25 +00:00
Andrew Noyes 77b396d5ff Allow reading tr.get_range('\xff\xff', '\xff\xff\xff') 2020-05-01 01:04:03 +00:00
Andrew Noyes f1d9c0cb97 Refactor/cleanup 2020-04-30 00:30:37 +00:00
Andrew Noyes 99d5bb68dd Make reading conflict ranges work for ryw disabled 2020-04-30 00:30:37 +00:00
Andrew Noyes 3ddb0594c2 ASSERT(!tr.options.checkWritesEnabled) 2020-04-30 00:30:37 +00:00
Andrew Noyes 94f8e090c8 Fix more bugs 2020-04-30 00:30:37 +00:00
Andrew Noyes fab33a8fd1 Improve test diagnostics, fix write_conflict_range bug 2020-04-30 00:30:37 +00:00
Andrew Noyes 5b365458cb Fix bug 2020-04-30 00:30:37 +00:00
Andrew Noyes a60e9a7290 Fix bug - emit kv pair if we end in a conflict range 2020-04-30 00:30:37 +00:00
Andrew Noyes fdd6581167 Add write conflict range 2020-04-30 00:30:37 +00:00
Andrew Noyes e1c3c73d4c Rudimentary read your own read conflict range 2020-04-30 00:30:37 +00:00
Evan Tschannen 7cebe743f9 A number of bug fixes of rare correctness errors 2020-04-29 13:50:13 -07:00
chaoguang 3adbc89510 update special-key-space argument 2020-04-28 16:50:24 -07:00
chaoguang 562456028c Fix the interface of special-key-space, only keys in (\xff\xff, \xff\xff\xff) are valid 2020-04-28 16:33:10 -07:00
Andrew Noyes 77ea27dc56 Simulate a timeout for an in-flight commit with client buggify 2020-04-27 22:09:03 +00:00
chaoguang 34cddd675c clang-format 2020-04-08 14:33:41 -07:00
chaoguang 5aee6880a8 fix issues according to andrew's comments 2020-04-08 11:33:07 -07:00
chaoguang e4d99b0197 remove snapshot argument in the interface 2020-04-06 22:09:17 -07:00
chaoguang 03795cc6b8 delete commented code 2020-04-06 11:42:31 -07:00
chaoguang aad8f850f3 refactor conflicting keys feature using special key space 2020-04-04 13:26:11 -07:00
chaoguang 5b6ae4da7f A simple intergration to put conflictingKeys into special-key-space 2020-04-03 16:11:20 -07:00
chaoguang 36bf2ecf4c add \xff\xff prefix to returned keys 2020-04-03 00:26:11 -07:00
chaoguang debbe648e8 Use specialkeys 2020-03-31 19:05:47 -07:00
chaoguang 863ebc2d6d fix merge conflict 2020-03-31 18:49:59 -07:00
chaoguang a63f8b839c Merge remote-tracking branch 'upstream/master' into private-keyspace-framework 2020-03-31 12:05:42 -07:00
chaoguang 64148469e8 clang-format the pr 2020-03-26 15:52:30 -07:00
Andrew Noyes 289487559d Revert "Revert "Merge pull request #2257 from zjuLcg/report-conflicting-key""
This reverts commit 804fe1b22e.
2020-03-24 18:11:15 -07:00
Balachandar Namasivayam 804fe1b22e Revert "Merge pull request #2257 from zjuLcg/report-conflicting-key"
This reverts commit 648dc4a933, reversing
changes made to 487d131b38.
2020-03-19 21:34:28 -07:00
Evan Tschannen 648dc4a933
Merge pull request #2257 from zjuLcg/report-conflicting-key
Report conflicting keys
2020-03-18 13:39:42 -07:00
Evan Tschannen e08f0201f1 merge release 6.2 into master 2020-03-17 12:51:47 -07:00
chaoguang 6e92716be7 update comments 2020-03-13 12:41:48 -07:00
A.J. Beamon f7198c4ba3 Use the std::string constructor of StringRef, which will use the length of string correctly. 2020-03-12 12:35:08 -07:00
A.J. Beamon 6940d546f5 Fix bug where status is truncated when a null byte is included. This is implemented by escaping unprintable characters. 2020-03-12 12:27:53 -07:00
chaoguang bdabb8638e Change prefix 2020-03-11 12:40:40 -07:00