Commit Graph

17226 Commits

Author SHA1 Message Date
sbodagala aa5e6d07aa
Merge pull request #5620 from sbodagala/version-vector-prototype
Version vector prototype: merge master into version vector branch
2021-09-22 11:09:05 -04:00
Sreenath Bodagala ea197bfc3d - Address a compilation error 2021-09-20 23:07:15 +00:00
Sreenath Bodagala 22adaa1581 Merge remote-tracking branch 'apple-upstream/master' into version-vector-prototype 2021-09-20 22:47:37 +00:00
Suraj Gupta 90e102cfd2 Add missing namespace qualifier to vector. 2021-09-20 16:43:08 -05:00
Sreenath Bodagala 950de29d5a Merge remote-tracking branch 'apple-upstream/master' into version-vector-prototype 2021-09-20 21:29:57 +00:00
Evan Tschannen df84223f5c fix compiler error 2021-09-20 13:58:05 -07:00
Evan Tschannen ef302d33f5 added a comment 2021-09-20 13:58:05 -07:00
Evan Tschannen 8926951a0a restore the original tssMode in restarting tests 2021-09-20 13:58:05 -07:00
Evan Tschannen 5f59c037af buggify the streaming byte limit 2021-09-20 13:58:05 -07:00
Evan Tschannen 47ccc75270 added a sequence number to streaming replies as a safety backstop against out of order delivery 2021-09-20 13:58:05 -07:00
Evan Tschannen 4f14e08547 fix: do not send a reply to a remote endpoint if the the connection has failed 2021-09-20 13:58:05 -07:00
Evan Tschannen 5d2c86d87c rename test file 2021-09-20 13:58:05 -07:00
Evan Tschannen 2da7732637 added a new workload to test streaming reads 2021-09-20 13:58:05 -07:00
Josh Slocum f9a871218f fixing db config parenthesis 2021-09-20 14:36:37 -05:00
Suraj Gupta 0f898fe138 Simplify count increments. 2021-09-20 14:26:42 -05:00
Suraj Gupta bac9d4cca8 Address PR comments.
Adds comment for constant and changes method name for `setonDb`.
2021-09-20 14:26:42 -05:00
Suraj Gupta 1420106d8f Fix recruitment bug. 2021-09-20 14:26:42 -05:00
Suraj Gupta 6533678f0d Address PR comments.
Revert knob name change, fix comparison between new and old
recruitments, and get rid of empty `if` block.
2021-09-20 14:26:42 -05:00
Suraj Gupta 6b4eb06201 Rename function to be more clear. 2021-09-20 14:26:42 -05:00
Suraj Gupta fe098b3b11 Refactor logic for recruiting singletons.
This commit refactors the logic for recruiting singletons,
which is done by the ClusterController. This allows for far
easier additions of new singletons in the future, and also
cleans up the code.

Also, the logic for recruiting DD was changed to mirror
the logic for recruiting RK. Although the logic for RK
allows there to be many RKs existing at once, the moveKeysLock
mechanism used by DD still prevents multiple DDs existing at once.
2021-09-20 14:26:42 -05:00
Chang Liu 110d6f2d24 Enable support for integers in environment variable network options
Description
Description
Previously, the environment setting via shell cannot be extracted correctly, due to the code is't ablle to
determine input parameter type.
Now the logic to determien parameter and give it different processing is added.

Resolves #4127

Testing
1. Pass an invalid env var:
	FDB_NETWORK_OPTION_TRACE_ROLL_SIZE=xyz - error
	FDB_NETWORK_OPTION_TRACE_ROLL_SIZE=123xyz) - error
2. Pass an out-of-ranged env var:
	FDB_NETWORK_OPTION_TRACE_ROLL_SIZE=9999999999999999999999999999 -error
	FDB_NETWORK_OPTION_TRACE_ROLL_SIZE=-9999999999999999999999999999 -error
3. Pass a valid env var
	FDB_NETWORK_OPTION_TRACE_ROLL_SIZE=1000 -ok
4. Pass a float env var(not support)
	FDB_NETWORK_OPTION_TRACE_ROLL_SIZE=3.1415926535 - error
