Issue 17214
Registry updates duplicating the endpoints
17214
Reporter: trobertson
Type: Bug
Summary: Registry updates duplicating the endpoints
Priority: Blocker
Status: Open
Created: 2015-02-12 11:30:50.925
Updated: 2015-02-24 16:22:05.405
Description: Please see http://api.gbif.org/v1/dataset/854f70cc-55e3-4af2-9417-0f47d6c7902d
The situation was that everything was correct, and then the IPT republished. All endpoints are duplicated. Here is the snippet:
{code}
endpoints: [
{
key: 61694,
type: "DWC_ARCHIVE",
url: "http://ipt.vertnet.org:8080/ipt/archive.do?r=ttu_mammals",
createdBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
modifiedBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
created: "2015-02-11T19:29:42.135+0000",
modified: "2015-02-11T19:29:42.135+0000",
machineTags: [ ]
},
{
key: 61693,
type: "DWC_ARCHIVE",
url: "http://ipt.vertnet.org:8080/ipt/archive.do?r=ttu_mammals",
createdBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
modifiedBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
created: "2015-02-11T19:29:41.996+0000",
modified: "2015-02-11T19:29:41.996+0000",
machineTags: [ ]
},
{
key: 61692,
type: "EML",
url: "http://ipt.vertnet.org:8080/ipt/eml.do?r=ttu_mammals",
createdBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
modifiedBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
created: "2015-02-11T19:29:41.932+0000",
modified: "2015-02-11T19:29:41.932+0000",
machineTags: [ ]
},
{
key: 61691,
type: "EML",
url: "http://ipt.vertnet.org:8080/ipt/eml.do?r=ttu_mammals",
createdBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
modifiedBy: "acac73b0-055d-11d8-b84f-b8a03c50a862",
created: "2015-02-11T19:29:41.763+0000",
modified: "2015-02-11T19:29:41.763+0000",
machineTags: [ ]
}
],
{code}
Note the timestamps: the duplicates are within 200msecs of each other, indicating that they are *unlikely* to be the result of 2 HTTP requests, but rather something more like a method being executed twice.]]>
Author: trobertson@gbif.org
Created: 2015-02-12 16:55:21.331
Updated: 2015-02-12 16:55:21.331
There are no registry-ws logs at 2015-02-11T19:29:41 (the created timestamp above) to indicate any issues.
There is an error at 18:02 and then nothing until 20:29