addressMap[normalizedAddress]->address may not equal to normalizedAddress
This commit is contained in:
parent
1759d5c8c4
commit
0ef09539a9
|
@ -1584,7 +1584,9 @@ public:
|
|||
virtual ProcessInfo* getProcessByAddress( NetworkAddress const& address ) {
|
||||
NetworkAddress normalizedAddress(address.ip, address.port, true, address.isTLS());
|
||||
ASSERT( addressMap.count( normalizedAddress ) );
|
||||
return addressMap[ normalizedAddress ];
|
||||
// NOTE: addressMap[normalizedAddress]->address may not equal to normalizedAddress
|
||||
// ASSERT_WE_THINK( addressMap[normalizedAddress]->address == normalizedAddress );
|
||||
return addressMap[normalizedAddress];
|
||||
}
|
||||
|
||||
virtual MachineInfo* getMachineByNetworkAddress(NetworkAddress const& address) {
|
||||
|
|
|
@ -1350,7 +1350,8 @@ struct ConsistencyCheckWorkload : TestWorkload
|
|||
TraceEvent("ConsistencyCheck_RebootProcess")
|
||||
.detail("Address",
|
||||
itr->interf.address()) // worker's primary address (i.e., the first address)
|
||||
.detail("ProcessAddress", p->address)
|
||||
.detail("ProcessPrimaryAddress", p->address)
|
||||
.detail("ProcessAddresses", p->addresses.toString())
|
||||
.detail("DataStoreID", id)
|
||||
.detail("Protected", g_simulator.protectedAddresses.count(itr->interf.address()))
|
||||
.detail("Reliable", p->isReliable())
|
||||
|
|
Loading…
Reference in New Issue