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
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
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
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
Renxuan Wang
46d17d748f
Change member variable fromHostname to type bool.
...
So that it can be serialized.
2021-11-23 14:25:02 -10:00
Evan Tschannen
1afef44f19
fix: self->shardsAffectedByTeamFailure->moveShard must be called without any waits after getting the destination team or we could miss failure notifications for the storage servers in the destination team
2021-11-23 15:26:38 -08:00
Evan Tschannen
e3422b2443
fix: change feed streams were not being closed properly
2021-11-23 15:01:44 -08:00
Evan Tschannen
37c9a1320c
added --print_sim_time to print simulated time to stdout
2021-11-23 15:01:44 -08:00
Evan Tschannen
b0aad44831
change feed requests with an explicit end need to get empty versions at the end boundary
2021-11-23 15:01:44 -08:00
Evan Tschannen
3360000a91
fix: an empty mutation vector did not mean that all of the data was returned
2021-11-23 15:01:44 -08:00
Evan Tschannen
9df287ea06
fixed empty version merge logic
2021-11-23 15:01:44 -08:00
Evan Tschannen
6d9f134bf0
fix: merge needs to update on empty versions to release other mutations blocked by the empty version
2021-11-23 15:01:44 -08:00
Evan Tschannen
014fb2f31c
fix: onEmpty must check all merged streams
2021-11-23 15:01:44 -08:00
Evan Tschannen
a0afe530f8
protect against the changeFeedStorageData getting destroyed
2021-11-23 15:01:44 -08:00
Evan Tschannen
d9a6feea72
fix: properly initialize notAtLeast
2021-11-23 15:01:44 -08:00
Evan Tschannen
e97d337ffe
fix: when a feed transitions from atLatest to not atLatest stall all updates at the blocked version
2021-11-23 15:01:44 -08:00
Evan Tschannen
10a925b7e9
do not return mutations larger than the dequeVersion
2021-11-23 15:01:44 -08:00
Evan Tschannen
e19277160e
improved the change feed workload to test whenAtLeast
2021-11-23 15:01:44 -08:00
Evan Tschannen
547c5899f8
whenAtLeast could return an incorrect result when the connection closed
2021-11-23 15:01:44 -08:00
Evan Tschannen
31b2414706
fixed a crash while popping change feeds
2021-11-23 15:01:44 -08:00
Evan Tschannen
f3bb1d8f51
properly handle an active change feed stream when removed
2021-11-23 15:01:44 -08:00
Evan Tschannen
11d5cae515
do not buggify peek cursor expire time too low because it could cause the log routers to fail to make progress
2021-11-23 15:00:34 -08:00
Andrew Noyes
6c35084c2e
Merge pull request #6040 from sfc-gh-anoyes/anoyes/fix-loading-older-clients
...
Don't require fdb_transaction_get_range_and_flat_map in older clients
2021-11-22 13:07:24 -08:00
sfc-gh-ngoyal
12e68da635
Merge pull request #6036 from sfc-gh-satherton/redwood-debug-sim-fixes
...
Test-only bug fixes in Redwood along with debug logging detail improvements.
2021-11-22 11:13:28 -08:00
Andrew Noyes
c6472790e3
Don't require fdb_transaction_get_range_and_flat_map in older clients
2021-11-22 10:49:26 -08:00
sfc-gh-ngoyal
e43ddb09ac
Merge pull request #6034 from sfc-gh-satherton/remap-window-fix
...
Bug fix: incorrect remap cleanup window size in KeyValueStoreRedwood
2021-11-22 09:12:59 -08:00
sfc-gh-ngoyal
9e76baa854
Merge pull request #6037 from Doxense/add-missing-windows-bind-header
...
Add missing bind header for Windows (master)
2021-11-22 09:10:00 -08:00
Mohamed Oulmahdi
fe98f1ea56
Add missing bind header for Windows (boost/bind/bind.hpp)
2021-11-22 15:50:32 +01:00
Steve Atherton
d2149631d5
Bug fix, the remap cleanup window was being initialized incorrectly in the Redwood KVS wrapper.
2021-11-19 21:40:09 -08:00
Russell Sears
d332d03b34
Have individual YCSB containers record completion of their phase of the load. This allows loads to succeed even if the fdb-kubernetes-tests client crashes out mid run
2021-11-19 14:33:23 -08:00
A.J. Beamon
3f409bff7a
Merge pull request #6028 from rajivr/binding-tester-docs
...
docs: Clarify that `"ERROR"` is a byte string
2021-11-19 08:37:58 -08:00
Steve Atherton
3901d60548
Test-only bug fixes in Redwood along with debug logging detail improvements. Added clearRemapQueue() to Pager to more cleanly and reliably expire all old data and process the remap queue, fixing a bug where with certain configuration parameters and a lot of data the DestructiveSanityCheck would fail because it would not run cleanup long enough. Added more parameters to performance/set unit test.
2021-11-19 01:00:14 -08:00
Trevor Clinkenbeard
3d0ed2083c
Merge pull request #6000 from sfc-gh-tclinkenbeard/setup-flow-knobs
...
Setup global flow knobs in `setupNetwork`
2021-11-18 19:30:26 -08:00
Trevor Clinkenbeard
8bbde5185c
Merge pull request #5884 from sfc-gh-tclinkenbeard/add-format-warning
...
Enable clang -Wformat warning
2021-11-18 19:30:11 -08:00
Rajiv Ranganath
ad56935216
docs: Clarify that "ERROR"
is a byte string
...
`string` can be ambiguous as `Tuple` layer supports both `byte string`
and unicode `string`.
Signed-off-by: Rajiv Ranganath <rajiv.ranganath@atihita.com>
2021-11-19 06:11:04 +05:30