From 335335fe1b1bcbe4685c6fd693d7fddab11c3cf5 Mon Sep 17 00:00:00 2001 From: spasserby <569078986@qq.com> Date: Mon, 25 Sep 2023 16:56:34 +0800 Subject: [PATCH] disable unexpected count --- src/core/graph.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/core/graph.h b/src/core/graph.h index 093331c20c..93144d424e 100644 --- a/src/core/graph.h +++ b/src/core/graph.h @@ -401,16 +401,18 @@ class Graph { if (!it.IsValid()) { int64_t count = delta; if (count < 0) { - FMA_ERR() << "Unexpected count value, is_vertex: " << is_vertex - << ", LabelId: " << lid << ", count: " << count; + // todo(kehuang): fix lgraph_import v2 + // FMA_ERR() << "Unexpected count value, is_vertex: " << is_vertex + // << ", LabelId: " << lid << ", count: " << count; } meta_table_->AddKV(txn, k, Value::ConstRef(count)); } else { int64_t count = it.GetValue().AsType(); count += delta; if (count < 0) { - FMA_ERR() << "Unexpected count value, is_vertex: " << is_vertex - << ", LabelId: " << lid << ", count: " << count; + // todo(kehuang): fix lgraph_import v2 + // FMA_ERR() << "Unexpected count value, is_vertex: " << is_vertex + // << ", LabelId: " << lid << ", count: " << count; } it.SetValue(Value::ConstRef(count)); }