foundationdb/fdbclient
Suraj Gupta fe098b3b11 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-20 14:26:42 -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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -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 Enable support for integers in environment variable network options 2021-09-20 11:48:07 -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 Fixed warnings in IDE, applied clang-format. 2021-07-31 11:35:02 -07:00
BackupContainerFileSystem.h remove unnecessary compile guards 2021-07-20 18:27:16 -06: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
BuildFlags.h.in Fix macOS compilation issue 2021-01-19 11:21:21 -08:00
CMakeLists.txt Set sampling dependencies for Windows only 2021-08-24 10:48:31 +02: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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
CommitProxyInterface.h Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07: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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
DatabaseBackupAgent.actor.cpp apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
DatabaseConfiguration.cpp Added StorageMigrationType and cli commands 2021-09-14 09:55:41 -05:00
DatabaseConfiguration.h Added StorageMigrationType and cli commands 2021-09-14 09:55:41 -05:00
DatabaseContext.h Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
EventTypes.actor.h apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
FDBOptions.h Enable support for integers in environment variable network options 2021-09-20 11:48:07 -07:00
FDBTypes.cpp Use g_knobs for SERVER_KNOBS and CLIENT_KNOBS 2021-06-07 14:32:51 -07:00
FDBTypes.h Added StorageMigrationType and cli commands 2021-09-14 09:55:41 -05: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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
KeyRangeMap.h Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
Knobs.h cherry pick streaming replies to master 2021-06-19 09:47:13 -07:00
ManagementAPI.actor.cpp Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
ManagementAPI.actor.h Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
MonitorLeader.actor.cpp Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
MonitorLeader.h Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -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 Enable support for integers in environment variable network options 2021-09-20 11:48:07 -07:00
MultiVersionTransaction.h Proper handling of reset and transaction destruction. Add some comments. 2021-09-17 18:10:56 -06: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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
NativeAPI.actor.h Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07: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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -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 Added StorageMigrationType and cli commands 2021-09-14 09:55:41 -05: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-20 14:26:42 -05:00
ServerKnobs.h Refactor logic for recruiting singletons. 2021-09-20 14:26:42 -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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07: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 Various TSS improvements from snowblower testing 2021-08-13 10:24:15 -05:00
StorageServerInterface.h Draft to use template to rewrite ThrottleApi 2021-08-11 01:07:36 +00: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 Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
SystemData.h Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
TagThrottle.actor.cpp Update comments, remove headers 2021-08-11 23:19:39 -07:00
TagThrottle.actor.h Fix all tr->get, hold the ThreadFuture for the memory 2021-09-13 13:28:48 -07: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