Commit Graph

10411 Commits

Author SHA1 Message Date
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
Jingyu Zhou e8ea9c5dba Update fdbbackup documentation on new "-p" option
To use new backup system in 6.3 to generate partitioned mutation logs by backup
workers.
2020-05-04 09:17:22 -07:00
Alex Miller 78d644f673
Merge branch 'master' into bugfixes/cmake-includes 2020-05-04 02:11:46 -07:00
Alex Miller 8601deb3a1
Merge pull request #3038 from atn34/atn34/client-buggify-timeout-in-flight
Simulate a timeout for an in-flight commit with client buggify
2020-05-04 02:08:29 -07:00
Balachandar Namasivayam d6bc5263ad Add read version and commit version info to getVersion and commit client transaction events. 2020-05-03 22:42:06 -07:00
Andrew Noyes 0c514e91c7 Use approximate write range for set_versionstamped_key 2020-05-04 04:43:50 +00:00
Meng Xu 7b5d43da9c FastRestore:Remove unused field in RestoreRequest 2020-05-03 20:59:47 -07:00
Meng Xu ae86b5bb68 FastRestoreApplier:Continue when a key not exists in DB
Although we thought all keys cached in appliers should have
a base value in DB.
2020-05-03 20:47:21 -07:00
A.J. Beamon 31cef6075a Do the auto-throttle ramp up in a better place. Only commit manual throttle limit once. Add some asserts. 2020-05-03 19:15:29 -07:00
Vishesh Yadav 939a62449f
Merge pull request #3075 from xumengpanda/mengxu/valgrind-fix
Fix Valgrind error InvalidSuppression_FastRestoreWorkerError
2020-05-02 20:33:05 -07:00
Meng Xu 528466e0e6 FastRestore:Fix Valgrind error InvalidSuppression
Trace.error() must explicitly include error_code_actor_cancelled
to handle the error.
2020-05-02 19:52:05 -07:00
A.J. Beamon b33871a16b Fix serialization bug for TagSet 2020-05-02 15:58:45 -07:00