1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-06-02 03:12:12 +08:00

7247 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard
3418c20867 Merge remote-tracking branch 'origin/master' into paxos-config-db 2021-08-16 10:49:47 -07:00
Josh Slocum
e444d3781c Various TSS improvements from snowblower testing 2021-08-13 10:24:15 -05:00
Steve Atherton
303449f82f
Merge pull request from FuhengZhao/RedwoodMetricsLevelFix
Redwood Metric Level
2021-08-12 20:29:08 -07:00
Fuheng Zhao
4282911ce2 level off by 1 fixed 2021-08-12 20:06:46 -07:00
Andrew Noyes
b39a903af0
Merge pull request from sfc-gh-anoyes/anoyes/fix-heap-use-after-free
Fix heap use after free
2021-08-12 07:27:05 -07:00
Andrew Noyes
ca9f60baef Fix heap use after free 2021-08-11 15:42:01 -07:00
Lukas Joswiak
a605fb3852
Merge pull request from sfc-gh-ljoswiak/fixes/alp6
Actor sampling
2021-08-11 13:44:17 -07:00
Lukas Joswiak
1faec36bc6 Wait for all snapshot replies before sending incremental changes 2021-08-11 11:17:51 -07:00
Lukas Joswiak
c098a1128d Push snapshot changes to local configuration on refresh 2021-08-11 09:13:22 -07:00
Josh Slocum
389b71ba72
Merge pull request from sfc-gh-satherton/debugging-cleanup
Added Label field for keys and ranges in MutationTracking.
2021-08-11 07:07:36 -07:00
Trevor Clinkenbeard
bd0a04d4bc
Merge pull request from sfc-gh-ljoswiak/features/broadcaster-push
Refactor config broadcaster to push updates to workers
2021-08-10 19:56:35 -07:00
Steve Atherton
09a41ff61b Fix duplicate trace event fields on MutationTracking event. 2021-08-10 17:56:28 -07:00
Steve Atherton
3922fa8cdd Fix duplicate TraceEvent detail name. 2021-08-10 17:41:31 -07:00
Steve Atherton
eb5c8eb78d Added Label field for keys and ranges in MutationTracking. 2021-08-10 17:32:32 -07:00
Lukas Joswiak
7fe863c2a0 Temporarily remove failing unit test 2021-08-10 16:20:51 -07:00
Lukas Joswiak
b112560c94 Reorder registerWorker to prevent potential conflict 2021-08-10 15:09:35 -07:00
Steve Atherton
5482c86d31 Added range tracking support to MutationTracking. 2021-08-10 14:38:02 -07:00
Lukas Joswiak
f018af6ee4
Update fdbserver/ConfigBroadcaster.actor.cpp
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2021-08-10 13:24:41 -07:00
Lukas Joswiak
d27c9e2520 Revert error check 2021-08-10 12:41:41 -07:00
Lukas Joswiak
a838a47b0b Use ActorCollection for consumer future 2021-08-10 12:27:19 -07:00
Lukas Joswiak
9f4ea02784 Reremove old TODO 2021-08-10 12:14:50 -07:00
Lukas Joswiak
598b23f8d4 Merge branch 'features/broadcaster-push' of github.com:sfc-gh-ljoswiak/foundationdb into features/broadcaster-push 2021-08-10 12:08:16 -07:00
Lukas Joswiak
2ed2294ccb Remove old TODO 2021-08-10 12:00:43 -07:00
Lukas Joswiak
5dfd7c4b1a Remove redundant dead worker check 2021-08-10 11:56:58 -07:00
Lukas Joswiak
cf81b0650d Only register consumer once on the broadcaster 2021-08-10 11:56:16 -07:00
Lukas Joswiak
72e55ef72e Add broadcaster error check to unit tests 2021-08-10 11:39:29 -07:00
Lukas Joswiak
564a3d69b7 Rename config broadcast interface messages 2021-08-10 11:39:29 -07:00
Lukas Joswiak
833e53f8f0 Add tests back 2021-08-10 11:39:29 -07:00
Lukas Joswiak
85fa264a16 Remove move constructor and assignment operator 2021-08-10 11:39:29 -07:00
Lukas Joswiak
305a17c811 Improve config broadcaster logic, fix unit tests 2021-08-10 11:39:29 -07:00
Lukas Joswiak
72e63db856 Send ConfigBroadcastInterface to ConfigBroadcaster instead of entire worker interface 2021-08-10 11:39:29 -07:00
Lukas Joswiak
3946cf94ff Push updates to workers (clang-formatted files) 2021-08-10 11:39:29 -07:00
Lukas Joswiak
092ab4302b Push updates to workers 2021-08-10 11:39:29 -07:00
Lukas Joswiak
3a607d9a38
Update fdbserver/ConfigBroadcaster.actor.cpp
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2021-08-10 09:36:39 -07:00
Steve Atherton
54c7036eaf Move role UIDs for MutationTracking TraceEvents from various inconsistent detail fields into the TraceEvent UID field. 2021-08-10 01:52:36 -07:00
Steve Atherton
e5e8a56b66 Merge branch 'master' of https://github.com/apple/foundationdb into debugging-cleanup
# Conflicts:
#	fdbbackup/FileDecoder.actor.cpp
2021-08-09 23:36:57 -07:00
Steve Atherton
faa4154a56 MutationTracking now uses a vector of keys to track. Removed "Mutation" detail from DEBUG_MUTATION() events because they are duplicates of the fields already logged in the returned MutationTracking event, which are now renamed and combined into "Mutation". Removed more toString() calls in TraceEvent detail values. 2021-08-09 23:30:45 -07:00
Lukas Joswiak
ec78fb3060 Add tests back 2021-08-09 17:42:27 -07:00
Lukas Joswiak
c97a1b3b4d Remove move constructor and assignment operator 2021-08-09 15:33:01 -07:00
Lukas Joswiak
5249105b04 Improve config broadcaster logic, fix unit tests 2021-08-09 13:20:06 -07:00
sfc-gh-tclinkenbeard
79ba9c4e3a Add GetGenerationQuorum to get generation from a quorum of config nodes 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
bd5a87e0e3 Fix TestConfig::ConfigBuilder::trace_visitor::operator()(Optional<std::vector<int>> const* val) 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
f6b6e11d6a Support randomizing configuration database type in simulation 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
82546853c0 Rename UseConfigDB to ConfigDBType 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
cdbcb69d86 Add configuration database type to ISimulator 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
cd8a82b1b8 Rename GetGenerationRequests metric 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
42a45ebfc4 Temporarily comment out configuration database code breaking simulation tests 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
6ac88a3cf9 Fix localIncrementActors calculation in ConfigIncrement workload 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
6524dd1567 Add random sleep to ConfigIncrement workload 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard
7deb339a0c Added ConfigIncrement.toml test 2021-08-09 10:04:35 -07:00