[ 
https://issues.apache.org/jira/browse/ATLAS-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912905#comment-16912905
 ] 

ASF subversion and git services commented on ATLAS-3381:
--------------------------------------------------------

Commit e9f55d35276279beb01546f6cf0c0248f5506ac2 in atlas's branch 
refs/heads/branch-2.0 from Ashutosh Mestry
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=e9f55d3 ]

ATLAS-3381: Atlas Patch Handler: Patch Handlers Not Committing Changes #2 
Improved check to detect classification presence

Signed-off-by: Sarath Subramanian <sar...@apache.org>
(cherry picked from commit 0d5c22298cacdf95531757048fd4b1596ed3b044)


> Atlas Patch Handler: Patch Handlers Not Committing Changes
> ----------------------------------------------------------
>
>                 Key: ATLAS-3381
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3381
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.0.0, trunk, 3.0.0
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>            Priority: Major
>             Fix For: 2.1.0, 3.0.0
>
>         Attachments: 
> ATLAS-3381-Addressed-ConcurrentPatchProcessor-not-ca.patch, 
> ATLAS-3381-ClassificationTextPatch.-Improved-conditi.patch
>
>
> ***Background*
> Atlas patch handler is a framework that applies changes made to the structure 
> of the data. Latest update to the _ConcurrentPatchProcessor_ is missing the 
> commit statement. This causes changes not to get applied.
> *Solution*
> Since _ConcurrentPatchHandler_ uses the _PC_ framework, calling the 
> _ConcurrentPatchProcessor_.doCommit after 
> _individualItemProcessor.processVertexItem_ will address the problem.
> *Impact*
> The _commit_ is finally called when the data is exhausted, only that until 
> then the data is held in memory. This may be OK for really small data but 
> does not work for medium to large size data. The result is out of memory 
> exception, since _JanusGraph_ holds all these changes in memory waiting for 
> commit to be called.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to