foundationdb/fdbclient
Meng Xu bd345f85db ConsistencyCheck:Fix failue due to address inconsistency between process and worker
With TLS, a worker (or process) can have a TLS address and non-TLS address.
When a process is created in simulation, the primary address is TLS by default.
The non-TLS one is the TLS address port plus one.

In a connection between two workers, if their primary addresses do not enable
or disable TLS together, one worker will swap its primary address and secondary address
so that the TLS config of the two endpoints can match.

The swap can make the primary address no longer the TLS one that was created
when the process is created. And the swap only happens for worker instead of
process struct in simulation.

This swap can cause worker->address != process->address.
In checkForExtraDataStores actor, we use worker->address to check if a process
is killable and use the process->address to kill the process. The inconsistency
can cause simulation to kill a protected process that is not killable and leads
to simulation failure.
2020-03-10 21:07:16 -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 fix: messed up define 2020-02-20 17:29:06 -08: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 Merge branch 'release-6.2' 2020-02-21 19:09:16 -08: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 Merge remote-tracking branch 'upstream/master' into features/icc 2020-02-04 10:26:18 -08:00
AutoPublicAddress.cpp net: Support IPv6 #963 2019-03-04 14:12:41 -08:00
BackupAgent.actor.h Start backup with a wait on all backup workers running 2020-01-31 19:29:09 -08:00
BackupAgentBase.actor.cpp Use Version instead of int64_t 2020-01-22 19:38:45 -08:00
BackupContainer.actor.cpp removed the fdbrpc version of platform.h 2020-02-28 14:56:10 -08:00
BackupContainer.h Ignore mutations large than the end version 2020-01-22 19:38:46 -08:00
BlobStore.actor.cpp Merge branch 'release-6.2' 2020-03-06 18:22:46 -08:00
BlobStore.h Added BlobStoreEndpoint::listBuckets(), renamed listBucket() and several related functions with similar names to listObjects() to avoid confusion and closer match what it actually does. Added a bytesDeleted output statistic to BlobStoreEndpoint::deleteRecursively. 2019-12-06 00:14:13 -08:00
CMakeLists.txt Cleanup old Failure Monitoring code 2020-01-07 15:53:32 -08:00
ClientLogEvents.h Addressed review comments 2019-07-22 12:17:05 -07:00
ClientWorkerInterface.h increase the priority of reboot and recruitment requests 2019-11-11 15:17:11 -08:00
ClusterInterface.h Our binaries that act like clients (fdbcli, backup and DR binaries) were reporting an unknown client version. Clients did not react if the list of supported versions changed. 2020-02-28 09:35:21 -08:00
CommitTransaction.h FastRestore:Apply clang-format against master 2020-02-18 16:41:59 -08:00
CoordinationInterface.h cache the serialization of clientDBInfo 2019-09-11 15:19:42 -07:00
DatabaseBackupAgent.actor.cpp pipelined fdbdr status 2020-02-25 15:48:00 -08:00
DatabaseConfiguration.cpp Address review comments 2020-02-05 10:33:51 -08:00
DatabaseConfiguration.h Rename backupLoggingEnabled as backupWorkerEnabled 2020-02-04 10:09:16 -08:00
DatabaseContext.h Merge branch 'release-6.2' 2020-03-06 18:22:46 -08:00
EventTypes.actor.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
FDBOptions.h Unknown options should not be used internally (i.e. underneath thread-safe API). This commit removes various checks that options exist and replaces them with an ASSERT. 2019-07-11 11:25:39 -07:00
FDBTypes.h Don't call operator explicitely 2020-02-04 11:03:43 -08:00
FileBackupAgent.actor.cpp Merge branch 'release-6.2' 2020-02-25 18:25:19 -08:00
HTTP.actor.cpp Fix whitespace 2019-07-11 17:35:37 -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 Resolved the review comment and renamed the functions 2020-02-12 14:57:40 -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 Merge branch 'release-6.2' 2020-02-21 19:09:16 -08:00
Knobs.h DD:Add trace for detailed relocate shard info 2020-02-29 13:45:10 -08:00
ManagementAPI.actor.cpp ConsistencyCheck:Fix failue due to address inconsistency between process and worker 2020-03-10 21:07:16 -07:00
ManagementAPI.actor.h Merge branch 'release-6.2' 2020-02-21 19:09:16 -08:00
MasterProxyInterface.h Merge branch 'release-6.2' 2020-02-25 18:25:19 -08: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 Merge branch 'release-6.2' 2020-03-06 18:22:46 -08:00
MonitorLeader.h Merge branch 'release-6.2' 2020-03-06 18:22:46 -08:00
MultiVersionAssignmentVars.h Merge release-5.1 into release-5.2 2018-05-30 09:09:55 -07:00
MultiVersionTransaction.actor.cpp Resolved the review comment and renamed the functions 2020-02-12 14:57:40 -08:00
MultiVersionTransaction.h Resolved the review comment and renamed the functions 2020-02-12 14:57:40 -08:00
MutationList.h Merge branch 'release-6.2' 2019-11-14 15:49:56 -08:00
NativeAPI.actor.cpp Merge branch 'release-6.2' 2020-03-06 18:22:46 -08:00
NativeAPI.actor.h Merge branch 'release-6.2' 2020-03-06 18:22:46 -08:00
Notified.h Version -> ValueType 2019-11-13 15:32:52 -08:00
RYWIterator.cpp FDB compiling with intel compiler 2019-06-20 09:29:01 -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 'release-6.2' 2020-02-21 19:09:16 -08:00
ReadYourWrites.h Resolved the review comment and renamed the functions 2020-02-12 14:57:40 -08:00
RestoreWorkerInterface.actor.h FastRestore:Introduce OOM protection 2020-02-26 14:09:18 -08:00
RunTransaction.actor.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Schemas.cpp Merge branch 'release-6.2' 2020-03-06 18:22:46 -08:00
Schemas.h Merge commit '3b2700d25334c53d13496ca16682642aac951beb' into track-server-request-latencies 2019-01-24 11:43:26 -08:00
SnapshotCache.h Use consistent "> 0" style for guarding memcpy 2019-12-16 08:40:35 -08:00
Status.h FDB compiling with intel compiler 2019-06-20 09:29:01 -07:00
StatusClient.actor.cpp Merge branch 'release-6.2' 2020-02-21 19:09:16 -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.h ConsistencyCheck:Fix failue due to address inconsistency between process and worker 2020-03-10 21:07:16 -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 Merge branch 'master' into mengxu/fast-restore-pipeline-PR 2020-02-18 14:49:52 -08:00
SystemData.h Merge branch 'master' into mengxu/fast-restore-pipeline-PR 2020-02-18 14:49:52 -08:00
TaskBucket.actor.cpp Comment out pseudo tag pop trace event 2020-01-31 19:29:09 -08:00
TaskBucket.h added logging to TaskBucket 2019-11-12 19:15:56 -08:00
ThreadSafeTransaction.actor.cpp Addressed AJ's review comments 2020-02-12 14:57:40 -08:00
ThreadSafeTransaction.h Resolved the review comment and renamed the functions 2020-02-12 14:57:40 -08: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 Fix another hardcoded priority. 2019-06-25 10:36:32 -07:00
VersionedMap.h Merging with Master. 2019-11-12 13:01:29 -08:00
WriteMap.h Addressed code review comments 2019-04-05 13:12:20 -07:00
fdbclient.vcxproj Cleanup old Failure Monitoring code 2020-01-07 15:53:32 -08: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
zipf.c added zipfian distribution to mako workload 2019-10-15 01:14:21 -07:00
zipf.h added zipfian distribution to mako workload 2019-10-15 01:14:21 -07:00