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
c99e15b3
Commit
c99e15b3
authored
5 years ago
by
Pinal Shah
Committed by
nixonrodrigues
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3601 :- No LABEL_DELETE event is audited when last label is deleted.
parent
75e678da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
AbstractStorageBasedAuditRepository.java
...repository/audit/AbstractStorageBasedAuditRepository.java
+1
-1
No files found.
repository/src/main/java/org/apache/atlas/repository/audit/AbstractStorageBasedAuditRepository.java
View file @
c99e15b3
...
@@ -158,7 +158,7 @@ public abstract class AbstractStorageBasedAuditRepository implements Service, En
...
@@ -158,7 +158,7 @@ public abstract class AbstractStorageBasedAuditRepository implements Service, En
protected
byte
[]
getKey
(
String
id
,
Long
ts
,
int
index
)
{
protected
byte
[]
getKey
(
String
id
,
Long
ts
,
int
index
)
{
assert
id
!=
null
:
"entity id can't be null"
;
assert
id
!=
null
:
"entity id can't be null"
;
assert
ts
!=
null
:
"timestamp can't be null"
;
assert
ts
!=
null
:
"timestamp can't be null"
;
String
keyStr
=
id
+
FIELD_SEPARATOR
+
ts
+
FIELD_SEPARATOR
+
index
;
String
keyStr
=
id
+
FIELD_SEPARATOR
+
ts
+
FIELD_SEPARATOR
+
index
+
FIELD_SEPARATOR
+
System
.
currentTimeMillis
()
;
return
Bytes
.
toBytes
(
keyStr
);
return
Bytes
.
toBytes
(
keyStr
);
}
}
...
...
This diff is collapsed.
Click to expand it.
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