Commit Graph

20494 Commits

Author SHA1 Message Date
Xiaoxi Wang 9a521ad36f Merge branch 'main' of https://github.com/apple/foundationdb into ppw-store 2022-05-02 10:48:29 -07:00
Jon Fu ff216c2f57 add tenant list metadata to binding tester 2022-05-02 13:42:11 -04:00
Markus Pilman d9aee5c253
Merge pull request #7012 from sfc-gh-vgasiunas/vgasiunas-upgrade-tests
Improve robustness of upgrade tests
2022-05-02 10:30:21 -06:00
Xiaodong Zhang a7a5b3e273 fix bug in tpcc workload 2022-05-02 09:28:23 -07:00
A.J. Beamon 75fc526697
Merge pull request #7020 from sfc-gh-ajbeamon/fix-dd-team-removal-health
Mark a team as unhealthy when it is removed
2022-05-02 08:45:55 -07:00
A.J. Beamon 43c2ca35a5 Move fdbcli command and hint generators into the files implementing the command. 2022-05-02 08:39:59 -07:00
Markus Pilman f5570ba49e
Merge pull request #7035 from sfc-gh-jshim/fix-token-sign-arena
Fix TokenSign copying and using uninitialized arena
2022-05-02 08:52:19 -06:00
Junhyun Shim 41d1c73b9c Fix TokenSign copying and using uninitialized arena
TokenSign was copying unused Arena held by Standalone instead of refering to it.
An Arena has to be used at least once before it holds a valid, copyable reference.
Otherwise the lifecycle of the copied Arena would be its own and not be shared with the original.
Thus, when the copied arena went out of scope,
the memory supposed to be held by returned Standalone also got released.

