Project

General

Profile

Bug #6955

D1Client returns MNode instances with no nodeId set

Added by Ben Leinfelder over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_libclient_java
Target version:
Start date:
2015-03-24
Due date:
% Done:

100%

Story Points:
Sprint:

Description

I was trying to figure out why I had blank authoritativeMemberNode values in my SystemMetata and tracked it down D1Client's node building mechanism. It looks like the nodeRef used to look up and return an MNode implementation is not being set in the returned MNode. So MNode.getNodeId(() returns null. It would be great if it knew its own nodeId without making a call to (itself) with getCapabilities.

Associated revisions

Revision 15727
Added by Rob Nahf over 9 years ago

fixes #6955: added code to set the NodeID of D1Nodes in NodeListNodeLocator if it's null.

Revision 15727
Added by Rob Nahf over 9 years ago

fixes #6955: added code to set the NodeID of D1Nodes in NodeListNodeLocator if it's null.

History

#1 Updated by Rob Nahf over 9 years ago

  • Target version changed from CCI-2.0.0 to CLJ-2.0.0

#2 Updated by Rob Nahf over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

added code to v1 and v2 NodeListLocator classes that sets the NodeID to D1Nodes when it's available. added unit tests.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)