fix merge conflict
This commit is contained in:
parent
16467262f0
commit
64ac66c1d0
|
@ -158,13 +158,9 @@ public:
|
|||
checkpoint =
|
||||
PublicRequestStream<struct GetCheckpointRequest>(getValue.getEndpoint().getAdjustedEndpoint(19));
|
||||
fetchCheckpoint =
|
||||
<<<<<<< variant A
|
||||
PublicRequestStream<struct FetchCheckpointRequest>(getValue.getEndpoint().getAdjustedEndpoint(20));
|
||||
>>>>>>> variant B
|
||||
RequestStream<struct FetchCheckpointRequest>(getValue.getEndpoint().getAdjustedEndpoint(20));
|
||||
fetchCheckpointKeyValues = RequestStream<struct FetchCheckpointKeyValuesRequest>(
|
||||
fetchCheckpointKeyValues = PublicRequestStream<struct FetchCheckpointKeyValuesRequest>(
|
||||
getValue.getEndpoint().getAdjustedEndpoint(21));
|
||||
======= end
|
||||
}
|
||||
} else {
|
||||
ASSERT(Ar::isDeserializing);
|
||||
|
|
|
@ -445,7 +445,7 @@ private:
|
|||
TraceEvent(SevError, "LeakedConnection", self->dbgid)
|
||||
.error(connection_leaked())
|
||||
.detail("MyAddr", self->process->address)
|
||||
.detail("IsPublic", self->process->address.isPublic())
|
||||
.detail("IsPublic", self->process->address.isPublic())
|
||||
.detail("PeerAddr", self->peerEndpoint)
|
||||
.detail("PeerId", self->peerId)
|
||||
.detail("Opened", self->opened);
|
||||
|
|
|
@ -32,9 +32,7 @@ class WorkloadProcessState {
|
|||
Future<Void> processActor;
|
||||
Promise<Void> init;
|
||||
|
||||
WorkloadProcessState(int clientId) : clientId(clientId) {
|
||||
processActor = processStart(this);
|
||||
}
|
||||
WorkloadProcessState(int clientId) : clientId(clientId) { processActor = processStart(this); }
|
||||
|
||||
~WorkloadProcessState() {
|
||||
TraceEvent("ShutdownClientForWorkload", id).log();
|
||||
|
@ -64,17 +62,19 @@ class WorkloadProcessState {
|
|||
auto locality = LocalityData(Optional<Standalone<StringRef>>(), newZoneId, newZoneId, parent->locality.dcId());
|
||||
auto dataFolder = joinPath(popPath(parent->dataFolder), deterministicRandom()->randomUniqueID().toString());
|
||||
platform::createDirectory(dataFolder);
|
||||
TraceEvent("StartingClientForWorkload", self->id).detail("Name", self->processName).detail("Address", self->childAddress);
|
||||
TraceEvent("StartingClientForWorkload", self->id)
|
||||
.detail("Name", self->processName)
|
||||
.detail("Address", self->childAddress);
|
||||
self->childProcess = g_simulator.newProcess(self->processName.c_str(),
|
||||
self->childAddress,
|
||||
1,
|
||||
parent->address.isTLS(),
|
||||
1,
|
||||
locality,
|
||||
ProcessClass(ProcessClass::TesterClass, ProcessClass::AutoSource),
|
||||
dataFolder.c_str(),
|
||||
parent->coordinationFolder,
|
||||
parent->protocolVersion);
|
||||
self->childAddress,
|
||||
1,
|
||||
parent->address.isTLS(),
|
||||
1,
|
||||
locality,
|
||||
ProcessClass(ProcessClass::TesterClass, ProcessClass::AutoSource),
|
||||
dataFolder.c_str(),
|
||||
parent->coordinationFolder,
|
||||
parent->protocolVersion);
|
||||
self->childProcess->excludeFromRestarts = true;
|
||||
wait(g_simulator.onProcess(self->childProcess, TaskPriority::DefaultYield));
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue