From abcb91fb19e0a9ec951db694342ff75be7ef7c47 Mon Sep 17 00:00:00 2001 From: MiccWan Date: Mon, 4 Apr 2022 16:04:10 +0800 Subject: [PATCH] add more detailed comment --- dbux-data/src/impl/indexes/ParentTracesInRealContextIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbux-data/src/impl/indexes/ParentTracesInRealContextIndex.js b/dbux-data/src/impl/indexes/ParentTracesInRealContextIndex.js index d306f04f5..a2c6583ed 100644 --- a/dbux-data/src/impl/indexes/ParentTracesInRealContextIndex.js +++ b/dbux-data/src/impl/indexes/ParentTracesInRealContextIndex.js @@ -44,7 +44,7 @@ export default class ParentTracesInRealContextIndex extends CollectionIndex { } /** - * NOTE: non-first virtual contexts have no `parentTraceId` + * NOTE: this will filter out non-first virtual contexts, since they have no `parentTraceId` */ if (parentTraceId && !this.addedTraces.has(parentTraceId)) { this.addEntryById(parentTraceId);