graph-store: turn back on noisy duplicates

This commit is contained in:
Logan Allen 2020-12-12 18:06:44 -06:00
parent 522d4b72b3
commit 504e02a6c8

View File

@ -297,13 +297,8 @@
|^
=/ [=graph:store mark=(unit mark:store)]
(~(got by graphs) resource)
:: TODO: turn back on assertion once issue with 8-10x facts being
:: issued is resolved. Too noisy for now
::
:: ~| "cannot add duplicate nodes to {<resource>}"
:: ?< (check-for-duplicates graph ~(key by nodes))
?: (check-for-duplicates graph ~(key by nodes))
[~ state]
~| "cannot add duplicate nodes to {<resource>}"
?< (check-for-duplicates graph ~(key by nodes))
=/ =update-log:store (~(got by update-logs) resource)
=. update-log
(put:orm-log update-log time [%0 time [%add-nodes resource nodes]])