Skip to content

Commit

Permalink
Merge pull request #4387 from atlanhq/cassandra_optimisation_fix
Browse files Browse the repository at this point in the history
fix: not call prefetch without flag
  • Loading branch information
sriram-atlan authored Mar 6, 2025
2 parents a1d977e + 618686f commit 02ac3df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public AtlasObjectId toAtlasObjectId(AtlasVertex entityVertex) throws AtlasBaseE
referenceVertexProperties = preloadProperties(entityVertex, entityType, relationAttributes, false);
}
for (AtlasAttribute attribute : entityType.getUniqAttributes().values()) {
Object attrValue = getVertexAttributePreFetchCache(entityVertex, attribute, referenceVertexProperties);
Object attrValue = getVertexAttribute(entityVertex, attribute);

if (attrValue != null) {
uniqueAttributes.put(attribute.getName(), attrValue);
Expand Down

0 comments on commit 02ac3df

Please sign in to comment.