Commit Graph

17247 Commits

Author SHA1 Message Date
Lukas Joswiak 7ed7ca9bac Fix OPEN_FOR_IDE 2021-09-21 12:42:49 -07:00
Chaoguang Lin c6b572dc06 Add makeInterruptable to commands' actors 2021-09-21 10:06:04 -07:00
Chaoguang Lin a6940c6061 Change the return type of triggerddteaminfologCommandActor to bool to make it consistent with others 2021-09-21 10:06:04 -07:00
Chaoguang Lin b188e289d3 Format code 2021-09-21 10:06:04 -07:00
Chaoguang Lin a871a9fac6 Refactor fileconfigure command 2021-09-21 10:06:04 -07:00
Chaoguang Lin 9f7ca7fafd Fix rreversed return boolean value in configureCommandActor 2021-09-21 10:06:04 -07:00
Chaoguang Lin 65956ae6b7 Refactor configure command; refactor changeConfig to template code to reuse existing tests 2021-09-21 10:06:04 -07:00
Vaidas Gasiunas 16171d8252 Refactoring well-known endpoint registration
- List all well-known endpoints of FDB in a single enum
- Identify well-known endpoints by plain IDs
2021-09-21 11:05:31 -06:00
Jingyu Zhou 2061fc6dbb Fix more links 2021-09-21 09:35:32 -07:00
Jingyu Zhou 154573c1bb Fix a documentation link in ha-write-path 2021-09-21 09:35:32 -07:00
Jingyu Zhou 566ee3f3b2 Fix image links in read-write-path documentation 2021-09-21 09:35:32 -07:00
Johannes M. Scheuermann a597b87af9 Fix typo for None 2021-09-21 10:33:11 +01:00
Johannes M. Scheuermann e091951b8e Fix kubernetes sidecar 2021-09-21 10:33:11 +01:00
Johannes M. Scheuermann 33928904ec Update sidecar to match latest changes in operator 2021-09-21 10:33:11 +01:00
Xiaoxi Wang cc72c5e23c fix compilation error 2021-09-20 23:57:45 -07:00
Suraj Gupta 90e102cfd2 Add missing namespace qualifier to vector. 2021-09-20 16:43:08 -05: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
He Liu 914b1ee960 fmt 2021-09-20 12:01:47 -07:00
He Liu 95f64f97de resolved some fmt issues 2021-09-20 11:58:30 -07:00
He Liu b2afa6e2f5 throw an error is no team can be found for a dropped range 2021-09-20 11:53:27 -07: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
He Liu 2246a0bee7 switch to plain random selection 2021-09-20 11:23:54 -07:00
He Liu 4d5bf08da8 address comments 2021-09-19 17:03:06 -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
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