foundationdb/fdbclient
mpilman da53a92bec Make protocol version a type
This fixes #1214

The basic idea is that ProtocolVersion is now its own type. This
alone is an improvement as it makes many things more typesafe. For
each version, we can now add breaking features (for example Fearless).
After that, there's no need to test against actual (confusing) version
numbers. Instead a developer can simply test
`protocolVersion->hasFearless()` and this will return true iff the
protocolVersion is newer than the newest version that didn't support
fearless.
2019-06-16 09:59:15 -07:00
..
json_spirit Initial repository commit 2017-05-25 13:48:44 -07:00
libb64 Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
md5 Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
rapidjson Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
rapidxml Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
sha1 Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
vexillographer Allow to turn on object serializer 2019-05-13 14:15:22 -07:00
AsyncFileBlobStore.actor.cpp Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
AsyncFileBlobStore.actor.h fixed a merge error 2018-11-12 19:20:39 -08:00
Atomic.h Implements CompareAndClear AtomicOp 2019-02-04 14:59:56 -08:00
AutoPublicAddress.cpp net: Support IPv6 #963 2019-03-04 14:12:41 -08:00
BackupAgent.actor.h Fix all -Wunused-variable warnings 2019-04-15 18:13:00 -07:00
BackupAgentBase.actor.cpp Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
BackupContainer.actor.cpp Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
BackupContainer.h Added --json option to fdbbackup describe. Also added expired percentage indicator to snapshot details. 2019-03-06 14:14:06 -08:00
BlobStore.actor.cpp Merge branch 'release-6.0' of https://github.com/apple/foundationdb 2019-03-12 04:49:12 -07:00
BlobStore.h Merge branch 'release-6.0' of https://github.com/apple/foundationdb 2019-03-12 04:49:12 -07:00
CMakeLists.txt Merge pull request #1470 from mpilman/fixes/windows-parallel-build 2019-04-25 12:02:10 -07:00
ClientDBInfo.h Implementation complete (not yet working) 2019-05-13 14:15:22 -07:00
ClientLogEvents.h Remove trace-calls to printable (in non-workloads) 2019-04-05 13:12:19 -07:00
ClientWorkerInterface.h Implementation complete (not yet working) 2019-05-13 14:15:22 -07:00
ClusterInterface.h Merge branch 'release-6.1' 2019-06-03 18:49:35 -07:00
CommitTransaction.h Address review comments and minor fixes 2019-05-28 22:07:46 -07:00
CoordinationInterface.h Implementation complete (not yet working) 2019-05-13 14:15:22 -07:00
DatabaseBackupAgent.actor.cpp Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
DatabaseConfiguration.cpp added three_data_hall_fallback configuration 2019-04-07 22:58:18 -07:00
DatabaseConfiguration.h removed LocalitySetRef and IRepPolicyRef typedefs, because for clarity the Ref suffix is reserved for arena allocated objects instead of reference counted objects. 2019-03-13 13:14:39 -07:00
DatabaseContext.h if recovery < fully_recovered then fail the exec 2019-05-28 22:07:46 -07:00
EventTypes.actor.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
FDBOptions.h Log network, cluster, and database options when they are set. Throw an exception if the option being set doesn't exist. 2018-07-17 16:23:16 -07:00
FDBTypes.h Refactor: add std:: qualifier and use emplace_back 2019-05-17 09:38:50 -10:00
FailureMonitorClient.actor.cpp run clang-format on changes 2019-06-10 14:10:24 -07:00
FailureMonitorClient.h remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
FileBackupAgent.actor.cpp Merge branch 'master' into thread-safe-random-number-generation 2019-05-23 08:35:47 -07:00
HTTP.actor.cpp Merge branch 'release-6.1' 2019-06-03 18:49:35 -07:00
HTTP.h Added optional support for sending a unique id per request in a header for logging/tracking purposes. 2019-01-08 14:48:47 -08:00
IClientApi.h Merge branch 'master' into remove-cluster-from-bindings 2018-11-26 12:01:03 -08:00
JSONDoc.h Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
JsonBuilder.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
JsonBuilder.h Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
KeyBackedTypes.h Remove trace-calls to printable (in non-workloads) 2019-04-05 13:12:19 -07:00
KeyRangeMap.actor.cpp Use proper fwd decl in NativeAPI 2019-02-19 15:16:59 -08:00
KeyRangeMap.h Remove noexcept macro and replace with BOOST_NOEXCEPT. 2019-03-05 22:06:12 -08:00
Knobs.cpp Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
Knobs.h For small clusters that are growing quickly, it could happen that the rateLimit is set to a low value and it would take very long to read the entire database. Fix this by setting the rateLimit to the maximum allowed value if reading the entire database is taking a long time. 2019-04-10 17:13:37 -07:00
ManagementAPI.actor.cpp g_random -> deterministicRandom() 2019-05-28 22:07:46 -07:00
ManagementAPI.actor.h Snapshot based backup and resotre implementation 2019-05-28 22:07:46 -07:00
MasterProxyInterface.h rebase related changes 2019-05-28 22:07:46 -07:00
MetricLogger.actor.cpp Minor fixes in fdbclient for intellisense 2019-02-19 15:16:59 -08:00
MetricLogger.h Use proper fwd decl in NativeAPI 2019-02-19 15:16:59 -08:00
MonitorLeader.actor.cpp Fix some new usages of g_random 2019-05-23 09:23:27 -07:00
MonitorLeader.h Several flatbuffers bug fixes 2019-05-13 14:15:23 -07:00
MultiVersionAssignmentVars.h Merge release-5.1 into release-5.2 2018-05-30 09:09:55 -07:00
MultiVersionTransaction.actor.cpp Make protocol version a type 2019-06-16 09:59:15 -07:00
MultiVersionTransaction.h Make protocol version a type 2019-06-16 09:59:15 -07:00
MutationList.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
NativeAPI.actor.cpp Monitor leader only when proxies are unknown or any dies 2019-06-14 13:27:57 -07:00
NativeAPI.actor.h Monitor leader only when proxies are unknown or any dies 2019-06-14 13:27:57 -07:00
Notified.h Remove noexcept macro and replace with BOOST_NOEXCEPT. 2019-03-05 22:06:12 -08:00
RYWIterator.cpp Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
RYWIterator.h Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
ReadYourWrites.actor.cpp Merge branch 'master' into thread-safe-random-number-generation 2019-05-23 08:35:47 -07:00
ReadYourWrites.h retry limit and max delay transaction options are no longer reset after onError 2019-03-21 18:50:02 -04:00
RunTransaction.actor.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Schemas.cpp fixed a number of correctness problems 2019-06-12 19:40:50 -07:00
Schemas.h Merge commit '3b2700d25334c53d13496ca16682642aac951beb' into track-server-request-latencies 2019-01-24 11:43:26 -08:00
SnapshotCache.h Addressed code review comments 2019-04-05 13:12:20 -07:00
Status.h Move AsyncFileBlobStore and related files to fdbclient. 2018-10-26 13:49:42 -07:00
StatusClient.actor.cpp Fix various compiler warnings 2019-03-15 10:34:57 -07:00
StatusClient.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
StorageServerInterface.h Merge branch 'apple-master' into features/local-rk 2019-06-10 19:40:25 -07:00
Subspace.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Subspace.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
SystemData.cpp Make protocol version a type 2019-06-16 09:59:15 -07:00
SystemData.h Avoid using trackLatest for TLog pop test cases 2019-05-28 22:07:46 -07:00
TaskBucket.actor.cpp Replace g_random and g_nondeterministic_random with functions deterministicRandom() and nondeterministicRandom() that return thread_local random number generators. Delete g_debug_random and trace_random. Allow only deterministicRandom() to be seeded, and require it to be seeded from each thread on which it is used. 2019-05-10 14:01:52 -07:00
TaskBucket.h Use proper fwd decl in NativeAPI 2019-02-19 15:16:59 -08:00
ThreadSafeTransaction.actor.cpp Avoiding holding references to ThreadSafeDatabase on the main thread because this can cause a race with fdb_stop_network when it comes time to destroy it. 2019-03-25 16:11:50 -07:00
ThreadSafeTransaction.h Avoiding holding references to ThreadSafeDatabase on the main thread because this can cause a race with fdb_stop_network when it comes time to destroy it. 2019-03-25 16:11:50 -07:00
Tuple.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Tuple.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
VersionedMap.actor.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
VersionedMap.h Refactor NextFastAllocatedSize to be constexpr function 2019-06-11 15:55:23 -07:00
WriteMap.h Addressed code review comments 2019-04-05 13:12:20 -07:00
fdbclient.vcxproj Enabled C++17 for all Windows projects 2019-05-16 17:44:13 -07:00
local.mk remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
versions.h.cmake fdbserver now compiling 2018-12-13 14:13:47 -08:00