foundationdb/fdbclient
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
..
json_spirit apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
libb64 apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
md5 apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
rapidjson Cherry-pick UBSAN fix 2021-06-23 09:24:52 -07:00
rapidxml apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
sha1 apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
vexillographer Explain that no separator is added 2021-08-03 11:03:13 -07:00
ActorLineageProfiler.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
ActorLineageProfiler.h Disable more ALP work when sampling disabled 2021-08-01 20:11:50 -07:00
AnnotateActor.cpp Revert "Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage" 2021-06-04 13:31:55 -07:00
AnnotateActor.h Disable sampling everywhere except fdbserver 2021-07-27 09:53:23 -07:00
AsyncFileS3BlobStore.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
AsyncFileS3BlobStore.actor.h Support encryption for blob store backups (not yet tested) 2021-06-26 00:07:27 -07:00
AsyncTaskThread.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
AsyncTaskThread.h Strengthen /asynctaskthread/add unit test 2021-07-17 20:01:24 -07:00
Atomic.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
AutoPublicAddress.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
BackupAgent.actor.h Check in the prototype of MutationLogReader. 2021-08-18 14:59:50 -07:00
BackupAgentBase.actor.cpp Check in the prototype of MutationLogReader. 2021-08-18 14:59:50 -07:00
BackupContainer.actor.cpp Change BackupContainerAzureBlobStore URL format 2021-07-26 22:44:12 -07:00
BackupContainer.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
BackupContainerAzureBlobStore.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
BackupContainerAzureBlobStore.h Several BackupContainerAzureBlobStore bug fixes 2021-07-26 22:32:38 -07:00
BackupContainerFileSystem.actor.cpp Switched blob implementation to use backup container 2021-08-24 13:47:47 -05:00
BackupContainerFileSystem.h Switched blob implementation to use backup container 2021-08-24 13:47:47 -05:00
BackupContainerLocalDirectory.actor.cpp Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings 2021-07-28 11:51:02 -07:00
BackupContainerLocalDirectory.h Support encryption for blob store backups (not yet tested) 2021-06-26 00:07:27 -07:00
BackupContainerS3BlobStore.actor.cpp added one missed change 2021-07-20 18:30:43 -06:00
BackupContainerS3BlobStore.h Support encryption for blob store backups (not yet tested) 2021-06-26 00:07:27 -07:00
BlobGranuleCommon.h Merge branch 'feature-range-feed' into blob_full 2021-09-10 11:21:52 -05:00
BlobGranuleReader.actor.cpp Added blob granule reassignment and splitting 2021-09-08 14:09:14 -05:00
BlobGranuleReader.actor.h Add metrics for blob worker. 2021-09-03 12:09:01 -04:00
BlobWorkerCommon.h Got basic range reassignment working 2021-09-22 16:48:44 -05:00
BlobWorkerInterface.h Got basic range reassignment working 2021-09-22 16:48:44 -05:00
BuildFlags.h.in Fix macOS compilation issue 2021-01-19 11:21:21 -08:00
CMakeLists.txt Merge branch 'feature-range-feed' into blob_full 2021-09-10 11:21:52 -05:00
ClientBooleanParams.cpp Add FDB_ prefix to BOOLEAN_PARAM macros 2021-07-09 05:42:14 -07:00
ClientBooleanParams.h Add FDB_ prefix to BOOLEAN_PARAM macros 2021-07-09 05:42:14 -07:00
ClientKnobCollection.cpp Add atomicity to knobs 2021-08-23 11:41:00 -07:00
ClientKnobCollection.h Add atomicity to knobs 2021-08-23 11:41:00 -07:00
ClientKnobs.cpp Compute a burstiness score based on the max busyness interval in a measurement period. 2021-08-27 16:29:15 -07:00
ClientKnobs.h Compute a burstiness score based on the max busyness interval in a measurement period. 2021-08-27 16:29:15 -07:00
ClientLogEvents.h Remove many calls to .toString(), .printable(), and printable(...) from TraceEvent .detail() values to avoid double-escaping characters such that the same values look different in different events and can't be easily searched for. Also fixed a few warnings found by clang. 2021-08-08 00:04:54 -07:00
ClientWorkerInterface.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
ClusterInterface.h Remove broadcastConfigDatabase actor 2021-04-26 15:54:08 -07:00
CommitProxyInterface.h Draft to use template to rewrite ThrottleApi 2021-08-11 01:07:36 +00:00
CommitTransaction.h Make FASTRESTORE_ATOMICOP_WEIGHT a client knob 2021-05-30 15:02:17 -07:00
ConfigKnobs.cpp Support randomizing configuration database type in simulation 2021-08-09 10:04:35 -07:00
ConfigKnobs.h Support randomizing configuration database type in simulation 2021-08-09 10:04:35 -07:00
ConfigTransactionInterface.cpp Make SimpleConfigTransaction more consistent with PaxosConfigTransaction 2021-08-26 16:18:24 -07:00
ConfigTransactionInterface.h Make SimpleConfigTransaction more consistent with PaxosConfigTransaction 2021-08-26 16:18:24 -07:00
CoordinationInterface.h Use full generation in ConfigTransactionInterface 2021-07-18 12:23:34 -07:00
DatabaseBackupAgent.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
DatabaseConfiguration.cpp Minor review comments. 2021-06-25 15:04:49 -07:00
DatabaseConfiguration.h exclude servers based on locality match 2021-06-23 18:03:27 -07:00
DatabaseContext.h fixing a couple bugs 2021-09-10 12:52:33 -05:00
EventTypes.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
FDBOptions.h Remove unnecessary temporary objects while growing objects of type std::vector<std::pair<A, B>> 2021-05-10 16:32:50 -07:00
FDBTypes.cpp Use g_knobs for SERVER_KNOBS and CLIENT_KNOBS 2021-06-07 14:32:51 -07:00
FDBTypes.h merge master 2021-08-02 11:58:35 -07:00
FileBackupAgent.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
FluentDSampleIngestor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
GlobalConfig.actor.cpp Merge pull request #5026 from sfc-gh-ljoswiak/fixes/alp6 2021-08-11 13:44:17 -07:00
GlobalConfig.actor.h Merge pull request #5026 from sfc-gh-ljoswiak/fixes/alp6 2021-08-11 13:44:17 -07:00
GlobalConfig.h Store global config data on heap 2021-04-14 10:56:33 -07:00
GrvProxyInterface.h Implement the core logic of gray network triggered recovery in cluster controller 2021-06-30 11:27:05 -07:00
HTTP.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
HTTP.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
IClientApi.h Fix the issue in CheckStatus where it stuck as we cannot talk to any of the coordinators 2021-09-08 10:05:13 -07:00
IConfigTransaction.cpp Add IConfigTransaction::createTestPaxos 2021-07-18 19:18:48 -07:00
IConfigTransaction.h Add IConfigTransaction::createTestPaxos 2021-07-18 19:18:48 -07:00
IKnobCollection.cpp Create separate copies of commit request in PaxosConfigTransactionImpl 2021-08-25 15:21:36 -07:00
IKnobCollection.h Create separate copies of commit request in PaxosConfigTransactionImpl 2021-08-25 15:21:36 -07:00
ISingleThreadTransaction.cpp Added ConfigIncrement workload 2021-08-09 10:04:35 -07:00
ISingleThreadTransaction.h Added ConfigIncrement workload 2021-08-09 10:04:35 -07:00
JSONDoc.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
JsonBuilder.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
JsonBuilder.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
KeyBackedTypes.h Refactor tssq command 2021-08-27 11:58:18 -07:00
KeyRangeMap.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
KeyRangeMap.h Create RangeResult type alias 2021-05-03 13:14:16 -07:00
Knobs.h cherry pick streaming replies to master 2021-06-19 09:47:13 -07:00
ManagementAPI.actor.cpp Rewrite cache_range related functions to template code; Remove duplicate code; fix the existing bug in cache_range; 2021-08-20 13:42:50 -07:00
ManagementAPI.actor.h Add comments; Add newline in the end of the file 2021-08-20 13:45:16 -07:00
MonitorLeader.actor.cpp modify comments to make clang-format and coverage tool play nice 2021-08-27 17:18:00 -07:00
MonitorLeader.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
MultiVersionAssignmentVars.h Fix -Wreorder-ctor warnings in NativeAPI.actor.cpp and several other files 2021-07-24 00:23:06 -07:00
MultiVersionTransaction.actor.cpp Update fdbclient/MultiVersionTransaction.actor.cpp 2021-09-08 17:37:33 -07:00
MultiVersionTransaction.h Fix the issue in CheckStatus where it stuck as we cannot talk to any of the coordinators 2021-09-08 10:05:13 -07:00
MutationList.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
MutationLogReader.actor.cpp Address comments. 2021-08-18 14:59:50 -07:00
MutationLogReader.actor.h Add a sentence describing what MutationLogReader does at high level. 2021-08-18 18:23:35 -07:00
NameLineage.cpp Add collector to get running actor name 2021-06-16 18:08:51 -07:00
NameLineage.h Collect actors waiting on disk and network 2021-06-17 16:50:34 -07:00
NativeAPI.actor.cpp fixing a couple bugs 2021-09-10 12:52:33 -05:00
NativeAPI.actor.h Merge branch 'feature-range-feed' into blob_full 2021-09-10 11:21:52 -05:00
Notified.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
PImpl.h Added PImpl class 2021-08-09 10:04:34 -07:00
ParallelStream.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
ParallelStream.actor.h parallelStream holds a promiseStream of fragments, so we cannot make it reference counted without introducing a reference counting cycle 2021-06-22 17:45:54 -07:00
PaxosConfigTransaction.actor.cpp Fix and reenable PaxosConfigTransaction::onError 2021-08-27 15:06:33 -07:00
PaxosConfigTransaction.h Added PImpl class 2021-08-09 10:04:34 -07:00
ProcessInterface.h Increase well known endpoint index for WLTOKEN_PROCESS 2021-08-16 12:09:56 -07:00
RYWIterator.cpp Merge pull request #4729 from sfc-gh-etschannen/feature-bypass-unreadable 2021-05-04 11:35:44 -07:00
RYWIterator.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
ReadYourWrites.actor.cpp Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings 2021-07-28 11:51:02 -07:00
ReadYourWrites.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
RestoreInterface.cpp Update copyright headers 2021-06-02 10:32:34 -07:00
RestoreInterface.h Update copyright headers 2021-06-02 10:32:34 -07:00
RunTransaction.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
S3BlobStore.actor.cpp clang-format S3BlobStore* files 2021-05-10 10:25:32 -07:00
S3BlobStore.h clang-format S3BlobStore* files 2021-05-10 10:25:32 -07:00
Schemas.cpp exclude to work with any locality data match. 2021-06-23 18:03:27 -07:00
Schemas.h Add json schema for the management api error message in special key space 2020-07-27 17:37:19 -07:00
ServerKnobCollection.cpp Add atomicity to knobs 2021-08-23 11:41:00 -07:00
ServerKnobCollection.h Add atomicity to knobs 2021-08-23 11:41:00 -07:00
ServerKnobs.cpp Refactor logic for recruiting singletons. 2021-09-22 16:56:18 -05:00
ServerKnobs.h Refactor logic for recruiting singletons. 2021-09-22 16:56:18 -05:00
SimpleConfigTransaction.actor.cpp Merge remote-tracking branch 'origin/master' into paxos-config-db 2021-08-27 23:24:14 -07:00
SimpleConfigTransaction.h Added PImpl class 2021-08-09 10:04:34 -07:00
SnapshotCache.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
SpecialKeySpace.actor.cpp The lock special key has the lock UID as the value 2021-09-03 12:15:56 -07:00
SpecialKeySpace.actor.h Merge branch 'master' into fixes/alp6 2021-07-27 10:07:18 -07:00
StackLineage.cpp Remove stack lineage 2021-06-15 15:18:52 -07:00
StackLineage.h Various ALP fixes 2021-06-04 15:01:18 -07:00
Status.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
StatusClient.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
StatusClient.h Clients which fetch status should not disconnect from the coordinators and cluster controller between each retrieval 2020-01-22 15:41:22 -08:00
StorageServerInterface.cpp Merge branch 'feature-range-feed' into blob_full 2021-09-10 11:21:52 -05:00
StorageServerInterface.h Fixing up after change feed updates 2021-09-10 11:49:41 -05:00
Subspace.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Subspace.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
SystemData.cpp Got basic range reassignment working 2021-09-22 16:48:44 -05:00
SystemData.h Got basic range reassignment working 2021-09-22 16:48:44 -05:00
TagThrottle.actor.cpp Update comments, remove headers 2021-08-11 23:19:39 -07:00
TagThrottle.actor.h Solve comments; Add a method to return DatabaseContext Reference 2021-08-19 19:34:25 +00:00
TaskBucket.actor.cpp Fix more -Wreorder-ctor warnings across several files 2021-07-24 11:43:19 -07:00
TaskBucket.h 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
TestKnobCollection.cpp Separate test knobs into atomic and nonatomic 2021-08-23 11:41:00 -07:00
TestKnobCollection.h Remove unnecessary function 2021-08-23 11:41:01 -07:00
ThreadSafeTransaction.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
ThreadSafeTransaction.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
TransactionLineage.cpp Revert "Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage" 2021-06-04 13:31:55 -07:00
TransactionLineage.h Disable sampling everywhere except fdbserver 2021-07-27 09:53:23 -07:00
Tuple.cpp Fix global config not updating on server processes 2021-06-03 14:27:24 -07:00
Tuple.h Fix global config not updating on server processes 2021-06-03 14:27:24 -07:00
VersionedMap.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
VersionedMap.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
VersionedMap.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
WriteMap.h Fix many -Wreorder-ctor warnings 2021-07-23 17:33:18 -07:00
azurestorage.cmake First draft of Azure blob storage backup container 2020-10-24 16:47:51 -07:00
versions.h.cmake fdbserver now compiling 2018-12-13 14:13:47 -08:00
zipf.c apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
zipf.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00