-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64820/
-----------------------------------------------------------

(Updated Jan. 4, 2018, 4:40 p.m.)


Review request for sentry, Alexander Kolbasov, Brian Towles, kalyan kumar 
kalvagadda, Na Li, Sergio Pena, and Vadim Spector.


Repository: sentry


Description (updated)
-------

After steady state, a full snapshot is triggered by mainly 2 cases

Sentry is "ahead"
Sentry is behind
Case 1 has a dependency on NOTIFICATION_SEQUENCE table. This is not reliable as 
it was observed that sometimes NOTIFICATION_SEQUENCE and NOTIFICATION_LOG are 
not in sync. As a result of this unnecessary full snapshots can be triggered.
The solution is to eliminate this check. Sentry can never be ahead of HMS.


Diffs
-----

  
sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/ServiceConstants.java
 a9afb151a 
  
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/HMSFollower.java
 aa1b6a31c 
  
sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/TestHMSFollower.java
 edde886a7 


Diff: https://reviews.apache.org/r/64820/diff/3/


Testing
-------

mvn -f sentry-provider/sentry-provider-db/pom.xml test


Thanks,

Arjun Mishra

Reply via email to