You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Sergio Pena via Review Board <no...@reviews.apache.org> on 2018/05/02 17:48:59 UTC

Re: Review Request 66792: SENTRY-1949: Old full snapshots are never cleaned up

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



Na Li It might be useful if we follow some ideas from this blog about how to delete large number of rows from:

https://www.brentozar.com/archive/2018/04/how-to-delete-just-some-rows-from-a-really-big-table/

- Sergio Pena


On April 27, 2018, 3:57 a.m., Na Li wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66792/
> -----------------------------------------------------------
> 
> (Updated April 27, 2018, 3:57 a.m.)
> 
> 
> Review request for sentry, Alexander Kolbasov, Arjun Mishra, kalyan kumar kalvagadda, and Sergio Pena.
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> Add function to periodically remove the old path snapshot
> 
> 
> Diffs
> -----
> 
>   sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java 8ac3c0d 
>   sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/SentryService.java 4236c02 
>   sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java a66d91e 
>   sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java b410027 
> 
> 
> Diff: https://reviews.apache.org/r/66792/diff/2/
> 
> 
> Testing
> -------
> 
> unit tests in TestSentryStore.
> 
> 
> Thanks,
> 
> Na Li
> 
>