Commit Graph

52 Commits

Author SHA1 Message Date
Chaoguang Lin 372f92f50c one more test for read through boundary 2020-06-17 11:51:03 -07:00
Chaoguang Lin 9fbdd770ba Update comments 2020-06-17 11:28:52 -07:00
Chaoguang Lin 32794a6917 Make key selectors clamp up to the boundary of the module rather than throw cross_module_error 2020-06-17 10:33:52 -07:00
Chaoguang Lin 299ee05cd8 clang format 2020-06-16 15:31:52 -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
Chaoguang Lin 120f07247a Rename a test function name in special-key-space correctness test 2020-05-15 16:34:43 -07:00
Chaoguang Lin 87ac003967 add tests for no_module_found error, fix one bug caught by the test 2020-05-15 16:34:43 -07:00
Chaoguang Lin 032bc59cdb Add tests for special_keys_cross_module_read cases, fixed one corner case 2020-05-15 16:34:43 -07:00
Chaoguang Lin 4a13107805 Add a test for special_keys_cross_module_read, fix two bugs, add several TODOs 2020-05-15 16:34:43 -07:00
Chaoguang Lin e93beee923 Update error tracking in read/write conflict range 2020-05-15 16:34:43 -07:00
Chaoguang Lin c61e198e40 Using enum class instead of enum 2020-05-15 16:34:43 -07:00
Chaoguang Lin e1c4e5f619 Add enums for special-key-space modules and refactor related code 2020-05-15 16:34:42 -07:00
chaoguang da1334511a Adding a reverse operation for values in special-key-space correctness tests 2020-05-15 16:34:42 -07:00
chaoguang 7952333301 Use coinflip() to simplify special-key-space correctness test 2020-05-15 16:34:42 -07:00
chaoguang f5c71d8419 Allow multiple clients in special-key-space correctness test 2020-05-15 16:34:42 -07:00
Andrew Noyes a53d05ea2d Fix bug and add test 2020-05-09 02:46:40 +00:00
Andrew Noyes d75a9d0062 Don't set SPECIAL_KEY_SPACE_RELAXED for test within one module 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 c4288d698c Update tests to understand SPECIAL_KEY_SPACE_RELAXED 2020-05-08 05:37:37 +00:00
Andrew Noyes a8a68e4ad2 Fix bug 2020-05-06 11:16:38 -07:00
Andrew Noyes 70f2aa2167 Parameterize the size of conflict ranges in test 2020-05-05 17:18:43 +00:00
Andrew Noyes f4cc1d3a4f Remove more auto-added headers 2020-05-04 20:44:57 -07:00
Andrew Noyes 8baa2fe205 Test reading conflict range for committed tx 2020-05-04 16:57:51 +00:00
Andrew Noyes 1ba5f24f6b Fix typo 2020-05-01 22:58:46 +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 001e2df252 Improve test
Previously the read boundaries that weren't range boundaries would not
interleave with range boundaries
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 f5d3c7c021 WIP read tests seem to work 2020-04-30 00:30:37 +00:00
Andrew Noyes 3cd3b8d539 WIP test for read conflict ranges 2020-04-30 00:30:37 +00:00
chaoguang ae1de060c2 Reformat SpecialKeyRangeBaseImpl constructor 2020-04-14 09:10:40 -07:00
chaoguang ffc8b60bf8 add an assertion that all getRange results are returned in test special-key-range-impl 2020-04-13 15:15:19 -07:00
chaoguang 2a6de93b92 add copyright information 2020-04-08 14:50:55 -07:00
chaoguang 4a9658d6b8 fix issues according to andrew's comments 2020-04-08 13:38:12 -07:00
chaoguang 86c66a4fca add a parameter indicating whether keys are prefixed with \xff\xff 2020-04-07 00:08:47 -07:00
chaoguang 8b46326713 update comments 2020-04-06 22:29:25 -07:00
chaoguang e4d99b0197 remove snapshot argument in the interface 2020-04-06 22:09:17 -07:00
chaoguang 393cbabd52 Rename class 2020-03-31 19:06:11 -07:00
chaoguang 53a04740be refine part of the code 2020-03-31 01:36:07 -07:00
chaoguang 2a0bb34005 delete code and format 2020-03-31 01:21:21 -07:00
chaoguang 79db3b2a57 add randomness 2020-03-31 01:14:35 -07:00
chaoguang 3640dfed99 add trace lines fore test failures 2020-03-31 00:09:38 -07:00
chaoguang 37ca0bf7e2 add code to handle the three flags in RangeResultRef 2020-03-30 23:27:09 -07:00
chaoguang 8fbeefc2a2 refine code 2020-03-24 01:15:14 -07:00
chaoguang c02fdd47dc add randomness for bytes limit 2020-03-24 01:14:50 -07:00
chaoguang 4825e1bae7 clang-format 2020-03-24 01:00:04 -07:00
chaoguang ea86089ee0 refine code 2020-03-24 00:59:37 -07:00
chaoguang 049888e70e refine code 2020-03-24 00:29:00 -07:00
chaoguang 6df92a8b8d A work version of strict workload test 2020-03-23 23:55:56 -07:00