Commit Graph

158 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard bcbca81dfe Remove ROW_LIMIT_UNLIMITED and BYTE_LIMIT_UNLIMITED from CLIENT_KNOBS 2020-07-04 12:48:44 -07:00
Meng Xu 22f7f804b8 Merge branch 'release-6.3' into mengxu/merge-6.3-PR 2020-06-28 11:19:39 -07:00
Russell Sears 422003df34 Print out the text (to stderr and as trace) of the failed condition on assert failure 2020-06-24 14:21:48 -07:00
Meng Xu f1ff29d70b Revert debugTransaction in ReadYourWritesTransaction
This was accidentally smuggled in at PR 3329.
2020-06-12 15:23:31 -07:00
Meng Xu 80334351c7
Merge pull request #3329 from sfc-gh-mpilman/features/flatbuffers-debugtx
Request tracing
2020-06-12 14:50:19 -07:00
Markus Pilman 4ab3441a95 Merge remote-tracking branch 'origin/master' into features/flatbuffers-debugtx 2020-06-10 15:31:29 -07:00
Meng Xu ae10aaf5d6
Merge pull request #3323 from sfc-gh-tclinkenbeard/remove-boost-noexcept
Replace BOOST_NOEXCEPT with noexcept
2020-06-10 12:07:25 -07:00
sfc-gh-tclinkenbeard 99bf993815 Replace BOOST_NOEXCEPT with noexcept 2020-06-09 22:39:19 -07:00
Meng Xu 8533daac50 parallelRestoreFinish:fix used_during_commit error 2020-06-09 15:40:24 -07:00
Markus Pilman ba63a66d12 Merge remote-tracking branch 'origin/master' into features/flatbuffers-debugtx 2020-05-29 15:38:09 -07:00
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
Markus Pilman d748166ed3 Merge branch 'master' of github.com:apple/foundationdb into features/flatbuffers-debugtx 2020-05-18 10:15:58 -07: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
Markus Pilman d039e75ac4 Merge remote-tracking branch 'origin/master' into features/flatbuffers-debugtx 2020-05-04 14:04:52 -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
Markus Pilman 040e62341a Merge branch 'master' of github.com:apple/foundationdb into features/flatbuffers-debugtx 2020-04-20 12:03:24 -07: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