2021-09-20 11:48:07 -07:00
Chang Liu 3ece92b93d Enable support for integers in environment variable network options 2021-09-20 11:48:07 -07:00
Chang Liu 1e16ab446f Enable support for integers in environment variable network options 2021-09-20 11:48:07 -07:00
Chang Liu c36758c08a Enable support for integers in environment variable network options 2021-09-20 11:48:07 -07:00
Chang Liu 72e97775be Enable support for integers in environment variable network options 2021-09-20 11:48:07 -07:00
Chang Liu d78e53893d Update for the env variable type check function
Description

Testing
2021-09-20 11:48:07 -07:00
Chang Liu 19cfc12378 Enable multiple environment type input
Description
Previously, the environment setting via shell cannot be extracted correctly, due to the code is't ablle to
determine input parameter type.
Now the logic to determien parameter and give it different processing is added.

Testing
2021-09-20 11:48:07 -07:00
A.J. Beamon df5966ac85 Update release notes. 2021-09-17 18:10:56 -06:00
A.J. Beamon d51b93390d Proper handling of reset and transaction destruction. Add some comments. 2021-09-17 18:10:56 -06:00
A.J. Beamon b5fbd07155 Transactions would not honor the transaction timeout option if the MVC did not have an active database. 2021-09-17 18:10:56 -06:00
Sreenath Bodagala d4f9a09a4f - Address test failures 2021-09-17 21:21:44 +00:00
Sreenath Bodagala 184c134b8a - Resolve merge conflicts 2021-09-17 20:25:16 +00:00
Sreenath Bodagala 2aa3b44d4e Merge remote-tracking branch 'apple-upstream/master' into version-vector-prototype
- Conflicts:
	fdbserver/LogSystem.h
	fdbserver/LogSystemConfig.h
	fdbserver/TagPartitionedLogSystem.actor.cpp

- Files modified during merge:

modified:   fdbserver/LogSystem.cpp
modified:   fdbserver/LogSystemConfig.cpp
2021-09-17 19:36:18 +00:00
Markus Pilman 2a0415e640 Fix error handling when locking database 2021-09-17 11:33:51 -07:00
Neethu Haneesha Bingi 3c35bc69d7 Decoupling the rocksdb version check to multiple static asserts. 2021-09-17 08:53:23 -07:00
Neethu Haneesha Bingi c0e6b09fe3 Enforcing 6.22.1 rocksdb version and enabling readRange deadline option. 2021-09-17 08:53:23 -07:00
Xiaoge Su e68b131e4a fixup! Reformat source code 2021-09-16 19:40:28 -07:00
Xiaoge Su abf73047ca Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
Renxuan Wang 96fcde45c2 Minor leader election code improvements.
1. Rename monitorLeaderRemotely* functions to monitorLeaderWithDelayedCandidacy*. "Remote" is not clearly describing what the functions are doing;
2. Rename monitorLeaderForProxies() to monitorLeaderAndGetClientInfo() to better describe the function;
3. Remove monitorLeaderRemotelyInternal() and monitorLeaderRemotely() in MonitorLeader.actor.cpp, to eliminate code duplication. They already exist in worker.actor.cpp;
4. Move the declaration of getLeader() from LeaderElection.actor.cpp to MonitorLeader.h;
5. Update a few comments.
2021-09-16 15:34:45 -07:00
Markus Pilman 548b9d75f6 Fix filename 2021-09-16 15:15:06 -07:00
Markus Pilman 1ad8ca7dda Fix naming and change filename 2021-09-16 15:15:06 -07:00
Markus Pilman 1cf98785a0 updated release notes 2021-09-16 15:15:06 -07:00
Markus Pilman 2c39f4b2f0 Make naming consistent with Fedora guidelines 2021-09-16 15:15:06 -07:00
Markus Pilman a2b8812e63 fix permissions again 2021-09-16 15:15:06 -07:00
Markus Pilman 56aff2bc14 change package name to make yum happy 2021-09-16 15:15:06 -07:00
Markus Pilman d46c195444 fix directory permissions in postinst script 2021-09-16 15:15:06 -07:00
Sreenath Bodagala 35621a255e - Address review comments 2021-09-16 12:00:26 -04:00
Sreenath Bodagala 82346c0681 Address an assertion failure in getLatestCommitVersions().
VersionVector::applyDelta(): Apply the delta version vector only if
the max version of the local version vector cache is below the max
version of the delta version vector.
2021-09-16 12:00:26 -04:00
Sreenath Bodagala ffbdc21ca8 - Address review comments 2021-09-16 12:00:26 -04:00
Sreenath Bodagala 6716ed0d17 Address build failure. 2021-09-16 12:00:26 -04:00