Project

General

Profile

Task #7538

Bug #7523: D1Client no longer updates stale NodeList

look at nodeFactory in how it builds mock CNodes

Added by Rob Nahf over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_libclient_java
Start date:
2015-12-10
Due date:
% Done:

0%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Because of the nature of using a bootstrap CN to pull the nodeList that doesn't get called from getCN (a new CNode object is created for that), using an in-memory mock CN doesn't work, because CN state is "lost" because one doesn't always get the same CN.

maybe implement a singleton pattern within the mock CN...?

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)