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
a3bafb1e
Commit
a3bafb1e
authored
Oct 13, 2017
by
apoorvnaik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2211: Dangling transaction issue within GraphBackedMetadataRepository
parent
27918145
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
GraphBackedMetadataRepository.java
...atlas/repository/graph/GraphBackedMetadataRepository.java
+2
-0
No files found.
repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepository.java
View file @
a3bafb1e
...
@@ -106,6 +106,7 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
...
@@ -106,6 +106,7 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
public
String
getIdAttributeName
()
{
public
String
getIdAttributeName
()
{
return
Constants
.
GUID_PROPERTY_KEY
;
return
Constants
.
GUID_PROPERTY_KEY
;
}
}
@Override
@Override
public
String
getVersionAttributeName
()
{
public
String
getVersionAttributeName
()
{
return
Constants
.
VERSION_PROPERTY_KEY
;
return
Constants
.
VERSION_PROPERTY_KEY
;
...
@@ -159,6 +160,7 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
...
@@ -159,6 +160,7 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
}
}
@Override
@Override
@GraphTransaction
public
ITypedReferenceableInstance
getEntityDefinition
(
String
guid
)
throws
RepositoryException
,
EntityNotFoundException
{
public
ITypedReferenceableInstance
getEntityDefinition
(
String
guid
)
throws
RepositoryException
,
EntityNotFoundException
{
return
getEntityDefinitions
(
guid
).
get
(
0
);
return
getEntityDefinitions
(
guid
).
get
(
0
);
}
}
...
...
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