Commit Graph

18386 Commits

Author SHA1 Message Date
Trevor Clinkenbeard ef68e6fe0d
Merge pull request #6353 from sfc-gh-ljoswiak/fixes/dynamic-knobs
Fix dynamic knobs correctness issues
2022-02-10 22:13:02 -08:00
Trevor Clinkenbeard f7118ad406
Merge pull request #6371 from sfc-gh-tclinkenbeard/dd-refactor
Move `DDTeamCollection` method implementations into `.cpp` file
2022-02-10 15:03:01 -08:00
Zhe Wang d684508540 Add RatekeeperLimitReasonDetails traceevent for RK 2022-02-10 13:59:47 -08:00
sfc-gh-tclinkenbeard 0dce252c92 Make many DDTeamCollection methods private 2022-02-10 13:44:39 -08:00
sfc-gh-tclinkenbeard 36700791a1 Use structured bindings in some for loops in DDTeamCollection.actor.cpp 2022-02-10 12:10:45 -08:00
sfc-gh-tclinkenbeard 3141698c41 Use special ASSERT_* macros for numeric comparison in data distribution
code.

This helps debugging by printing the exact input values when an
assertion fails.
2022-02-10 11:59:19 -08:00
sfc-gh-tclinkenbeard 975b9f3b32 Remove get helper function from DataDistribution.actor.cpp 2022-02-10 11:32:33 -08:00
sfc-gh-tclinkenbeard f16aa56d4c Fix comment grammar 2022-02-10 11:26:39 -08:00
sfc-gh-tclinkenbeard b5cefdbcc2 Mark DDTeamCollection methods const 2022-02-10 11:26:04 -08:00
sfc-gh-tclinkenbeard 3c00a66f36 Remove public DDTeamCollection::zeroServerLeftLoggerActor method 2022-02-10 11:19:34 -08:00
sfc-gh-tclinkenbeard b96c2477a3 Mark TSSPairState methods const 2022-02-10 11:12:40 -08:00
sfc-gh-tclinkenbeard c37be7a898 Move DDTeamCollection method implementations into cpp file 2022-02-10 11:09:31 -08:00
Ben Collins 017f9b2308 ApiWorkload ctor failed to perform null check on g_simulator 2022-02-10 09:51:37 -08:00
A.J. Beamon d10dc300de
Merge pull request #6365 from sfc-gh-ajbeamon/remove-configure-test-restart
Disallow starting the ConfigureTestRestart test from any version before 7.1.
2022-02-09 17:17:18 -08:00
Kao Makino 886ee280d8
Merge pull request #6297 from sfc-gh-zyang/zyang/fdo
support Profile Guided Optimization
2022-02-09 16:03:41 -08:00
A.J. Beamon 2d9a1ff540 Remove the tests from CMakeLists 2022-02-09 15:53:42 -08:00
sfc-gh-tclinkenbeard 1b3aba018c Mark DDTeamCollection::isCorrectDC const 2022-02-09 15:51:52 -08:00
A.J. Beamon 31aba668a1 Disallow starting the ConfigureTestRestart test from any version before 7.1 because of a bug that causes sporadic failures. 2022-02-09 15:44:50 -08:00
Trevor Clinkenbeard 84ef34b254
Merge pull request #6342 from sfc-gh-tclinkenbeard/dd-refactor
Split `DataDistribution.actor.cpp` into multiple files
2022-02-09 15:43:29 -08:00
Andrew Noyes 863449c983
Allow access to transaction options through a go `ReadTransaction` interface (#6318)
* Run go unit tests in ctest

* Remove unnecessary cgo directives

* go: Allow access to TransactionOptions from ReadTransaction

Closes #6265

* Try go get instead of go install

My understanding is that this should download dependencies (e.g. xerrors)

* Add -d flag to match go command for building libraries

* Avoid concurrent calls to `go get`
2022-02-09 14:41:21 -08:00
sfc-gh-tclinkenbeard 3f0e2ae62e Merge remote-tracking branch 'origin/main' into dd-refactor 2022-02-09 14:29:16 -08:00
Lukas Joswiak f300cec6ed Fast-track ConfigNode registration with Simple DB
When using the `ConfigDBType::Simple` configuration database, allow
nodes to immediately register with the broadcaster without having to
wait for a quorum.
2022-02-09 14:18:48 -08:00
Lukas Joswiak 85da80a9ce Split ConfigIncrement workload
Adds a new ConfigIncrement workload that tests the ability of the
configuration database to remain correct under minority node data loss
situations.
2022-02-09 14:18:40 -08:00
Lukas Joswiak e8354d82bd Fix timeout issue when using >3 coordinators
The calculation to determine how many non-timeout replies had been
received was incorrect, causing rollback/rollforward requests to not be
sent, causing the dynamic knob subsystem to get stuck.
2022-02-09 13:43:33 -08:00
Lukas Joswiak 7fc4f0d649 Reuse existing quorum timeout error code 2022-02-09 13:43:33 -08:00
Lukas Joswiak cdc1549282 Fix client timeout errors 2022-02-09 13:43:33 -08:00
Lukas Joswiak ce67d1937f Add explanation of out-or-order messages from broadcaster 2022-02-09 13:43:33 -08:00
Lukas Joswiak b5a3312a26 Factor out known replica update step 2022-02-09 13:43:33 -08:00
Lukas Joswiak 1d496b7b30 Remove timeout
There are a few occasional failures after removing this timeout. They
mostly seem to be caused from contention among the ConfigIncrement
actors which have similar backoffs, causing an infinite loop of attempts
to get their generation accepted on a majority of ConfigNodes.
2022-02-09 13:43:33 -08:00
Lukas Joswiak c86712b4c0 Move single interface serve functions to testing interface 2022-02-09 13:43:33 -08:00
Lukas Joswiak 1d15aa5580 Fix internal function name 2022-02-09 13:43:32 -08:00
Lukas Joswiak dc4850e722 Don't specify types in format 2022-02-09 13:43:32 -08:00
Lukas Joswiak 990e215a8d Fix formatting
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2022-02-09 13:43:32 -08:00
Lukas Joswiak d5a562e6b8 Fix dynamic knobs correctness issues 2022-02-09 13:43:32 -08:00
sfc-gh-tclinkenbeard dcbbee56a0 Update copyright dates 2022-02-09 13:28:40 -08:00
Aaron Molitor 96dd86ebf8 update RocskDB and Boost
add Finduring, and include into fdbserver
add BOOST asio/uring settings to fdbserver compile
move portable rocks, liburing up to be configurable at build time.
2022-02-09 10:48:18 -06:00
Renxuan Wang e962d8184c Remove the deprecated code.
They were deleted in #5593 but accidentally added back in #5589.
2022-02-08 17:01:29 -08:00
Mohamed Oulmahdi 23fa27cfde
Merge pull request #6333 from Doxense/add-missing-tests
Add missing tests
2022-02-09 01:03:08 +01:00
sfc-gh-tclinkenbeard 3d3223d13c Remove uses of pid2server_info 2022-02-08 15:58:20 -08:00
sfc-gh-tclinkenbeard ebf940b710 Remove pid2server_info field 2022-02-08 14:25:16 -08:00
Mohamed Oulmahdi e6c16a5e89 Ignore rare/AllSimUnitTests.toml 2022-02-08 22:40:24 +01:00
Markus Pilman 04952a7e4a
Merge pull request #6357 from Doxense/fix-wrong-header-fdbservice
Fix path to SimpleIni.h in FDBService.cpp
2022-02-08 08:09:06 -07:00
Mohamed Oulmahdi 32ed49ed25 Fix path to SimpleIni.h in FDBService.cpp 2022-02-08 15:02:28 +01:00
sfc-gh-tclinkenbeard acb3e840ac Merge remote-tracking branch 'origin/main' into dd-refactor 2022-02-08 00:33:51 -08:00
sfc-gh-tclinkenbeard 04a1347df2 Merge remote-tracking branch 'origin/main' into dd-refactor 2022-02-08 00:33:27 -08:00
Bala Namasivayam 9fe7a99e11 Make AWS V4 header default 2022-02-07 17:53:05 -08:00
Bala Namasivayam 208b5de572 Adding comment and address code style formatting. 2022-02-07 17:53:05 -08:00
Bala Namasivayam 0f36157c2c Clang format files 2022-02-07 17:53:05 -08:00
Bala Namasivayam a420098fc5 Support AWS v4 header for s3 backup and restore 2022-02-07 17:53:05 -08:00
Ray Jenkins e1ae0e03b9 Update flow/Knobs.cpp
Co-authored-by: Lukas Joswiak <lukas.joswiak@snowflake.com>
2022-02-07 15:49:35 -08:00