Fix: instead of copying, refer to Standalone's arena.
2022-05-02 09:48:43 +02:00
Jingyu Zhou 0ca9761088 Fix IDE build warnings and errors 2022-05-01 16:20:57 -07:00
Steve Atherton 74b82205df
Merge pull request #7024 from sfc-gh-etschannen/fix-cluster-id
fix: prevent a storage server from attempting to read the cluster id from itself due to a stale cache entry
2022-04-29 22:33:07 -07:00
Steve Atherton 1ab5c21967
Merge pull request #6979 from sfc-gh-jslocum/speedup_tail_latency
Don't do huge tail latencies for network requests when speed up simul…
2022-04-29 22:31:35 -07:00
Steve Atherton b7bc0a3aff
Merge pull request #6911 from sfc-gh-jslocum/min_shard_bytes_main
Decreasing MIN_SHARD_BYTES knob
2022-04-29 22:31:21 -07:00
Evan Tschannen 3bab26c01b fix: prevent a storage server from attempting to read the cluster id from itself due to a stale cache entry 2022-04-29 14:56:43 -07:00
Josh Slocum e5840d3a38 Merge branch 'main' into speedup_tail_latency 2022-04-29 16:05:12 -05:00
Steve Atherton 165d9fa6b1
Merge pull request #7013 from sfc-gh-jslocum/writeduringread_keysize_main
Fix for WriteDuringRead workload key sizes with useSystemKeys=true bu…
2022-04-29 14:01:44 -07:00
Steve Atherton 338d2304d7
Bug fix: Killing a machine process would not wait for AsyncFileNonDurable close operations to finish, causing a later reopen of the same file in a new process to hang forever. Renamed AsyncFileNonDurable::deleteFile to closeFile for clarity. Renamed Machine deletingFiles to deletingOrClosingFiles for clarity. (#7007) 2022-04-29 14:01:18 -07:00
Steve Atherton 504400c1b3
Merge pull request #7017 from sfc-gh-jslocum/tssq_cc_fix
Allow TSS failures in consistency check when fault injection is enabled
2022-04-29 14:01:06 -07:00
Josh Slocum 674e6a8fdc Merge branch 'main' into min_shard_bytes_main 2022-04-29 16:00:27 -05:00
Steve Atherton 2887429f42
Merge pull request #6991 from sfc-gh-etschannen/fix-recovery-version
fix: when more tlogs are absent than the replication factor we would access invalid memory
2022-04-29 14:00:15 -07:00
Steve Atherton 2bcbff2809
Merge pull request #6965 from sfc-gh-tclinkenbeard/increase-snapshot-lower-bound
Increase lower bound for snapshot restart tests to 7.1.0
2022-04-29 13:59:37 -07:00
Steve Atherton 2678546c00
Merge pull request #6950 from sfc-gh-jslocum/cf_delete_race
Fixing change feed deleted from multiple sources race
2022-04-29 13:58:22 -07:00
A.J. Beamon 5eedcafcfb Mark a team as unhealthy when it is removed 2022-04-29 12:40:41 -07:00
Josh Slocum 7d94b0b442 Allow TSS failures in consistency check when fault injection is enabled 2022-04-29 13:24:54 -05:00
Jon Fu d953b961b7 Merge branch 'main' of github.com:apple/foundationdb into jfu-list-tenants 2022-04-29 13:16:54 -04:00
Jon Fu 2afaf55a48 fixed some binding tests and split stack operation between key and value of tenant list 2022-04-29 13:16:04 -04:00
Josh Slocum aa20eefe7b Fix for WriteDuringRead workload key sizes with useSystemKeys=true but writing to normal key space 2022-04-29 11:33:54 -05:00
Vaidas Gasiunas 1ef33db1ef Upgrade Tests: Create the destination directory before copying a client library from the local repository 2022-04-29 16:41:03 +02:00
Vaidas Gasiunas 449d5aec61 Upgrade Tests: Fix paths for accessing binaries from the local repo 2022-04-29 15:54:47 +02:00
Vaidas Gasiunas e33d7455a5 Upgrade Tests: Retry on download errors 2022-04-29 15:32:47 +02:00
Vaidas Gasiunas 27c3d7a953 Upgrade Tests: Use old binaries from the Docker image if available 2022-04-29 14:53:22 +02:00
Johannes M. Scheuermann d1c71a7903 Add sidecar method to check if a file is present 2022-04-29 13:10:05 +01:00
Vaidas Gasiunas 27d7b2e409 Upgrade Test: Avoid blocking on opening names pipes in case the tester fails to initialize 2022-04-29 14:04:27 +02:00
Vaidas Gasiunas c8b1662ab7
Merge pull request #6917 from LukasMoll/fix/make-code-pythonic
made python files inside TestRunner more pythonic
2022-04-29 13:59:13 +02:00
Vaidas Gasiunas e52662c774
Upgrade Tests: Fix resetting of already initialized variables 2022-04-29 12:47:05 +02:00
Renxuan Wang 154de018ff
One place in PaxosConfigConsumer was missed out in #6926. (#7006)
* One place in PaxosConfigConsumer was missed out.

* Minor improvements.
2022-04-28 18:32:55 -07:00
Hao Fu 0362beb3f3
Fix limit bug in indexPrefetch (#7004)
limit for getRange was incorrectly set to 1, while
a single logical record is consists of at least 2
keyValue, causing record layer fail to unsplit the
logical record.
2022-04-28 17:44:19 -07:00
Sam Gwydir 5403a29ecb
add WolfSSL support (#6682)
remove extraneous include
2022-04-28 16:53:38 -07:00
Josh Slocum db6d7396ca
Add delay between quickly re-recruiting the same singleton process, to avoid recruit thrashing when there are temporarily multiple cluster controllers (#7000) 2022-04-28 15:45:09 -07:00
Andrew Noyes 13a388ff14
Disable leak checks for some tests that intentionally leak (#6997) 2022-04-28 12:55:34 -07:00
A.J. Beamon cc72d541e4
Merge pull request #6971 from sfc-gh-svemuri/verify-tenant-prefixes-on-commit-proxy
Validate commit request tenant prefixes on commit proxy
2022-04-28 12:40:56 -07:00
Aaron Molitor 74ec6962b0 update build-images.sh to play nice with AWS IMDSv2 2022-04-28 14:20:46 -05:00
Markus Pilman e0cbe74d94 Only fail DD early in simulation 2022-04-28 11:32:35 -06:00
Markus Pilman eb22ac1c1f Address review comments 2022-04-28 10:09:06 -06:00
Markus Pilman f959e84b85 fix comparison 2022-04-28 09:46:28 -06:00
pranavPandit1 a192264e7e missing file added 2022-04-28 08:35:42 -07:00
pranavPandit1 5794fd4e91 clang format corrected for file 2022-04-28 08:35:42 -07:00
pranavPandit1 195a196392 crc32 support added for ppc64le 2022-04-28 08:35:42 -07:00
Markus Pilman 74abca44d8 Make QuietDatabase more human friendly
QuietDatabase will now fail by itself after 1000 seconds
instead of relying on the general simulation timeout.
Additionally it will print a more human friendly error.
2022-04-28 09:15:20 -06:00
Lukas Joswiak 0ae0bf9e31 Add proxy debug ID 2022-04-28 10:48:57 -04:00
Lukas Joswiak 0dc662bfd2 Move trace below where is updated 2022-04-28 10:48:57 -04:00