Commit Graph

10492 Commits

Author SHA1 Message Date
Andrew Noyes 55f0b13fe9 Require c11 atomics
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)

apparently is not enough, and gcc 4.8.5 e.g. passes whatever checks are
done for the above but doesn't support c11 atomics. Let's just check for
them explicitly.
2020-05-18 16:30:12 +00:00
Andrew Noyes 747243e9cb Set CMAKE_{C,CXX}_STANDARD_REQUIRED ON 2020-05-18 16:14:43 +00:00
Meng Xu 9c6a8a6386
Merge pull request #3135 from sfc-gh-clin/improvement-on-special-key-space
Improvement on special key space
2020-05-15 17:39:13 -07:00
Chaoguang Lin 8597b38d10 Add an assertion in SingleSpecialKeyImpl 2020-05-15 16:34:43 -07: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 47f4f7085e update special-key-space comments 2020-05-15 16:34:43 -07:00
Chaoguang Lin 2b84c3224f update special-key-space comments 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 8cc8ceb09c Add check for range read cross module boundary, maybe improved later 2020-05-15 16:34:43 -07:00
Chaoguang Lin 8ab792d58b Add assertions that results are empty if no conflicts happen 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 a65f767997 Using coinflip() to simplify the code 2020-05-15 16:34:43 -07:00
Chaoguang Lin 3ea1f8472a Revert the wrong commit that changed RandomUnitTest.txt 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 43a28c254a fix the bug when moving over null-impl-range 2020-05-15 16:34:42 -07:00
Chaoguang Lin e4655f33fc use std::unordered_map and ::at to get values 2020-05-15 16:34:42 -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 Lin 944f87e17b Refactor special-key-space code that handles the normalization of keySelectors 2020-05-15 16:34:42 -07:00
Chaoguang Lin 03e395b353 Rename pks to sks, as the shorthand for special-key-space in header file 2020-05-15 16:34:42 -07:00
Chaoguang Lin 0e6d67aa5f Rename pks to sks, as the shorthand for special-key-space 2020-05-15 16:34:42 -07:00
chaoguang f605c8d74f Narrow keyrange of special-key-space to [\xff\xff, \xff\xff\xff). Initilize new ones in correctness tests 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 bb1b5c4f9d update special-key-space comments 2020-05-15 16:34:42 -07:00
chaoguang c6a09559ee Allow multiple clients in report-conflicting-keys 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
A.J. Beamon d3f465fd56
Merge pull request #3102 from mpilman/features/trace-roles
Emit traces regularly about role assignment
2020-05-15 08:12:25 -07:00
A.J. Beamon 3ee4912312
Merge pull request #3152 from ajbeamon/tag-throttling-status-improvements
Add and fix tag throttling status fields
2020-05-14 16:08:05 -07:00
A.J. Beamon b9fea57bd3
Merge pull request #3173 from mpilman/bugfixes/ratekeeper-trace-id
Pass Ratekeeper ID to all RK traces
2020-05-14 16:07:34 -07:00
Markus Pilman 2cdcab5aa7 address review comments 2020-05-14 14:54:38 -07:00
Markus Pilman 5230668a76 Pass Ratekeeper ID to all RK traces 2020-05-14 14:17:43 -07:00
A.J. Beamon 6a75ac4566
Merge pull request #3163 from atn34/atn34/tsan
Disable TSAN + STATIC_LINK_LIBCXX
2020-05-14 13:51:08 -07:00
Markus Pilman eaaceab845 fixed compiler issues 2020-05-14 13:48:19 -07:00
Alvin Moore 05dd28aee9
Merge pull request #3131 from ajbeamon/golang-xerrors
golang: unwrap errors for retry
2020-05-14 11:24:34 -07:00
A.J. Beamon 594a07ce2b Merge branch 'release-6.3' into golang-xerrors 2020-05-14 10:35:54 -07:00
Markus Pilman c2bc75516f Merge branch 'release-6.3' of github.com:apple/foundationdb into features/trace-roles 2020-05-14 10:34:53 -07:00
Alvin Moore 3f690def8c
Merge pull request #3170 from apple/release-6.2
Merge Release 6.2 into Release 6.3
2020-05-14 09:18:25 -07:00
Alvin Moore 123fe87ae5
Merge pull request #3159 from AlvinMooreSr/docker-update
Newer Git To Build Docker
2020-05-14 06:43:33 -07:00
Alvin Moore 67182b2fb4
Merge pull request #3048 from AlvinMooreSr/dev_docker
Development Docker image
2020-05-14 04:18:27 -07:00
Alvin Moore e10e09f9fa Removed the git installation since in inheritted docker image 2020-05-14 01:45:25 -07:00
Alvin Moore afec69101b Updated the version 2020-05-14 01:06:14 -07:00
Alvin Moore c85b302e59 Added Dockerfile used to build a development docker image 2020-05-14 01:06:14 -07:00
Andrew Noyes b5ef0eab10 Enforce no static libcxx with tsan 2020-05-13 22:44:43 +00:00
Jingyu Zhou 3b0f37a5d5
Merge pull request #3154 from xumengpanda/mengxu/fr-delay-leader-election-PR
Fast restore: Delay leader election after restore request is set
2020-05-13 14:35:23 -07:00
Andrew Noyes cdc16a8610 Disable static linking for tsan 2020-05-13 20:54:36 +00:00
Evan Tschannen 4a7d91f645
Merge pull request #3153 from alexmiller-apple/prefix-compress-knob
Add a knob which controls writing prefix compressed kvs mem snapshots
2020-05-13 13:21:03 -07:00
Meng Xu 4cf75e33c7
Merge pull request #3156 from ajbeamon/fix-handling-of-max-rate
Tag throttles reacted poorly to the rate being set to max
2020-05-13 11:55:56 -07:00
Alvin Moore 31c298c5de Integrated git repository with others 2020-05-12 23:02:51 -07:00