A.J. Beamon
11fbd1564e
Fix two more cases of error(e, true)
2022-03-04 12:44:52 -08:00
A.J. Beamon
cdebda35ab
Merge pull request #5725 from sfc-gh-jfu/jfu-grv-cache
...
Add transaction option for clients to use cached read versions
2022-03-04 09:17:27 -08:00
neethuhaneesha
49bd0c34cc
Merge pull request #6493 from neethuhaneesha/rocks-compaction
...
RocksDB increasing background threads to speedup compaction.
2022-03-04 07:24:19 -08:00
Xiaoxi Wang
6024bf0109
Merge pull request #6482 from sfc-gh-xwang/ppw-status
...
Print the IP:Port address of wiggling server in status
2022-03-03 15:50:58 -08:00
Neethu Haneesha Bingi
83e0368eaa
RocksDB increasing background threads to speedup compaction.
2022-03-03 15:14:37 -08:00
Trevor Clinkenbeard
e7a82b68f2
Merge pull request #6486 from sfc-gh-tclinkenbeard/fix-commitlatencybands-sample
...
Fix name of `ProxyCommitData::commitLatencyBands` sample
2022-03-02 16:24:19 -08:00
sfc-gh-tclinkenbeard
8b2b74980e
Fix name of ProxyCommitData::commitLatencyBands sample
2022-03-02 14:57:42 -08:00
Xiaoxi Wang
887d5a25cb
add storage wiggle to status
2022-03-02 11:31:55 -08:00
Xiaoxi Wang
e73c0a31e6
add wiggle_server_ids and wiggle_server_addresses in status json
2022-03-02 10:03:23 -08:00
Josh Slocum
92a888910f
Fix many repeated recruitment bug
2022-03-01 12:00:53 -06:00
Trevor Clinkenbeard
fe957deef8
Merge pull request #6399 from sfc-gh-bvr/fdb#4271
...
Introduce a new server knob and use it to test if storage servers are…
2022-02-28 13:02:23 -08:00
Renxuan Wang
233c918ffb
Replace printf() and fprintf() with fmt::print().
2022-02-25 19:06:57 -08:00
Renxuan Wang
f7eb66441d
Try eliminating warnings in macOS and Windows CI builds.
...
MacOS warnings are format warnings, e.g., `format specifies type 'long' but the argument has type 'Version' (aka 'long long')`.
Windows warnings are `ACTOR does not contain a wait() statement`.
2022-02-25 19:06:57 -08:00
Andrew Noyes
276cf3a402
Fix minor bugs turned up by _GLIBCXX_DEBUG ( #6375 )
...
* Fix a benign bug turned up by _GLIBCXX_DEBUG
Just calling std::vector::operator[] with an out of bounds index at all
is technically undefined behavior.
* Fix compilation issue with _GLIBCXX_DEBUG
For some reason std::max with an initializer list isn't constexpr with
_GLIBCXX_DEBUG set
2022-02-25 13:50:41 -08:00
Andrew Noyes
7a9217a392
Add contrib/debug_determinism ( #6389 )
...
* Add contrib/debug_determinism
Add an instrumentation-based technique for debugging unseen mismatches. Also guard a few existing sources of nondeterminism that don't affect unseen with the DEBUG_DETERMINISM macro.
Also change the simulated run loop to not run as the only task inside the real run loop, since that was a source of nondeterminism.
Also fix nondeterminism from calling timer_int
* Add StorageMetadataType::currentTime
Basically a deterministic-in-simulation version of timer_int that we can
use instead of timer_int for StorageMetadataType::createdTime
2022-02-25 12:54:31 -08:00
Renxuan Wang
06b1d06d38
Support hostname in coordinators commands.
2022-02-24 23:02:29 -08:00
Renxuan Wang
3a3b44efe2
Fix macOS CI broken by #6449 .
...
foundationdb/fdbserver/CoroFlow.actor.cpp:262:8: error: no member named 'errorUnsuppressed' in 'BaseTraceEvent'
2022-02-24 20:26:13 -08:00
A.J. Beamon
e7d2abd764
Fix formatting issue
2022-02-24 12:28:13 -08:00
A.J. Beamon
250a88e682
Enforce that trace event suppression calls happen first when using trace event call chaining. Fix various instances where we weren't following this requirement.
2022-02-24 12:25:52 -08:00
Zhe Wang
f14e08a991
addRocksDBPerfContextMetrics
2022-02-23 22:29:07 -05:00
Bharadwaj V.R
8cb554a006
Fix formatting issues in DDTeamCollection.actor.cpp
2022-02-23 10:21:34 -08:00
Bharadwaj V.R
102dcb30c6
Merge branch 'main' into fdb#4271
2022-02-23 10:04:19 -08:00
Jon Fu
ce1d71472d
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache
2022-02-23 12:35:25 -05:00
Renxuan Wang
3c1394578b
Address comments.
2022-02-22 16:29:59 -08:00
Renxuan Wang
ea8b2bd314
Resolve hostnames synchronously when calling actor is impossible.
2022-02-22 16:29:59 -08:00
Renxuan Wang
622d89b552
Rebase on main.
...
Since we changed ClusterConnectionString's status flag from boolean to enum in #6422 , we need to update this PR correspondingly.
2022-02-22 16:29:59 -08:00
Renxuan Wang
8eb7a10404
Address comments.
2022-02-22 16:29:59 -08:00
Renxuan Wang
481587a8c6
Turn on hostname logic.
2022-02-22 16:29:59 -08:00
Jon Fu
ae071a7211
clean up debug trace lines
2022-02-22 17:16:11 -05:00
Bharadwaj V.R
f7aeae5a5c
Merge branch 'apple:main' into dd-utestclass
2022-02-22 11:59:11 -08:00
Jon Fu
2e2c8bf88c
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache
2022-02-22 12:43:55 -05:00
Trevor Clinkenbeard
82bbfa8aee
Merge pull request #6395 from sfc-gh-tclinkenbeard/global-tag-throttling
...
Create `TagThrottler` class
2022-02-18 13:17:28 -08:00
Bharadwaj V.R
c1b0b336ce
Fix merge conflicts in DDTC.actor.cpp - change serverMetrics to setServerMetrics and setTeamHealthy to markTeamUnhealthy
2022-02-17 20:41:38 -08:00
Bharadwaj V.R
49d2a56776
Merge branch 'main' into dd-utestclass
2022-02-17 20:22:07 -08:00
Xiaoxi Wang
4dffb61f78
Merge pull request #6403 from sfc-gh-xwang/ppw-restarting
...
move perpetual wiggle upgrade & downgrade test to 7.1
2022-02-17 15:57:24 -08:00
Bharadwaj V.R
c568f9884d
Make a few more DDCollection methods private
2022-02-17 08:25:20 -08:00
Bharadwaj V.R
7a17dbeacc
Create DD unit test class. Start to make test-specific methods in DDTeamCollection private
2022-02-16 19:18:24 -08:00
Xiaoxi Wang
f2b59af9b0
format code
2022-02-16 16:32:06 -08:00
Bharadwaj V.R
27855bc5b5
Merge branch 'apple:main' into fdb#4271
2022-02-16 15:38:36 -08:00
Zhe Wu
e07ae6fdb9
Address comments
2022-02-16 15:28:56 -08:00
Zhe Wu
9da735c38e
Batch empty peek reply
2022-02-16 15:28:56 -08:00
Jon Fu
e0d3b0a488
format times in trace event
2022-02-16 16:55:14 -05:00
Jon Fu
6199faadc3
fix bug which constantly overwrote start time of last throttled queue
2022-02-16 16:52:38 -05:00
Jon Fu
5846dda410
temporary changes and extra traces for debugging
2022-02-16 15:05:25 -05:00
Bharadwaj V.R
949f1f1c3e
Switch to testing MIN_AVAILABLE_SPACE
2022-02-16 11:33:07 -08:00
Xiaoxi Wang
3dfdc6943c
move downgrade/upgrade test to XXX_7.1.0 because in 7.0 the workload doesn't have the fix
2022-02-16 10:48:31 -08:00
Bharadwaj V.R
3fe6a952f1
Merge with upstream tcinfo refactor and move the server knob init to be adjacent to related knobs
2022-02-16 10:28:55 -08:00
Bharadwaj V.R
cb5f44c76d
Merge branch 'apple:main' into fdb#4271
2022-02-16 10:14:50 -08:00
Bharadwaj V.R
fe03e6f822
Introduce a new server knob and use it to test if storage servers are near the min bar for available space
2022-02-15 22:43:06 -08:00
sfc-gh-tclinkenbeard
32bbabefd7
Merge remote-tracking branch 'origin/main' into dd-refactor
2022-02-15 14:11:30 -08:00