Removed dead code
This commit is contained in:
parent
0c39006b07
commit
dd5cd762a8
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)); }
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue