Ticket #13 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

bootstraps in Network.joinNodesNormally

Reported by: jordi Owned by: jordi
Priority: major Milestone: 3.1
Component: planetsim Version:
Keywords: None Cc: None

Description

Received a message in Planetsim-devel list from Max:

Hi,
I think I found a bug in joinNodesNormally in the NetworkImpl. I looks 
like the intention of the developers was that a new node should join to 
a randomly chosen node, but the the implimention is kind of strange, so 
the boots Vector contains only several references to the first created 
node/bootstrap and because of that all nodes join to the same bootstrap.

Max

Change History

Changed 2 years ago by jordi

  • status changed from new to closed
  • resolution set to fixed

Changed 2 years ago by jordi

Solution for this bug: in row 272 (planet.generic.commonapi.NetworkImpl.java):

    boots.add(toJoin.getLocalHandle());

Changed 1 year ago by anonymous

  • cc None added
  • keywords None added; bug Network removed
  • summary changed from bootstraps in Network.joinNodesNormally to None
  • version deleted
  • priority changed from major to trivial

Changed 1 year ago by jordi

  • priority changed from trivial to major
  • summary changed from None to bootstraps in Network.joinNodesNormally
Note: See TracTickets for help on using tickets.