Project

General

Profile

Task #7389

V2 D1Object fails to download V1 content

Added by Chris Jones about 6 years ago. Updated about 6 years ago.

Status:
Testing
Priority:
Normal
Assignee:
Category:
d1_libclient_java
Target version:
Start date:
2015-09-28
Due date:
% Done:

50%

Story Points:
Sprint:

Description

During testing of services in the mixed V1/V2 DEV2 environment, D1Object fails to download content listed in the ObjectLocationList from a V1-only Member Node. The symptom is a null pointer exception when trying to close a non-existent temporary file where the bytes of the object should have been located. Fix download() to call V1 endpoints on V1-only MNs.

Associated revisions

Revision 16467
Added by Chris Jones about 6 years ago

Fix D1Object.download() to only call REST endpoints that are available on the source MN. In this case, when calling get(), determine if V2 is supported. If not, fall back to V1. refs #7389

Revision 16467
Added by Chris Jones about 6 years ago

Fix D1Object.download() to only call REST endpoints that are available on the source MN. In this case, when calling get(), determine if V2 is supported. If not, fall back to V1. refs #7389

History

#1 Updated by Chris Jones about 6 years ago

  • Status changed from In Progress to Testing
  • % Done changed from 30 to 50

I've changed download() to talk V1 if needed.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)