> On July 12, 2017, 6:42 p.m., Na Li wrote:
> > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
> > Lines 610 (patched)
> > <https://reviews.apache.org/r/60669/diff/3/?file=1775010#file1775010line610>
> >
> >     Do you want to output the same info as in line 587?
> >     
> >     LOGGER.info(String.format("Purged {}%d of %s to changeID=%d",
> >             numDeleted, cls.getSimpleName(), maxIDDeleted));

It will be better if use similar format for logging similar data. I used the 
same message used in line 587 for the same purpose.


- kalyan kumar


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


On July 12, 2017, 6:09 p.m., kalyan kumar kalvagadda wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60669/
> -----------------------------------------------------------
> 
> (Updated July 12, 2017, 6:09 p.m.)
> 
> 
> Review request for sentry, Alexander Kolbasov, Brian Towles, Hao Hao, Na Li, 
> Sergio Pena, Vamsee Yarlagadda, and Vadim Spector.
> 
> 
> Bugs: SENTRY-1762
>     https://issues.apache.org/jira/browse/SENTRY-1762
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> SENTRY_HMS_NOTIFICATION_ID table will be updated with the ID's for every 
> notification that sentry processes. This data grows with time.
> we need to periodically purge this data as it will effect the performance.
> 
> 
> Diffs
> -----
> 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
>  350c922 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/SentryService.java
>  322197b 
>   
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
>  193c611 
>   
> sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java
>  395cba6 
> 
> 
> Diff: https://reviews.apache.org/r/60669/diff/3/
> 
> 
> Testing
> -------
> 
> Added new tests to test the code change added.
> 
> 
> Thanks,
> 
> kalyan kumar kalvagadda
> 
>

Reply via email to