Project

General

Profile

Bug #7396

MN.updateSystemMetadata with null serialVersion yields ServiceFailure

Added by Andrei Buium about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2015-09-30
Due date:
% Done:

100%

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

Description

Calling MN.updateSystemMetadata() with a null serialVersion in the system metadata yields the exception:

Expected no exception. Got: ServiceFailure: 4862: CONCURRENT_MAP_PUT failed at Address[127.0.0.1]:5701 because of an exception thrown at Address[127.0.0.1]:5701 [for host PUT https://mn-dev-ucsb-2.test.dataone.org/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_NoSerialVersion_201527375010111; FilePart:sysmeta = /tmp/mmp.output.4161232372567455941.tmp (953 bytes); ]

See jenkins test: [[[http://jenkins-1.dataone.org/jenkins/view/Integration%20Testing/job/d1_integration_DEV2_mn_v2/org.dataone$d1_integration/13/testReport/junit/org.dataone.integration.it.apiTests/MNStorageV2IT/testUpdateSystemMetadata_NoSerialVersion/]]]
This was run against the DEV2 environment MNs.

History

#1 Updated by Jing Tao about 9 years ago

  • Target version set to CCI-2.0.0

#2 Updated by Jing Tao about 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

Add the code to check if the serialVersion object is null before it is saved to the db

#3 Updated by Jing Tao about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Andrei tested it and it worked.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)