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


Ship it!




Ship It!

- Vamsee Yarlagadda


On June 7, 2017, 5:17 p.m., kalyan kumar kalvagadda wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59887/
> -----------------------------------------------------------
> 
> (Updated June 7, 2017, 5:17 p.m.)
> 
> 
> Review request for sentry, Alexander Kolbasov, Brian Towles, Hao Hao, Na Li, 
> Sergio Pena, Vamsee Yarlagadda, and Vadim Spector.
> 
> 
> Bugs: SENTRY-1794
>     https://issues.apache.org/jira/browse/SENTRY-1794
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> There were checks like these while processing the alter table and alter 
> partition notifications which is wrong. This was causing incorrect behavior.
>             } else if ((oldDbName == newDbName) &&
>               (oldTableName == newTableName) &&
>               (oldLocation == newLocation)) {
> Because of such invalid condition check's notification ID is not persisted in 
> cases where alter table and alter partition notifications are not processed.
> 
> 
> Diffs
> -----
> 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
>  cb05a84 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/HMSFollower.java
>  d410a6c 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/NotificationProcessor.java
>  de8e2f7 
>   
> sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/TestHMSFollower.java
>  74a5afb 
> 
> 
> Diff: https://reviews.apache.org/r/59887/diff/1/
> 
> 
> Testing
> -------
> 
> Added new tests for make sure that this issue is not seen. 
> There are upstream tests that are failing. Working on them
> 
> 
> Thanks,
> 
> kalyan kumar kalvagadda
> 
>

Reply via email to