Commit Graph

21183 Commits

Author SHA1 Message Date
Xiaoxi Wang 4cbe5dd683
Merge pull request #7595 from sfc-gh-xwang/feature/dd-refactor-incremental
[DD testability] add resumeRelocation method
2022-07-14 15:24:56 -07:00
Yi Wu 7d7ce0909f
Restart tests carry forward encryption knobs value (#7497)
Previously to get around the issue that EKP is not present when restart test switching encryption from on to off and read encrypted data, EKP was made to start in simulation regardless of encryption knob. This PR revert that change, and instead force restart test not to change encryption knob, by passing previous encryption knob through restartInfo.ini file. Also since we don't allow downgrading an encrypted cluster to previous version, disable encryption in downgrade tests.

Also adding an assert to allow reading encrypted mutations only if encryption knob is on. We may reconsider allowing switching encryption on/off for existing cluster, but for now we don't allow it.
2022-07-14 14:45:17 -07:00
neethuhaneesha 598457b872
Merge pull request #7551 from neethuhaneesha/rocksCompressionStats
Adding rocksdb compression and data size stats.
2022-07-14 12:58:10 -07:00
Xiaoxi Wang f53c108e4f
Update fdbserver/DataDistribution.actor.cpp 2022-07-14 12:17:34 -07:00
Xiaoxi Wang 42bef3b265
Update fdbserver/DataDistribution.actor.cpp 2022-07-14 12:17:29 -07:00
Xiaoxi Wang 7ee091d1da add test namespace 2022-07-14 12:13:23 -07:00
Xiaoxi Wang 015026f146 add comment; add resumeRelocation 2022-07-14 11:32:27 -07:00
neethuhaneesha 3cbb51de21 Adding rocksdb compression and data size stats. 2022-07-14 11:28:20 -07:00
Marian Dvorsky ce4dc0fb0f
Update ctest_to_joshua to work with new ctests (#7584)
* Package inferred directories to the resulting tarball in ctest_to_joshua (except for the root source and build directories). This allows the API tests (which specify the workloads as a directory containing the workload specification files) to now work.
* Add bin/mkcert which is used by some tests.
* Rewrite fdb_c_shim_tests.py to specify its dependencies on command line.
2022-07-14 18:34:48 +02:00
Xiaoxi Wang 87f833469b Merge branch 'main' of https://github.com/apple/foundationdb into feature/dd-refactor-incremental 2022-07-14 09:15:51 -07:00
Zhongxing Zhang 9c20b15f5a
Use enum variables to invoke Priority checking (#7514)
* Use enum variables to invoke Priority checking

* add an explicit isDataMovementForReadBalancing function
2022-07-14 09:06:56 -07:00
Lukas Joswiak 407300bfa6 Disable testing of the remote key value store in simulation 2022-07-13 18:32:50 -07:00
Ray Jenkins bdef35390d Conditional on context.isSampled in Span operator=().
In operator= overload we need to check if the current span which is being
overwritten is eligble for serialization. If so we must send to the tracer
via the g_tracer->trace(*this) call. Previously we were incorrectly checking
the function argument o's context for sampling. This resulted in loss traces
for the NAPI:readVersionBatcher spans.
2022-07-13 17:50:51 -07:00
Xiaoxi Wang 7e3e79c53e
Merge pull request #7585 from sfc-gh-xwang/feature/dd-refactor-incremental
[DD Testability] create DataDistributor::init() method
2022-07-13 17:03:12 -07:00
Josh Slocum b85fbaef52
Merge pull request #7395 from sfc-gh-jslocum/bg_file_chunking
Chunked Snapshot Files
2022-07-13 17:22:34 -05:00
Xiaoxi Wang c3aca3f28c add comment 2022-07-13 15:08:02 -07:00
Josh Slocum e32e726b9f
Merge pull request #7583 from sfc-gh-jslocum/granule_merging_improvements
Granule merging improvements
2022-07-13 16:04:22 -05:00
Xiaoxi Wang 0e488ee16b Merge branch 'main' of https://github.com/apple/foundationdb into feature/dd-refactor-incremental 2022-07-13 12:53:21 -07:00
Xiaoxi Wang 1592f6ad34 create DataDistributor::init() method 2022-07-13 12:53:04 -07:00
Xiaoxi Wang a2062df220
Merge pull request #7573 from sfc-gh-xwang/feature/dd-refactor-incremental
move getInitialDataDistribution to DDTxnProcessor
2022-07-13 10:00:38 -07:00
Xiaoxi Wang e0984091f3
Merge pull request #7494 from sfc-gh-xwang/bug/cycle-issue7423
Extend transaction window in Cycle workload if in simulation the transaction_too_old keep appearing
2022-07-13 09:25:16 -07:00
Josh Slocum b9437e9a8d BW re-sending merge candidate if manager changes 2022-07-13 10:39:55 -05:00
Josh Slocum 0720b358ff comments and bug fix 2022-07-13 08:01:26 -05:00
Josh Slocum b2a96b64e6 refactoring one function into two 2022-07-13 07:49:19 -05:00
Josh Slocum 03c39dc33b
Merge pull request #7579 from sfc-gh-jslocum/granule_merging
Granule merging
2022-07-13 07:25:26 -05:00
Yao Xiao e367a5a160
Add KVS physical shard metrics. (#7581) 2022-07-13 01:31:05 -07:00
Xiaoxi Wang a9e9772b98 fix argument bug 2022-07-12 16:49:09 -07:00
Josh Slocum f707626213 Cleanup 2022-07-12 17:43:44 -05:00
Xiaoxi Wang d3686143a1 merge upstream/main 2022-07-12 14:28:49 -07:00
Josh Slocum 236630855b Merge branch 'main' into granule_merging 2022-07-12 15:24:26 -05:00
Xiaoxi Wang a4929f3f6f
Merge pull request #7576 from sfc-gh-xwang/feature/dd-refactor-simple
[DD Testability] move waitDataDistributorEnabled to txnProcessor
2022-07-12 13:23:29 -07:00
A.J. Beamon 029ef3c857
Merge pull request #7571 from sfc-gh-ajbeamon/fdbcli-parse-integer-options
Parse integer options in fdbcli rather than passing the bytes unparsed
2022-07-12 13:08:46 -07:00
Xiaoxi Wang bf98dc2a2b move waitDataDistributorEnabled to txnProcessor 2022-07-12 11:25:59 -07:00
Yi Wu 7d8131a39c
Worker register with cluster controller before disk file recovery (#7510)
Previously worker servers only register with cluster controller after local file recovery. This PR change to let worker servers register itself before local file recovery, but indicate that although it can server stateless roles, it cannot become storage or TLog server. After local file recovery, the worker will register again to indicate it can now become storage and Tlog.

The change fixes the deadlock issue with encryption, where when there's only stateful workers that can become master and EKP, those worker servers won't be able to register with cluster controller since no EKP is available to provide cipher keys to decrypt encrypted storage.

For now we have the change only when encryption is on, and will make it the default behavior once we think it is stable.
2022-07-12 10:19:32 -07:00
Xiaoxi Wang 110f3bbde9 remove reset speedUpSimulation 2022-07-12 09:13:33 -07:00
Xiaoxi Wang 878adad43f reset some changes 2022-07-12 09:13:33 -07:00
Xiaoxi Wang 5e8f55768a use speedUp to extend transaction window 2022-07-12 09:13:32 -07:00
Xiaoxi Wang b4b4a4a2f9 an failed fix 2022-07-12 09:13:32 -07:00
Xiaoxi Wang 55aed68a45 detach debug commit 2022-07-12 09:13:32 -07:00
Josh Slocum 0b0ac16a4c Merge branch 'main' into granule_merging 2022-07-12 09:09:30 -05:00
Josh Slocum c6700fe62f Merge branch 'main' into bg_file_chunking 2022-07-12 08:28:06 -05:00
Xiaoxi Wang 7e067ee4de move getInitialDataDistribution to DDTxnProcessor 2022-07-11 21:54:47 -07:00
Xiaoxi Wang cc185c51c6
Merge pull request #7563 from sfc-gh-xwang/feature/dd-refactor-incremental
[DD Testability] move updateReplicaKey to txnProcessor
2022-07-11 17:11:55 -07:00
A.J. Beamon a3f970cf3a Parse integer options in fdbcli rather than passing the bytes unparsed. This allows specifing the string "1" instead of "\x01\x00\x00\x00\x00\x00\x00\x00". 2022-07-11 16:39:59 -07:00
Markus Pilman fa9e623fc1
Merge pull request #7459 from sfc-gh-ljoswiak/features/module-link-tests
Add test executables to catch missing symbols in modules
2022-07-11 17:31:11 -06:00
Markus Pilman 4f4095b6ae
Merge pull request #7385 from sfc-gh-etschannen/fix-multiple-shared-tlogs
Avoid recruiting multiple shared tlogs
2022-07-11 17:28:35 -06:00
Markus Pilman 4ece33a0a8
Merge pull request #7445 from sfc-gh-anoyes/anoyes/fix-ubsan
Fix UBSAN build when statically linking libcxx
2022-07-11 17:27:37 -06:00
Jingyu Zhou 474a9ab124
Merge pull request #7567 from sfc-gh-fzhao/DuplicateHedaerFiles
Redwood remove duplicate header files
2022-07-11 13:59:39 -07:00
Jingyu Zhou e9d62c0456
Merge pull request #7561 from jzhou77/main
Add 7.1.14 and 7.1.15 release notes
2022-07-11 13:53:32 -07:00
Jingyu Zhou ad8c5e282e
Merge pull request #7520 from johscheuer/operator-docs-unified
Add docs for how to run the operator with the unified image
2022-07-11 13:36:20 -07:00