Alex Miller
378951360d
Merge pull request #3086 from alexmiller-apple/ctest-use-crash
...
Make ctest use --crash when running simulation tests.
2020-05-05 12:49:21 -07:00
Meng Xu
4d90384c58
Correct suppression event
2020-05-05 12:36:32 -07:00
Markus Pilman
6bd7472f4d
Apply suggestions from code review
...
Co-authored-by: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-05-05 10:37:05 -07:00
Andrew Noyes
70f2aa2167
Parameterize the size of conflict ranges in test
2020-05-05 17:18:43 +00:00
A.J. Beamon
66b4920fc3
Fix off-by-one error in auto-throttle limit. Allow updating existing auto-throttle when the limit is reached.
2020-05-05 09:58:00 -07:00
Meng Xu
c49b6756fe
FastRestoreApplier:Trace clear range op when it has too many for debug
2020-05-05 09:28:50 -07:00
Meng Xu
759820cc61
FastRestoreApplier:Add warning when too many clears in a txn
2020-05-05 09:00:02 -07:00
Andrew Noyes
37fe05fc76
Merge remote-tracking branch 'upstream/master' into atn34/conflict-ranges
2020-05-05 15:52:07 +00:00
Meng Xu
62de02fb2c
FastRestoreApplier:Add delay to avoid overwelming DB
2020-05-05 08:47:26 -07:00
A.J. Beamon
bd9d3e6679
Merge pull request #3087 from apple/revert-2882-lb_ub_perf
...
Revert "reduce the number of calls to operator< made by lower_bound and upper…"
2020-05-05 08:17:27 -07:00
A.J. Beamon
8125096e9b
Revert "reduce the number of calls to operator< made by lower_bound and upper…"
2020-05-05 08:17:10 -07:00
Alex Miller
53b70e6529
Fix addWellKnownEndpoint order bug.
2020-05-05 03:21:36 -07:00
Alex Miller
f040694bf0
Make ctest use --crash when running simulation tests.
...
So that tests with ASSERTion failures don't cause CI to run slow and
produce massive logs. There's also rarely a reason to continue through
assertion failures.
2020-05-05 03:11:09 -07:00
Alex Miller
38fa218a00
Remove unneeded duplicated code.
2020-05-05 01:02:01 -07:00
Alex Miller
1117eae2b5
Rework to make ElectionResult code similar to OpenDatabase code.
...
And also restore and fix the delayed cluster controller code.
2020-05-05 01:00:17 -07:00
Meng Xu
67b9e0b29a
FastRestoreApplier:Add sanity check and trace for debugging stall
2020-05-04 22:32:57 -07:00
Andrew Noyes
f4cc1d3a4f
Remove more auto-added headers
2020-05-04 20:44:57 -07:00
Meng Xu
2fec56e7e2
FastRestore:Logging for getReplyBatches
2020-05-04 20:12:59 -07:00
Andrew Noyes
aaf87c0c5c
Remove headers vscode auto-added
2020-05-04 19:50:48 -07:00
Meng Xu
d22af629cd
FastRestoreApplier:Add applierID and batchIndex for precompute stage
2020-05-04 16:32:09 -07:00
A.J. Beamon
46263f794a
Add missing line
2020-05-04 16:24:13 -07:00
A.J. Beamon
9856099260
MutationRef serialization depended on type being initialized, but this wasn't true during vtable collection.
2020-05-04 16:07:04 -07:00
A.J. Beamon
de1f85d106
Fix accounting bug in TagSet. Change serialization back to not including the number of elements. Fix knob usage.
2020-05-04 15:49:55 -07:00
Steve Atherton
4ae356b237
Merge pull request #2882 from sears/lb_ub_perf
...
reduce the number of calls to operator< made by lower_bound and upper…
2020-05-04 15:46:22 -07:00
Meng Xu
abda13e9df
FastRestoreApplier:Free memory at each VB and refactor handleApplyToDBRequest
2020-05-04 15:29:27 -07:00
Meng Xu
135f6443da
FastRestoreApplier:Add trace to track applying status
2020-05-04 15:02:53 -07:00
Russell Sears
17c0ad5a62
switch to the more obvious "l < r ? -1 : l == r ? 0 : 1" since code generation for that seems a bit more stable, and it is probably more commonly used than "(l > r) - (l < r)"
2020-05-04 14:47:23 -07:00
Meng Xu
c237ca9708
Merge pull request #3081 from jzhou77/backup-cmd
...
Update fdbbackup documentation on new "-p" option
2020-05-04 14:17:34 -07:00
Alex Miller
ce19156afd
Merge pull request #2909 from mpilman/bugfixes/cmake-includes
...
don't include source and binary dir
2020-05-04 14:08:25 -07:00
Jingyu Zhou
2c5da1c116
Remove "-p" option and use "--partitioned_log_experimental" option
2020-05-04 13:45:54 -07:00
A.J. Beamon
c55aa5306f
Merge pull request #3010 from mpilman/bugfixes/deb-dir-structure
...
Don't build debug packages unless FDB_RELEASE is set
2020-05-04 12:27:00 -07:00
Andrew Noyes
b65c089edc
Don't assert extra conflict range is ready
2020-05-04 19:26:40 +00:00
Markus Pilman
046f97ffdd
replace macros with `constexpr` variables
2020-05-04 12:12:27 -07:00
Andrew Noyes
d2e2532287
Fix memory error and avoid unnecessary copy
2020-05-04 18:50:59 +00:00
Meng Xu
9000a4a548
FastRestoreMaster:Free samples memory immediately after use
2020-05-04 11:49:36 -07:00
Meng Xu
cb52cf2dfc
Remove versionBatchStart var from RestoreRoleData
2020-05-04 11:42:19 -07:00
Meng Xu
68bcecd7d4
FastRestoreLoader:Clean batchData when a version batch finishes
...
Add sanity check for each loader phase to ensure an older version batch
will not be executed once a version batch has been marked as finished.
2020-05-04 11:31:42 -07:00
Evan Tschannen
b68980d686
Merge pull request #2028 from negoyal/cache_storageq_results
...
Cache storageq results
2020-05-04 11:27:02 -07:00
Meng Xu
0ba1551116
FastRestore:Trace memory usage periodically
2020-05-04 11:20:53 -07:00
Markus Pilman
3d1d46b129
simplified further
2020-05-04 10:47:24 -07:00
Markus Pilman
3aebb5e028
removed unused code
2020-05-04 10:45:56 -07:00
Markus Pilman
d9701f354d
Merge remote-tracking branch 'origin/master' into bugfixes/deb-dir-structure
2020-05-04 10:44:25 -07:00
Markus Pilman
92e672e2f0
Fixed compiler errors
2020-05-04 10:40:31 -07:00
A.J. Beamon
cd2176ac15
Adjust some knobs
2020-05-04 10:37:53 -07:00
Xin Dong
dd9c240320
Address the remaining review comments
2020-05-04 10:25:10 -07:00
A.J. Beamon
36454bb3b8
Merge branch 'master' into transaction-tagging
...
# Conflicts:
# fdbclient/MasterProxyInterface.h
# fdbclient/NativeAPI.actor.cpp
2020-05-04 10:23:25 -07:00
A.J. Beamon
80a235aa80
Add some correctness tests
2020-05-04 10:15:18 -07:00
A.J. Beamon
bb3d4b6b89
Add a bunch of TEST macros and some other little things
2020-05-04 10:11:36 -07:00
Andrew Noyes
8baa2fe205
Test reading conflict range for committed tx
2020-05-04 16:57:51 +00:00
Andrew Noyes
4a0925e9a6
Allow reading conflict ranges after ryw disabled tx commits
2020-05-04 16:43:20 +00:00