Issue 17875
Pro parte usages need several nub ids assigned
17875
Reporter: mdoering
Assignee: mdoering
Type: Bug
Summary: Pro parte usages need several nub ids assigned
Priority: Blocker
Resolution: Fixed
Status: Resolved
Created: 2015-10-14 19:20:49.116
Updated: 2016-02-11 11:38:23.324
Resolved: 2015-10-15 11:26:46.692
Description: The intermediate neo dbs for the nub and indexed checklists contain a single neo4j node for a pro parte synonym that has multiple accepted parents. In the postgres db model these get expanded into individual name_usage records and need to have their own primary key.
For indexed checklists thats no problem as the ids get assigned during inserts from the regular pg sequence.
For nub usages the ids should all exist in advance to preserve stable ids over time. A single neo4j pro parte synonym must therefore have multiple ids assigned. Use the additional PROPARTE_SYNONYM relationship to store the usageKey to be read during imports!]]>
Author: mdoering@gbif.org
Comment: https://github.com/gbif/checklistbank/commit/008fe6d6fae1ccf1421235a85c1ebd72ec7ce13a
Created: 2015-10-15 11:26:41.515
Updated: 2015-10-15 11:26:41.515