Removed dead code

This commit is contained in:
sfc-gh-tclinkenbeard 2020-07-04 00:04:32 -07:00
parent 0c39006b07
commit dd5cd762a8
5 changed files with 0 additions and 15 deletions

View File

@ -971,7 +971,6 @@ void BlobStoreEndpoint::setAuthHeaders(std::string const &verb, std::string cons
date = dateBuf;
std::string msg;
StringRef x;
msg.append(verb);
msg.append("\n");
auto contentMD5 = headers.find("Content-MD5");

View File

@ -1435,10 +1435,6 @@ Reference<Peer> FlowTransport::sendUnreliable( ISerializeSource const& what, con
return peer;
}
int FlowTransport::getEndpointCount() {
return -1;
}
Reference<AsyncVar<bool>> FlowTransport::getDegraded() {
return self->degraded;
}

View File

@ -215,9 +215,6 @@ public:
Reference<Peer> sendUnreliable( ISerializeSource const& what, const Endpoint& destination, bool openConnection );// { cancelReliable(sendReliable(what,destination)); }
int getEndpointCount();
// for tracing only
bool incompatibleOutgoingConnectionsPresent();
static FlowTransport& transport() { return *static_cast<FlowTransport*>((void*) g_network->global(INetwork::enFlowTransport)); }

View File

@ -152,12 +152,6 @@ struct DBCoreState {
template <class Archive>
void serialize(Archive& ar) {
//FIXME: remove when we no longer need to test upgrades from 4.X releases
if(g_network->isSimulated() && !ar.protocolVersion().hasMultiGenerationTLog()) {
TraceEvent("ElapsedTime").detail("SimTime", now()).detail("RealTime", 0).detail("RandomUnseed", 0);
flushAndExit(0);
}
ASSERT(ar.protocolVersion().hasMultiGenerationTLog());
if(ar.protocolVersion().hasTagLocality()) {
serializer(ar, tLogs, logRouterTags, oldTLogData, recoveryCount, logSystemType);

View File

@ -1944,7 +1944,6 @@ int main(int argc, char* argv[]) {
if (role==Simulation){
printf("Unseed: %d\n", unseed);
printf("Elapsed: %f simsec, %f real seconds\n", now()-startNow, timer()-start);
//cout << format(" %d endpoints left\n", transport().getEndpointCount());
}
//IFailureMonitor::failureMonitor().address_info.clear();