Skip to content

Commit

Permalink
Merge pull request #2418 from atlanhq/nb/hasLineage
Browse files Browse the repository at this point in the history
DG-128 Logging
  • Loading branch information
nikhilbonte21 authored Oct 25, 2023
2 parents dee70fe + e31dc25 commit 0804f8f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2497,8 +2497,10 @@ private void repairHasLineageForAsset(AtlasHasLineageRequest request) {
}

if (!foundActiveRel) {
metricRecorder = RequestContext.get().startMetricRecord("repairHasLineageForRequiredAsset");
AtlasGraphUtilsV2.setEncodedProperty(assetVertex, HAS_LINEAGE, false);
LOG.info("repairHasLineage: repairHasLineageForAsset: Repaired {}", request.getAssetGuid());
RequestContext.get().endMetricRecord(metricRecorder);
}
}
}
Expand Down

0 comments on commit 0804f8f

Please sign in to comment.