This is an automated email from the ASF dual-hosted git repository. nixon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/atlas.git
commit c99e15b3711e0aebb4c1db086553f915ecd471d1 Author: Pinal Shah <pinal.s...@freestoneinfotech.com> AuthorDate: Thu Jan 30 15:40:06 2020 +0530 ATLAS-3601 :- No LABEL_DELETE event is audited when last label is deleted. --- .../atlas/repository/audit/AbstractStorageBasedAuditRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/audit/AbstractStorageBasedAuditRepository.java b/repository/src/main/java/org/apache/atlas/repository/audit/AbstractStorageBasedAuditRepository.java index f6b741b..0deb729 100644 --- a/repository/src/main/java/org/apache/atlas/repository/audit/AbstractStorageBasedAuditRepository.java +++ b/repository/src/main/java/org/apache/atlas/repository/audit/AbstractStorageBasedAuditRepository.java @@ -158,7 +158,7 @@ public abstract class AbstractStorageBasedAuditRepository implements Service, En protected byte[] getKey(String id, Long ts, int index) { assert id != null : "entity id 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); }