Commit Graph

18262 Commits

Author SHA1 Message Date
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
Evan Tschannen 0b9505c52a
Merge pull request #6074 from sfc-gh-etschannen/blob_integration
fix: fetched change feeds did not get their durable version updated
2021-11-30 13:33:30 -08:00
Evan Tschannen f12ac4468e fix: fetched change feeds did not get their durable version updated 2021-11-30 13:32:12 -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
A.J. Beamon c47535245b
Merge pull request #6033 from sfc-gh-ajbeamon/improved-client-db-logging
Client logging improvements
2021-11-29 13:23:10 -08:00
Andrew Noyes b6fd402a3c Add option to use boost or libcoro
By default, use boost everywhere except windows and linux x86 (for
performance reasons)
2021-11-29 13:14:15 -08:00
Trevor Clinkenbeard 6429b82796
Merge pull request #6053 from RenxuanW/fromHostname
Change member variable fromHostname to type bool.
2021-11-29 13:13:21 -08:00
Josh Slocum 1870e07ff4 Fixed pause racing with waitUntilHealthy 2021-11-29 14:19:15 -06:00
A.J. Beamon b8bd89f88d Shorten the name of external client threads. Add a thread name for trace logging threads. 2021-11-29 09:57:10 -08:00
A.J. Beamon 264c75b9a6 Add some extra client logging details:
1. Add a trace event when a database is created and move the cluster file / connection string from ClientStart to the new trace event
2. Add a detail for the path to the image being loaded
3. Add a detail for whether a client library is primary or not
4. Set a thread name for each external client thread that includes the release version
2021-11-29 09:57:10 -08:00
sfc-gh-ngoyal 90db1eb202
Merge pull request #6057 from sfc-gh-etschannen/fix-queue-commit
Fix a bug which prevented the tlog from spilling data
2021-11-29 09:56:57 -08:00
Steve Atherton 8216ad1e4e When a cached page is hit, if it is in the prioritized eviction order don't move it to the normal order. 2021-11-28 21:04:35 -08:00
Steve Atherton bed25f9571 Delay prioritized eviction of updated pages until after commit completes. 2021-11-28 21:03:44 -08:00
Steve Atherton 0f5535fce1 Remove explicit tryEvict(x) as it is unused and it is functionally replaced by prioritizeEviction(x). 2021-11-27 03:26:34 -08:00
Evan Tschannen e3819dad7c fix: If a removed tlog never attempted a queue commit, the update storage loop could get stuck waiting for queueCommittingVersion to advance 2021-11-25 09:55:01 -08:00
Renxuan Wang 09fedc429a Remove unnecessary boost/bind.hpp.
Complement of #6026.
2021-11-24 16:33:05 -08:00
sfc-gh-ngoyal f8538d0bc3
Merge pull request #5897 from sfc-gh-ahusain/ahusain-fixCommitProxyCount
Use DEFAULT_COMMIT_GRV_PROXIES_RATIO to override proxies_count if mutation supplied value is -1
2021-11-24 15:25:01 -08:00
Jingyu Zhou 6798d2972c
Merge pull request #6047 from sfc-gh-etschannen/fix-best-team
Data distribution could miss storage server failures
2021-11-24 12:57:33 -08:00
Ata E Husain Bohra 0962fcb243 Override commit/grv proxies_count if mutation supplied new value is -1
Patch improves on handling scenarios where either commit or grv proxies
value is update to -1 OR `proxies_count` is being reset.
The code splits the proxies between two proxies by ensuring for invalid
input configuration, the min (read as 1) proxies gets provisioned, otherwise,
the split is done based on input values

Patch handles the scenario where mutation supplied values to update grv_proxies
and/or commit_proxies is -1, however, the total proxy count > 1,
uses DEFAULT_COMMIT_GRV_PROXIES_RATIO to split proxies between
grv_proxies & commit_proxies.
2021-11-24 12:52:31 -08:00
Josh Slocum 2c82a27f09 fixed typo in fmt::printf 2021-11-24 14:35:23 -06:00
Evan Tschannen 80014d3247 Merge branch 'master' of https://github.com/apple/foundationdb into fix-best-team
# Conflicts:
#	fdbclient/ServerKnobs.cpp
2021-11-24 11:56:23 -08:00
Evan Tschannen 8fa7085c78 added a comment 2021-11-24 11:40:41 -08:00
Evan Tschannen c9ee83e1b1 fix: do not buggify PEEK_TRACKER_EXPIRATION_TIME to a value of 20 2021-11-24 11:28:57 -08:00
Josh Slocum 1f71538752 Merge branch 'blob_integration' of github.com:apple/foundationdb into stuff 2021-11-24 13:20:37 -06:00
Josh Slocum efb21ca6a1 Merge branch 'master' into blob_integration 2021-11-24 13:17:54 -06:00