Commit Graph

742 Commits

Author SHA1 Message Date
A.J. Beamon c2a960b0f7 Invoke a different command on fdbbackup that doesn't hang when a cluster file is present but the cluster is unavailable. 2021-12-15 09:34:08 -08:00
A.J. Beamon 1a893e8d32 Add a test that various binaries properly parse arguments. 2021-12-14 12:03:44 -08:00
A.J. Beamon f24adc7b6a Fix a bunch of places where we used old-style arguments. Allow hyphens for profiler args. 2021-12-14 09:59:14 -08:00
A.J. Beamon f29f487823
Unify flags (#25)
* Unify flags implementation and change help text in backup.actor.cpp
Description

Testing

* Keep LOG_GROUP unchanged

Description

Testing

* Transfer the hyphens to underscores for internal options and user's input, EXCEPT leading hyphens

Description

Testing

* Use a deep copy of the user's input flag to do the match

Description

Testing

* Convert the _ to - in Option arrays of backup.actor.cpp

Description

Testing

* Transter _ to - for files:
        TLSConfig.actor.h, fdbcli.actor.cpp, fdbserver.actor.cpp, FileConverter.h, FileConverter.cpp

Description

Testing

* Change another way to unify flag: using SO_O_ICASE_HYPHEN_AND_UNDERSCORE to determine whether we do the conversion in function IsEqual

Description

Testing

* Change the config command's name from SO_O_ICASE_HYPHEN_AND_UNDERSCORE to SO_O_HYPHEN_TO_UNDERSCORE

Description

Testing

* Update the comment for the SO_O_HYPHEN_TO_UNDERSCORE

Description

Testing

* Fix left underscore in SOption arrays

Description

Testing

* Convert _ to - in several files for commands

Description

Testing

* Make the FDBService and fdbmonitor backward compatible

Description

Testing

* Fix bugs about pointers

Description

Testing

* Check underscore and hyphen at the same time for --knob_, --localily_ and --test_
And fix bugs in fdbmonitor and FDBService
Description

Testing

* Simplify the function in fdbmonitor and FDBService about retrieving arguments.
And fix some documents in masterserver.actor.cpp

Description

Testing

* Convert _ to - for knob in the setKnob functions

Description

Testing

* Convert - to _ in the setKnob functions

Description
Since key in the knob related maps only contain _

Testing

* Rename varialbe name in the fdbmonitor and FDBService for clarification

Description

Testing

Co-authored-by: Chang Liu <chang.liu@snowflake.com>
2021-12-14 08:44:39 -08:00
sfc-gh-tclinkenbeard a874eb8961 Use toml for remaining from_7.0.0 and to_7.0.0 restarting tests 2021-12-06 13:23:55 -08:00
sfc-gh-tclinkenbeard 6b81065b32 Use toml for snapshot test files 2021-12-06 13:23:55 -08:00
A.J. Beamon 88ae9fd1a8 Modify parameters of ApiCorrectnessSwitchover test to avoid out of memory errors. 2021-12-03 17:42:59 -08:00
Tao Lin 9b0a9c4503
Return error when getRangeAndFlatMap has more & Improve simulation tests (#6029) 2021-12-03 12:50:07 -08:00
neethuhaneesha c5562852a5
Merge pull request #6081 from neethuhaneesha/DisableDiskFailureTst
Excluding DiskFailureCycle test for rocksdb storage engine.
2021-12-02 14:31:29 -08:00
Neethu Haneesha Bingi fa4ed67f70 Excluding DiskFailureCycle test for rocksdb storage engine. 2021-12-02 10:27:48 -08:00
Josh Slocum a82845af43 Merge branch 'master' into bg_bindings 2021-12-01 16:55:28 -06:00
sfc-gh-tclinkenbeard 43c518a2e9 Move SnapCycleRestart test into from_7.0.0 directory 2021-11-30 11:07:42 -08:00
sfc-gh-tclinkenbeard 92ca07516a Only test snapshots from version >= 7.0 2021-11-30 10:52:06 -08:00
sfc-gh-tclinkenbeard 299d789d7c Reenable snapshot tests 2021-11-30 10:12:32 -08:00
Steve Atherton 80031e4ae6 Make DiskFailureCycle test do less work so valgrind tests finish faster. 2021-11-16 21:15:42 -08:00
Steve Atherton 035e0d6e52
Merge branch 'master' into bit-flipping-workload 2021-11-16 14:42:22 -08:00
Steve Atherton 76f0323873 Add missing declaration of test file. 2021-11-16 04:27:58 -08:00
Steve Atherton c53f5aa110 Renamed redwood to redwood-1-experimental and file extension to .redwood-v1. 2021-11-16 02:15:22 -08:00
Josh Slocum 329091e14f Merge branch 'master' into bg_bindings 2021-11-11 10:13:37 -06:00
Markus Pilman a246c1555d
Merge pull request #5931 from sfc-gh-mpilman/features/all-unit-tests-in-ci
Make sure unit tests are run often enough
2021-11-10 08:41:04 -07:00
Tao Lin fdb3b72e35 Introduce GetRangeAndFlatMap to push computations down to FDB
Re-introduce #5609
2021-11-09 13:52:28 -08:00
Markus Pilman 0779512c3b added file to run perf unit tests 2021-11-08 15:54:18 -07:00
Markus Pilman d6fad2e489 readded old tlog tests 2021-11-08 15:52:08 -07:00
Markus Pilman 648b9c97ab fixed stupid mistake 2021-11-08 15:47:32 -07:00
Markus Pilman 7df059570a Make sure unit tests are run often enough 2021-11-08 15:43:32 -07:00
Tao Lin 586cc3b102
Revert "Introduce GetRangeAndFlatMap to push computations down to FDB" 2021-11-04 08:46:56 -07:00
Tao Lin 0853661d13 Introduce getRangeAndHop to push computations down to FDB 2021-11-03 13:21:16 -07:00
Josh Slocum a5b2f464e3 Refactored granule materialization code to be called by c client as well as internal granule management 2021-11-03 13:19:07 -05:00
sfc-gh-tclinkenbeard cf3c9dd520 Remove reference to deleted Downgrade.toml file 2021-11-01 14:54:24 -07:00
negoyal 1e7338b6c3 Merge branch 'master' into bit-flipping-workload 2021-10-28 14:24:49 -07:00
He Liu 46960bed91 Merge branch 'master' of https://github.com/apple/foundationdb into disable-ha-dl-test 2021-10-27 20:55:54 -07:00
He Liu a7958705af Disable HA in DataLossRecovery test, and reenabled the test. 2021-10-27 12:00:30 -07:00
Vaidas Gasiunas 40da5a80f9 Merge remote-tracking branch 'apple/master' into multi-version-client-2 2021-10-26 19:29:10 +02:00
Evan Tschannen 2208b04174
Merge pull request #5855 from sfc-gh-etschannen/blob_full_clean
Blob Granules V0
2021-10-26 09:57:35 -07:00
Vaidas Gasiunas 37bc41abbb Merge remote-tracking branch 'apple/master' into multi-version-client-2 2021-10-26 18:51:43 +02:00
Josh Slocum 58e5ffbd31 Disabling frequently failing tests until they can be fixed 2021-10-26 09:32:01 -07:00
Josh Slocum 0ff8ddc2b6 Merge branch 'master' into blob_full_clean 2021-10-25 13:38:48 -05:00
Evan Tschannen 6f7558b8ea Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
# Conflicts:
#	tests/CMakeLists.txt
2021-10-24 21:06:33 -07:00
Suraj Gupta 09df358b77 Re-ignore tests. 2021-10-14 19:23:12 -04:00
He Liu dbfeb06c97 Reproduced user data loss incident, and tested the improved exclude tool
can fix the system metadata.
2021-10-14 14:08:39 -07:00
Josh Slocum 5f0ec0612a Merge branch 'feature-range-feed' into blob_full 2021-10-13 15:44:35 -05:00
Suraj Gupta 180e806086 Add new test to cmakelists 2021-10-13 15:10:52 -04:00
Suraj Gupta cfb8368da6 Address PR comments. 2021-10-13 14:56:17 -04:00
Suraj Gupta 266a5b06fa Fix infinite loop. 2021-10-13 14:40:26 -04:00
negoyal f913dfed97 Merge branch 'master' into bit-flipping-workload 2021-10-11 16:34:57 -07:00
Evan Tschannen 5c642f706e Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
# Conflicts:
#	fdbcli/fdbcli.actor.cpp
2021-10-09 19:34:16 -07:00
Vaidas Gasiunas bd838217ba MVC2.0: Testing client lib operations with random file sizes
- Adding test parameters to control file size range
- Disabling AIO as it does not support non-page-aligned reads and writes
- Fixing bugs for the cases of an empty file and an incomplete last chunk
- Use hexadecimal representation for checksum in JSON and document keys
2021-10-07 17:23:17 +02:00
Vaidas Gasiunas cda0a5f931 Operation to upload client library binary in to system keyspace 2021-10-06 18:01:46 +02:00
A.J. Beamon c82d820bfd Fixes to new disconnected tests; add a version that doesn't use MVC 2021-09-29 13:16:17 -06:00
A.J. Beamon de863d170d Add some tests for timeout behavior with disconnected clusters 2021-09-29 13:16:17 -06:00