Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
6fbda5bc
Commit
6fbda5bc
authored
Aug 20, 2019
by
Ashutosh Mestry
Committed by
nixonrodrigues
Aug 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3381: Addressed ConcurrentPatchProcessor not calling commit.
Signed-off-by:
nixonrodrigues
<
nixon@apache.org
>
parent
b96ce272
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ConcurrentPatchProcessor.java
...he/atlas/repository/patches/ConcurrentPatchProcessor.java
+1
-0
EntityGraphMapper.java
...he/atlas/repository/store/graph/v2/EntityGraphMapper.java
+4
-3
No files found.
repository/src/main/java/org/apache/atlas/repository/patches/ConcurrentPatchProcessor.java
View file @
6fbda5bc
...
...
@@ -222,6 +222,7 @@ public abstract class ConcurrentPatchProcessor {
try
{
individualItemProcessor
.
processVertexItem
(
vertexId
,
vertex
,
typeName
,
entityType
);
doCommit
();
}
catch
(
AtlasBaseException
e
)
{
LOG
.
error
(
"Error processing: {}"
,
vertexId
,
e
);
}
...
...
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
View file @
6fbda5bc
...
...
@@ -1697,11 +1697,12 @@ public class EntityGraphMapper {
}
public
void
updateClassificationTextAndNames
(
AtlasVertex
vertex
)
throws
AtlasBaseException
{
if
(
StringUtils
.
isEmpty
(
vertex
.
getProperty
(
CLASSIFICATION_NAMES_KEY
,
String
.
class
)))
{
return
;
}
String
guid
=
GraphHelper
.
getGuid
(
vertex
);
AtlasEntity
entity
=
instanceConverter
.
getAndCacheEntity
(
guid
);
if
(
CollectionUtils
.
isEmpty
(
entity
.
getClassifications
()))
return
;
List
<
String
>
classificationNames
=
new
ArrayList
<>();
List
<
String
>
propagatedClassificationNames
=
new
ArrayList
<>();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment