foundationdb/fdbserver
Suraj Gupta 0b6fecddbc Refactor logic for recruiting singletons.
This commit refactors the logic for recruiting singletons,
which is done by the ClusterController. This allows for far
easier additions of new singletons in the future, and also
cleans up the code.

Also, the logic for recruiting DD was changed to mirror
the logic for recruiting RK. Although the logic for RK
allows there to be many RKs existing at once, the moveKeysLock
mechanism used by DD still prevents multiple DDs existing at once.
2021-09-22 16:56:18 -05:00
..
sqlite fix typo 2021-06-28 11:14:55 +08:00
workloads Increasing workload request count 2021-09-16 10:03:30 -05:00
ApplyMetadataMutation.cpp Merge branch 'master' into feature-range-feed 2021-09-09 23:13:22 -07:00
ApplyMetadataMutation.h Refactor ApplyMetadataMutation for better readability 2021-08-24 12:58:14 -07:00
ArtMutationBuffer.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
BackupInterface.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
BackupProgress.actor.cpp Create RangeResult type alias 2021-05-03 13:14:16 -07:00
BackupProgress.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
BackupWorker.actor.cpp 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
BlobManager.actor.cpp Got basic range reassignment working 2021-09-22 16:48:44 -05:00
BlobManagerInterface.h Refactored blob worker/manager to be in separate files 2021-08-23 14:16:09 -05:00
BlobWorker.actor.cpp Got basic range reassignment working 2021-09-22 16:48:44 -05:00
BlobWorker.actor.h Refactored blob worker/manager to be in separate files 2021-08-23 14:16:09 -05:00
CMakeLists.txt Merge branch 'feature-range-feed' into blob_full 2021-09-10 11:21:52 -05:00
ClusterController.actor.cpp Refactor logic for recruiting singletons. 2021-09-22 16:56:18 -05:00
CommitProxyServer.actor.cpp fixup! Make processTransactionStateRequestPart not blocking 2021-08-28 21:10:10 -07:00
CompactMap.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
ConfigBroadcastInterface.h Rename config broadcast interface messages 2021-08-10 11:39:29 -07:00
ConfigBroadcaster.actor.cpp Remove linear time loop 2021-08-23 14:02:41 -07:00
ConfigBroadcaster.h Add worker kill unit test 2021-08-23 12:45:42 -07:00
ConfigDatabaseUnitTests.actor.cpp Remove linear time loop 2021-08-23 14:02:41 -07:00
ConfigFollowerInterface.cpp Add simple implementation to PaxosConfigConsumer 2021-07-18 17:07:10 -07:00
ConfigFollowerInterface.h Server committed version requests in SimpleConfigDatabaseNode 2021-07-18 17:56:44 -07:00
ConfigNode.actor.cpp Add CommitUnknownResult metric for ConfigIncrement workload 2021-08-27 00:44:12 -07:00
ConfigNode.h Added PImpl class 2021-08-09 10:04:34 -07:00
ConflictSet.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
CoordinatedState.actor.cpp Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use. 2021-07-26 19:55:10 -07:00
CoordinatedState.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Coordination.actor.cpp Rename UseConfigDB to ConfigDBType 2021-08-09 10:04:35 -07:00
CoordinationInterface.h Rename UseConfigDB to ConfigDBType 2021-08-09 10:04:35 -07:00
CoroFlow.actor.cpp Merge remote-tracking branch 'origin/master' into fix-clang-warnings 2021-07-28 12:29:27 -07:00
CoroFlow.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
CoroFlowCoro.actor.cpp Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use. 2021-07-26 19:55:10 -07:00
DBCoreState.h Fix -Wreorder-ctor warnings in NativeAPI.actor.cpp and several other files 2021-07-24 00:23:06 -07:00
DataDistribution.actor.cpp Merge pull request #5385 from sfc-gh-tclinkenbeard/debug-dd 2021-08-20 13:25:50 -07:00
DataDistribution.actor.h add perpetualStorageWiggler 2021-05-20 23:31:08 +00:00
DataDistributionQueue.actor.cpp Fix more -Wreorder-ctor warnings across many files 2021-07-24 11:20:51 -07:00
DataDistributionTracker.actor.cpp Using the current max shard size estimate instead of the max possible if unavailable 2021-08-19 16:17:55 -05:00
DataDistributorInterface.h Refactor logic for recruiting singletons. 2021-09-22 16:56:18 -05:00
DeltaTree.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
DiskQueue.actor.cpp Fix more -Wreorder-ctor warnings across many files 2021-07-24 11:20:51 -07:00
FDBExecHelper.actor.cpp Update fdbserver/FDBExecHelper.actor.cpp 2021-05-25 10:24:00 -07:00
FDBExecHelper.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
GrvProxyServer.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
IConfigConsumer.cpp Add UseConfigDB class 2021-06-10 20:57:50 -07:00
IConfigConsumer.h Update fdbserver/IConfigConsumer.h 2021-06-12 08:04:09 -07:00
IDiskQueue.h Add FDB_ prefix to BOOLEAN_PARAM macros 2021-07-09 05:42:14 -07:00
IKeyValueContainer.h Move IKeyValueContainer from flow to fdbserver 2020-11-15 12:23:08 -08:00
IKeyValueStore.h Create RangeResult type alias 2021-05-03 13:14:16 -07:00
IPager.h Bug fix, BTreeCursor pager event reason was not being initialized. Changed metric column order. 2021-07-21 01:28:25 -07:00
KeyValueStoreCompressTestData.actor.cpp Create RangeResult type alias 2021-05-03 13:14:16 -07:00
KeyValueStoreMemory.actor.cpp Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings 2021-07-28 11:51:02 -07:00
KeyValueStoreRocksDB.actor.cpp Log SubCode and Severity for RocksDB erros (#5515) 2021-08-31 21:03:02 -07:00
KeyValueStoreSQLite.actor.cpp Merge pull request #5264 from sfc-gh-tclinkenbeard/fix-more-clang-warnings 2021-07-29 15:43:54 -07:00
Knobs.h rebase 2021-07-26 10:55:22 -04:00
LatencyBandConfig.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
LatencyBandConfig.h Use LF instead of CRLF in LatencyBandConfig 2021-03-11 08:56:55 -08:00
LeaderElection.actor.cpp Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use. 2021-07-26 19:55:10 -07:00
LeaderElection.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
LocalConfiguration.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
LocalConfiguration.h Separate test knobs into atomic and nonatomic 2021-08-23 11:41:00 -07:00
LogProtocolMessage.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
LogRouter.actor.cpp remove FIXME 2021-08-12 14:10:34 -07:00
LogSystem.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
LogSystemConfig.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
LogSystemDiskQueueAdapter.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
LogSystemDiskQueueAdapter.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
LogSystemPeekCursor.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
MasterInterface.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
MetricLogger.actor.cpp Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings 2021-07-28 11:51:02 -07:00
MetricLogger.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
MoveKeys.actor.cpp Merge pull request #5183 from sfc-gh-xwang/tlog_dev 2021-08-17 11:51:34 -07:00
MoveKeys.actor.h Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
MutationTracking.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
MutationTracking.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
NetworkTest.h cherry pick streaming replies to master 2021-06-19 09:47:13 -07:00
OldTLogServer_4_6.actor.cpp solve mis-spelling, trace log and format problems 2021-08-11 18:26:00 -07:00
OldTLogServer_6_0.actor.cpp Merge branch 'master' of https://github.com/apple/foundationdb into durability-bug-repro1 2021-08-24 16:19:16 -07:00
OldTLogServer_6_2.actor.cpp Merge branch 'master' of https://github.com/apple/foundationdb into durability-bug-repro1 2021-08-24 16:19:16 -07:00
OnDemandStore.actor.cpp Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
OnDemandStore.h Create configuration database node files on demand 2021-05-23 18:01:50 -07:00
PaxosConfigConsumer.actor.cpp Added PImpl class 2021-08-09 10:04:34 -07:00
PaxosConfigConsumer.h Added PImpl class 2021-08-09 10:04:34 -07:00
ProxyCommitData.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
QuietDatabase.actor.cpp add information print 2021-07-30 19:22:49 -07:00
QuietDatabase.h Prevent dataDistributor from modifying ServerDBInfo object 2021-07-11 22:04:54 -07:00
RadixTree.h Avoid calling memcpy with null 2nd argument 2021-06-04 09:48:06 -07:00
Ratekeeper.actor.cpp Merge branch 'feature-range-feed' into blob_full 2021-09-10 11:21:52 -05:00
RatekeeperInterface.h Reader can read blob worker interface and mapping from db, read files, apply mutations, and return result 2021-08-06 11:02:05 -05:00
RecoveryState.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Resolver.actor.cpp Prevent resolver from modifying ServerDBInfo object 2021-07-11 22:04:58 -07:00
ResolverInterface.h Implement the core logic of gray network triggered recovery in cluster controller 2021-06-30 11:27:05 -07:00
RestoreApplier.actor.cpp Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use. 2021-07-26 19:55:10 -07:00
RestoreApplier.actor.h Fix trace event detail name collision in MutationTracking use cases. 2021-08-24 08:04:19 -07:00
RestoreCommon.actor.cpp Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False so as to not conflict with the TRUE and FALSE macros provided by the Windows and MacOS SDKs. 2021-07-17 00:11:40 -07:00
RestoreCommon.actor.h Move RestoreWorkerInterface into fdbserver 2021-05-30 15:02:33 -07:00
RestoreController.actor.cpp Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use. 2021-07-26 19:55:10 -07:00
RestoreController.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
RestoreLoader.actor.cpp Fix duplicate TraceEvent detail name. 2021-08-10 17:43:41 -07:00
RestoreLoader.actor.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
RestoreRoleCommon.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
RestoreRoleCommon.actor.h Move RestoreWorkerInterface into fdbserver 2021-05-30 15:02:33 -07:00
RestoreUtil.actor.cpp FastRestore:Replace master word with controller 2020-07-16 16:37:13 -07:00
RestoreUtil.h Move RestoreWorkerInterface into fdbserver 2021-05-30 15:02:33 -07:00
RestoreWorker.actor.cpp Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use. 2021-07-26 19:55:10 -07:00
RestoreWorker.actor.h Move RestoreWorkerInterface into fdbserver 2021-05-30 15:02:33 -07:00
RestoreWorkerInterface.actor.cpp Move RestoreWorkerInterface into fdbserver 2021-05-30 15:02:33 -07:00
RestoreWorkerInterface.actor.h Move RestoreWorkerInterface into fdbserver 2021-05-30 15:02:33 -07:00
RoleLineage.actor.cpp Revert "Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage" 2021-06-04 13:31:55 -07:00
RoleLineage.actor.h Lazy inititialization 2021-06-04 15:01:18 -07:00
ServerDBInfo.actor.h Push updates to workers 2021-08-10 11:39:29 -07:00
ServerDBInfo.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-05 16:31:35 -06:00
SigStack.cpp Add SIGUSR1 and SIGUSR2 macros for Windows 2021-08-18 18:06:36 +02:00
SimpleConfigConsumer.actor.cpp Merge remote-tracking branch 'origin/master' into paxos-config-db 2021-08-16 10:49:47 -07:00
SimpleConfigConsumer.h Added PImpl class 2021-08-09 10:04:34 -07:00
SimulatedCluster.actor.cpp Merge branch 'feature-range-feed' into blob_full 2021-09-10 11:21:52 -05:00
SimulatedCluster.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
SkipList.cpp Fix more -Wreorder-ctor warnings across many files 2021-07-24 11:20:51 -07:00
SpanContextMessage.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Status.actor.cpp Temporarily comment out configuration database code breaking simulation tests 2021-08-09 10:04:35 -07:00
Status.h Add .cluster.configuration status json field 2021-05-18 10:47:16 -07:00
StorageCache.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
StorageMetrics.actor.h Histograms for storage server write path components. 2021-06-11 14:48:13 -07:00
StorageMetrics.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
TLogInterface.h solve mis-spelling, trace log and format problems 2021-08-11 18:26:00 -07:00
TLogServer.actor.cpp Merge branch 'master' into feature-range-feed 2021-09-09 23:13:22 -07:00
TSSMappingUtil.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
TSSMappingUtil.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
TagPartitionedLogSystem.actor.cpp Add histograms to CommitProxyServer. (#5299) 2021-08-05 09:17:37 -07:00
TesterInterface.actor.h Improve const-correctness for AsyncVar references 2021-08-14 23:41:39 -07:00
VFSAsync.cpp Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
VFSAsync.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
VersionedBTree.actor.cpp format 2021-08-26 13:15:05 -07:00
WaitFailure.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
WaitFailure.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
WorkerInterface.actor.h Merge pull request #5387 from sfc-gh-tclinkenbeard/improve-worker-const-correctness 2021-08-16 13:32:07 -07:00
art.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
art_impl.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
fdbserver.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
masterserver.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
networktest.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
pubsub.actor.cpp Create RangeResult type alias 2021-05-03 13:14:16 -07:00
pubsub.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
storageserver.actor.cpp more CF bug fixes 2021-09-21 13:20:27 -05:00
template_fdb.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
tester.actor.cpp Document "averaged" parameter of PerfMetric constructor 2021-08-29 15:38:21 -07:00
worker.actor.cpp Refactor logic for recruiting singletons. 2021-09-22 16:56:18 -05:00