sfc-gh-tclinkenbeard
766a05d33c
Merge remote-tracking branch 'origin/master' into add-format-warning
2021-11-17 12:14:01 -08:00
Jingyu Zhou
3d26d2372b
Merge pull request #5932 from sfc-gh-ahusain/ahusain-improveTesterLogging
...
Improve tester actor logging to track workload run & check status
2021-11-15 13:28:55 -08:00
Steve Atherton
508429f30d
Redwood chunked file growth and low priority IO starvation prevention ( #5936 )
...
* Redwood files now growth in large page chunks controlled by a knob to reduce truncate() calls for expansion. PriorityMultiLock has limit on consecutive same-priority lock release. Increased Redwood max priority level to 3 for more separation at higher BTree levels.
* Simulation fix, don't mark certain IO timeout errors as injected unless the simulated process has been set to have an unreliable disk.
* Pager writes now truncate gradually upward, one chunk at a time, in response to writes, which wait on only the necessary truncate operations. Increased buggified chunk size because truncate can be very slow in simulation.
* In simulation, ioTimeoutError() and ioDegradedOrTimeoutError() will wait until at least the target timeout interval past the point when simulation is sped up.
* PriorityMultiLock::toString() prints more info and is now public.
* Added queued time to PriorityMultiLock.
* Bug fix to handle when speedUpSimulation changes later than the configured time.
* Refactored mutation application in leaf nodes to do fewer comparisons and do in place value updates if the new value is the same size as the old value.
* Renamed updatingInPlace to updatingDeltaTree for clarity. Inlined switchToLinearMerge() since it is only used in one place.
* Updated extendToCover to be more clear by passing in the old extension future as a parameter. Fixed initialization warning.
2021-11-12 13:47:07 -08:00
Ata E Husain Bohra
5e4f25f96d
Improve tester actor logging to track workload run & check status
...
Patch improves logging in "tester.actor" to assist better tracking
of workload run & check status
2021-11-08 16:18:17 -08:00
sfc-gh-tclinkenbeard
13bb7838aa
Enable clang -Wformat warning
2021-10-30 21:07:38 -07:00
Vaidas Gasiunas
c8794ae993
MVC2.0: Adding a comment explaining buffer alignment in download & upload operations; checking additional details in testExpectedError
2021-10-27 19:40:22 +02:00
Vaidas Gasiunas
37bc41abbb
Merge remote-tracking branch 'apple/master' into multi-version-client-2
2021-10-26 18:51:43 +02:00
A.J. Beamon
e882eb33fc
Abstract the cluster file into a cluster connection record that can be backed by something other than the filesystem.
2021-10-22 11:05:18 -07:00
Vaidas Gasiunas
ec307b3f2c
MVC2.0: Addressing code review comments for client lib management operations
2021-10-20 17:19:12 +02:00
Vaidas Gasiunas
4bc798cd57
MVC2.0: Extracting reusable error testing pattern and using it for client lib operations tests
2021-10-11 13:57:11 +02:00
Xiaoge Su
abf73047ca
Enforce std:: specifier rather than using namespace
2021-09-16 19:40:28 -07:00
sfc-gh-tclinkenbeard
e918d20f68
Document "averaged" parameter of PerfMetric constructor
2021-08-29 15:38:21 -07:00
sfc-gh-tclinkenbeard
52a64eb04b
Improve const-correctness for AsyncVar references
2021-08-14 23:41:39 -07:00
Xiaoxi Wang
0e03d5e215
Merge pull request #5313 from sfc-gh-xwang/master
...
add information print in simulation test
2021-08-02 13:59:57 -07:00
Xiaoxi Wang
cc7081c044
add information print
2021-07-30 19:22:49 -07:00
sfc-gh-tclinkenbeard
c74047c665
Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings
2021-07-28 11:51:02 -07:00
Steve Atherton
507c1f11e3
Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use.
2021-07-26 19:55:10 -07:00
sfc-gh-tclinkenbeard
b9a22a61ef
Fix many -Wreorder-ctor warnings
2021-07-23 17:33:18 -07:00
Steve Atherton
f596a81073
Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False so as to not conflict with the TRUE and FALSE macros provided by the Windows and MacOS SDKs.
2021-07-17 00:11:40 -07:00
Trevor Clinkenbeard
f914574f47
Merge pull request #5154 from sfc-gh-tclinkenbeard/send-serverdbinfo-updates-to-coord
...
Add LowLatencySingleClog test
2021-07-12 19:26:40 -07:00
Xiaoxi Wang
2abdbff11f
add Knobs
2021-07-12 05:33:23 +00:00
sfc-gh-tclinkenbeard
fbc4f47882
Add LowLatencySingleClog.toml test
2021-07-10 17:30:20 -07:00
sfc-gh-tclinkenbeard
8cc40e3a2b
Expand use of BOOLEAN_PARAM
2021-07-02 21:41:50 -07:00
sfc-gh-tclinkenbeard
79ff07a071
Added *BOOLEAN_PARAM macros to enforce documentation of boolean parameters
2021-07-02 15:04:42 -07:00
Xiaoxi Wang
d46fccc30f
Revert "Revert "Properly set simulation test for perpetual storage wiggle and bug fixing""
...
This reverts commit ad576e8c20 .
2021-06-11 22:58:05 +00:00
Xiaoxi Wang
ad576e8c20
Revert "Properly set simulation test for perpetual storage wiggle and bug fixing"
2021-06-11 09:07:45 -07:00
Xiaoxi Wang
17ac91bac4
Merge pull request #4929 from sfc-gh-xwang/ppwtest
...
Properly set simulation test for perpetual storage wiggle and bug fixing
2021-06-10 14:09:50 -07:00
Josh Slocum
ad90b03012
Merge pull request #4949 from sfc-gh-jslocum/tss_downgrade
...
TSS downgrade changes
2021-06-10 14:06:38 -07:00
Josh Slocum
59726545a4
TSS downgrade changes
2021-06-10 19:30:45 +00:00
Xiaoxi Wang
6ab0ea3d0f
properly set perpetual_storage_wiggle value during tests
2021-06-07 17:55:20 +00:00
Trevor Clinkenbeard
866f536983
Merge pull request #4888 from sfc-gh-tclinkenbeard/remove-fdbserver-includes
...
Remove fdbserver includes from fdbclient
2021-06-07 10:22:13 -07:00
sfc-gh-tclinkenbeard
594e8944ae
Move RestoreWorkerInterface into fdbserver
2021-05-30 11:51:47 -07:00
Josh Slocum
4257ac2b4d
More TSS Changes/Fixes
2021-05-25 20:37:48 +00:00
Josh Slocum
ce82c9653e
Testing Storage Server implementation
2021-05-25 20:28:50 +00:00
Markus Pilman
64608fe86b
allow simulation properties to be overwritten
2021-05-20 13:48:41 -06:00
Markus Pilman
a445e09c2d
Merge pull request #4617 from sfc-gh-satherton/unit-test-params
...
Added UnitTest parameters concept and ability to run unit tests directly from command line, with parameters
2021-04-15 14:59:15 -06:00
Jon Fu
2a64c227fb
Added options to test config that specify maxtlogversion and array of excluded storage engine types
2021-04-07 15:59:51 -04:00
Steve Atherton
b4e42476b7
Unit test parameters are no longer global, they are accessible via a parameter to the unit test and initialized from otherwise unconsumed test options for the UnitTests workload in the test spec or from the fdbserver command line when using the unittests role.
2021-04-06 02:36:10 -07:00
Steve Atherton
eec119e0d0
Added an fdbserver role to run unit tests directly without a cluster or test spec file, and added a unit test parameters concept for passing options into unit tests.
...
Updated p2p network test to use unit test parameters instead of the environment.
2021-04-04 23:27:34 -07:00
Trevor Clinkenbeard
5cbb6421d2
Merge pull request #4573 from sfc-gh-jfu/jfu-test-parser
...
Updated test parser to read new option correctly
2021-03-25 20:25:51 -07:00
Jon Fu
1541f4234a
Updated test parser with new option and also added option to test file with default value
2021-03-25 14:40:06 -04:00
Markus Pilman
af869ac265
minor formatting fix
2021-03-23 10:59:01 -06:00
Markus Pilman
219a0b98d7
Add documentation
2021-03-23 10:51:16 -06:00
Markus Pilman
0ba99c8e83
Pretty-print topology when starting simulation
2021-03-23 09:38:07 -06:00
Vishesh Yadav
2c316db94d
Merge remote-tracking branch 'apple/master' into master-format-final
...
Also format the changes
2021-03-11 12:54:26 -08:00
sfc-gh-ngoyal
800c37bbb3
Merge pull request #4434 from sfc-gh-clin/cache-correctness
...
Add consistencycheck for cache in consistencycheck workload
2021-03-11 12:00:18 -08:00
FDB Formatster
df90cc89de
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-03-10 10:18:07 -08:00
Chaoguang Lin
425531060e
Add consistencycheck for cache in consistencycheck workload
2021-03-04 14:30:35 -08:00
Andrew Noyes
79cec09255
Apply clang-tidy's performance-inefficient-vector-operation fix
...
I ran this command in my build directory after compiling with
OPEN_FOR_IDE. It took a few small tweaks to get it to compile, which is
outside the scope of this commit.
$ python run-clang-tidy.py -j $(nproc) -checks='-*,performance-inefficient-vector-operation' -fix
2021-03-04 03:58:25 +00:00
Andrew Noyes
4ee97c0784
Use clang-tidy to automatically fix missing overrides
...
Use `clang-tidy -p . $file -checks='-*,modernize-use-override' -header-filter='.*' -fix`
to fix missing overrides, and then use git clang-format to reformat just
those changes. This went pretty well for most files.
Formatting the following files went off the rails, so I'm going to
follow up with a commit that's just clang-tidy and no clang-format.
- fdbclient/DatabaseBackupAgent.actor.cpp
- fdbclient/FileBackupAgent.actor.cpp
- fdbserver/OldTLogServer_4_6.actor.cpp
- fdbmonitor/SimpleIni.h
- fdbserver/workloads/ClientTransactionProfileCorrectness.actor.cpp
2021-01-26 02:04:12 +00:00