From 504e02a6c86416d02a5efae86c06f14db6a60a97 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Sat, 12 Dec 2020 18:06:44 -0600 Subject: [PATCH] graph-store: turn back on noisy duplicates --- pkg/arvo/app/graph-store.hoon | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkg/arvo/app/graph-store.hoon b/pkg/arvo/app/graph-store.hoon index 740770a28d..3ca80904eb 100644 --- a/pkg/arvo/app/graph-store.hoon +++ b/pkg/arvo/app/graph-store.hoon @@ -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 {}" - :: ?< (check-for-duplicates graph ~(key by nodes)) - ?: (check-for-duplicates graph ~(key by nodes)) - [~ state] + ~| "cannot add duplicate nodes to {}" + ?< (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]])