[
https://issues.apache.org/jira/browse/ATLAS-5375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108187#comment-18108187
]
ASF subversion and git services commented on ATLAS-5375:
--------------------------------------------------------
Commit df4d8248780a2d1d516400603166805fa645d7fb in atlas's branch
refs/heads/master from sheetalshah1007
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=df4d824878 ]
ATLAS-5375: Fix stale PUT response for /api/atlas/v2/relationship block/unblock
propagation (#729)
* ATLAS-5375: Fix stale PUT response for /api/atlas/v2/relationship
block/unblock propagation
* ATLAS-5375: Review fixes — Step 4 comment and null guard for task queue
> Fix stale PUT response for /api/atlas/v2/relationship block/unblock
> propagation
> -------------------------------------------------------------------------------
>
> Key: ATLAS-5375
> URL: https://issues.apache.org/jira/browse/ATLAS-5375
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Affects Versions: 3.0.0
> Reporter: Sheetal Shah
> Assignee: Sheetal Shah
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> *Summary*
> {{PUT /api/atlas/v2/relationship}} returns HTTP 200 with a stale relationship
> body. Block/unblock runs in async task
> {{CLASSIFICATION_PROPAGATION_RELATIONSHIP_UPDATE}} after the response, so the
> PUT body does not match the request. GET after ~15–30s shows the correct
> state.
> *Repro (brief)*
> # Propagate tag on source table via lineage edge.
> # PUT block with {{blockedPropagatedClassifications: [
> {tag}
> ]}} → wait → verify downstream.
> # PUT unblock with {{blockedPropagatedClassifications: []}} → PUT body still
> shows old blocked list; GET after wait is correct.
> *Root cause*
> Response built from graph before deferred task runs; task JSON may have null
> {{{}propagateTags{}}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)