You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2017/06/17 21:29:00 UTC
[jira] [Created] (SENTRY-1808) HMSFollower shouldn't use Thrift
structures to store persistent updates
Alexander Kolbasov created SENTRY-1808:
------------------------------------------
Summary: HMSFollower shouldn't use Thrift structures to store persistent updates
Key: SENTRY-1808
URL: https://issues.apache.org/jira/browse/SENTRY-1808
Project: Sentry
Issue Type: Improvement
Components: Sentry
Affects Versions: sentry-ha-redesign
Reporter: Alexander Kolbasov
The addPaths() method in {{HMSFollower}} uses {{PathUpdate}} class to store information about authz objects. The PathUpdate is designed as a wrapper around Thrift {{TPathsUpdate}} structure which is very inefficient. The generated PathUpdate is only used to store objects in the SentryStore, so it doesn't need intermediate Thrift representation, it can be stored more efficiently.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)