18242 Commits

Author SHA1 Message Date
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
sfc-gh-tclinkenbeard
6b45ef98ca Merge remote-tracking branch 'origin/master' into remove-temporaries 2021-12-01 23:50:29 -08:00
sfc-gh-tclinkenbeard
d01a363e29 Avoid creating unnecessary temporary objects 2021-12-01 23:48:34 -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
sfc-gh-tclinkenbeard
3b5d23ef88 Remove unnecessary temporary objects when appending to vector of pairs 2021-12-01 18:15:16 -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
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