Commit Graph

18056 Commits

Author SHA1 Message Date
Zhe Wu dc88d3fa37 use CC_ENABLE_WORKER_HEALTH_MONITOR knob to guard remoteDCIsHealthy logic 2021-12-06 09:33:45 -08:00
Andrew Noyes 9954c6c0a3
Merge pull request #6100 from apple/anoyes/fix-aarch64-build-including-m1
Fix aarch64 build including m1
2021-12-03 18:05:53 -08:00
Andrew Noyes 23de546586 Only build libcoro if COROUTINE_IMPL == libcoro
It doesn't build at all on mac m1
2021-12-03 16:34:35 -08:00
Andrew Noyes b43f1640a4 Fix crashes for versioned symbols on mac m1
Also fix the build to not require relocations for arm linux

Tested on mac m1
2021-12-03 16:32:50 -08:00
Andrew Noyes 5d88fdf16c Use the correct directory for m1 for embedding libfdb_java 2021-12-03 16:31:50 -08:00
Andrew Noyes 5fae5c859e
Merge pull request #6091 from sfc-gh-anoyes/anoyes/upgrade-google-benchmark
Upgrade google benchmark to v1.6.0
2021-12-03 16:27:10 -08:00
Aaron Molitor 661181d61c make curl and sha256sum more quiet, pull local binaries from the correct place in build_output_directory 2021-12-03 15:06:09 -08:00
Evan Tschannen 6e9b1f18fe
Merge pull request #6095 from sfc-gh-ngoyal/fix-exclude-unreliable-from-protected
Don't include an unreliable process in the protected list.
2021-12-03 14:49:59 -08:00
Tao Lin 9b0a9c4503
Return error when getRangeAndFlatMap has more & Improve simulation tests (#6029) 2021-12-03 12:50:07 -08:00
negoyal 037b30fbde Clang format. 2021-12-03 10:01:49 -08:00
negoyal 2725183b26 Don't include an unreliable process in the protected list. 2021-12-03 09:44:52 -08:00
Andrew Noyes 5b167729d2 Upgrade google benchmark to v1.6.0
This fixes a compile error with clang 13
2021-12-02 16:06:40 -08:00
neethuhaneesha c5562852a5
Merge pull request #6081 from neethuhaneesha/DisableDiskFailureTst
Excluding DiskFailureCycle test for rocksdb storage engine.
2021-12-02 14:31:29 -08:00
Evan Tschannen b11ae4dae8
Merge pull request #5910 from sfc-gh-jslocum/bg_bindings
Blob Granule C bindings
2021-12-02 11:40:26 -08:00
Neethu Haneesha Bingi fa4ed67f70 Excluding DiskFailureCycle test for rocksdb storage engine. 2021-12-02 10:27:48 -08:00
Trevor Clinkenbeard ec02d72338
Merge pull request #6082 from sfc-gh-tclinkenbeard/fix-unused-warnings
Fix `-Wunused-but-set-variable` warnings
2021-12-02 10:27:10 -08:00
Josh Slocum a8b1154728 Fix C++ style comments. 2021-12-02 12:18:08 -06:00
Josh Slocum 24772e0f22 Merge branch 'master' into bg_bindings 2021-12-02 09:38:33 -06:00
sfc-gh-tclinkenbeard 464d9488ef Merge remote-tracking branch 'origin/master' into fix-unused-warnings 2021-12-01 23:52:09 -08:00
FoundationDB CI ca5d5ac942
apply formatting with clang 13
Signed-off-by: FoundationDB CI <foundationdb_ci@apple.com>
2021-12-02 05:13:59 +00:00
sfc-gh-tclinkenbeard 90ced244eb Fix -Wunused-but-set-variable warnings 2021-12-01 18:15:53 -08:00
Josh Slocum 9cb6fb5114 fixing unrelated code formatting 2021-12-01 17:20:11 -06:00
Josh Slocum 2c63d0ae03 cleaning up prints 2021-12-01 17:17:19 -06:00
Josh Slocum c11b8a3625 Improved comments 2021-12-01 17:04:55 -06:00
Josh Slocum a82845af43 Merge branch 'master' into bg_bindings 2021-12-01 16:55:28 -06:00
Josh Slocum 7a8fbd9a29
Merge pull request #2 from sfc-gh-jslocum/bg_bindings_result
Bg bindings result
2021-12-01 16:33:53 -06:00
Josh Slocum 73aa5017fe forgot to remove comment 2021-12-01 16:25:51 -06:00
Josh Slocum 0f2f5bc0b6 Cleanup of ThreadResult 2021-12-01 16:24:28 -06:00
Josh Slocum 7f4fcc8c2c Added FDBResult and made readBlobGranules use it 2021-12-01 16:22:05 -06:00
Evan Tschannen 404bef2f03
Merge pull request #6076 from sfc-gh-ajbeamon/fix-cstate-registration-race
Fix a race condition with updating the coordinated state and updating the master registration
2021-12-01 12:56:12 -08:00
Trevor Clinkenbeard e1a5757837
Merge pull request #6077 from sfc-gh-tclinkenbeard/remove-prid64
Remove some usages of PRId64 macro
2021-12-01 09:29:50 -08:00
sfc-gh-tclinkenbeard ec64890ac1 Remove some usages of PRId64 by using fmt library 2021-11-30 23:35:36 -08:00
A.J. Beamon 72c5fb183d Fix: avoid updating the master registration while the cstate is written but we are not accepting commits. 2021-11-30 15:44:04 -08:00
Trevor Clinkenbeard e9567b1eeb
Merge pull request #6071 from sfc-gh-tclinkenbeard/reenable-snap-tests
Reenable snapshot tests
2021-11-30 12:26:09 -08:00
sfc-gh-tclinkenbeard 43c518a2e9 Move SnapCycleRestart test into from_7.0.0 directory 2021-11-30 11:07:42 -08:00
sfc-gh-tclinkenbeard 92ca07516a Only test snapshots from version >= 7.0 2021-11-30 10:52:06 -08:00
sfc-gh-tclinkenbeard 299d789d7c Reenable snapshot tests 2021-11-30 10:12:32 -08:00
Steve Atherton 8a71ab1d5f
Merge pull request #6061 from sfc-gh-satherton/delay-prioritized-eviction
Delay prioritized eviction of updated pages in Redwood until after commit completes
2021-11-29 17:27:20 -08:00
Steve Atherton 43b3e05fd5 Merge branch 'master' of github.com:apple/foundationdb into delay-prioritized-eviction
# Conflicts:
#	fdbserver/VersionedBTree.actor.cpp
2021-11-29 16:14:43 -08:00
A.J. Beamon ba8d8a3253
Merge pull request #6068 from sfc-gh-ajbeamon/improved-client-db-logging
Fix: Check whether connRecord is null before logging it
2021-11-29 16:14:32 -08:00
Andrew Noyes 2d5720b6b1
Merge pull request #6067 from sfc-gh-anoyes/anoyes/no-default-for-loadClientFunction
Don't provide default for requireFunction in loadClientFunction
2021-11-29 15:30:28 -08:00
Aaron Molitor a5c926cbd9 allow command line override of release canddiate version 2021-11-29 15:11:20 -08:00
Aaron Molitor 9f5197b54c use FDB_VERSION in lieu of PROJECT_VERSION (package scripts) 2021-11-29 15:11:20 -08:00
Aaron Molitor 77db63274b use FDB_VERSION in lieu of PROJECT_VERSION or CMAKE_PROJECT_VERSION
write FDB_VERSION to a file to avoid regex golf in other build scripts
2021-11-29 15:11:20 -08:00
Aaron Molitor a930039952 remove (cmake version and git detached head) warnings from build logs 2021-11-29 15:11:20 -08:00
Aaron Molitor 08b635d405 rename prerelease_string, replace PRERELEASE with SNAPSHOT 2021-11-29 15:11:20 -08:00
Aaron Molitor 344a46c75c ignore .stignore and cmake-build-release 2021-11-29 15:11:20 -08:00
A.J. Beamon 13a4743e76 Check whether connRecord is null before logging it. 2021-11-29 14:22:44 -08:00
Andrew Noyes bccda9f6fe Don't provide default for requireFunction in loadClientFunction
Recently there was an issue where we added a new symbol to the c api and
we did not include the right header version guard to see if it was
required. Let's make this not a default so that we force callers to
think about what the right header versions to require it are.
2021-11-29 14:08:28 -08:00
sfc-gh-ngoyal ef248f3dbd
Merge pull request #6060 from sfc-gh-satherton/remove-try-evict
Remove unused / unwanted code in Redwood.
2021-11-29 13:26:05 -08:00