----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29042/ -----------------------------------------------------------
Review request for sentry, bc Wong, Lenni Kuff, Prasad Mujumdar, and Sravya Tirukkovalur. Repository: sentry Description ------- This patch includes a base SentryStore Decorator (PersistentSentryStore) that can be used to log write operations on a SentryStore. This can be coupled with the InMemSentryStore to support Service restarts. It patch also inclues an implementations (and associated testcases) for this Decorator 1) SentryStoreWithFileLog logs all operations to a configured log directory. This is currently implemented as a write-behind log. it writes the entry to the log if the record has been successfully accepted by the backing SentryStore. More decription on the JIRA : issues.apache.org/jira/browse/SENTRY-567 Diffs ----- sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/FileLog.java PRE-CREATION sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/PersistentSentryStore.java PRE-CREATION sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStoreWithFileLog.java PRE-CREATION sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/service/persistent/TestFileLog.java PRE-CREATION sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStoreWithFileLog.java PRE-CREATION Diff: https://reviews.apache.org/r/29042/diff/ Testing ------- Thanks, Arun Suresh
