Changeset 5661
- Timestamp:
- Aug 4, 2009, 2:36:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5658 r5661 306 306 // decapsulate message 307 307 Discovery* dmsg = m->decapsulate<Discovery> (); 308 logging_debug("received discovery message with" 309 << " dest=" << m->getDestination().toString() 308 logging_info("received discovery message with" 309 << " src=" << m->getSource().toString() 310 << " dst=" << m->getDestination().toString() 310 311 << " ttl=" << (int)dmsg->getTTL() 311 312 << " type=" << (int)dmsg->getFollowType() … … 331 332 cmsg_s.encapsulate(&dmsg_s); 332 333 route_item* succ_item = table->get(*table->get_successor()); 333 logging_ debug("split: routing discovery message to successor "334 logging_info("Discovery split: routing discovery message to successor " 334 335 << succ_item->id.toString() ); 335 336 send(&cmsg_s, succ_item->info); … … 344 345 route_item* pred_item = table->get( 345 346 *table->get_predesessor()); 346 logging_ debug("split: routing discovery message to predecessor "347 logging_info("Discovery split: routing discovery message to predecessor " 347 348 << pred_item->id.toString() ); 348 349 send(&cmsg_p, pred_item->info); … … 437 438 // remove orphan links 438 439 orphan_removal_counter++; 439 if (orphan_removal_counter >= 2) {440 if (orphan_removal_counter <0 || orphan_removal_counter >= 2) { 440 441 logging_info("Running orphan removal"); 441 442 orphan_removal_counter = 0;
Note:
See TracChangeset
for help on using the changeset viewer.