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/08/31 01:28:00 UTC
[jira] [Updated] (SENTRY-1909) Improvements for memory usage when
full path snapshot is sent from Sentry to NN
[ https://issues.apache.org/jira/browse/SENTRY-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Kolbasov updated SENTRY-1909:
---------------------------------------
Attachment: SENTRY-1909.01.patch
> Improvements for memory usage when full path snapshot is sent from Sentry to NN
> -------------------------------------------------------------------------------
>
> Key: SENTRY-1909
> URL: https://issues.apache.org/jira/browse/SENTRY-1909
> Project: Sentry
> Issue Type: Improvement
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Alexander Kolbasov
> Assignee: Alexander Kolbasov
> Attachments: SENTRY-1909.01.patch
>
>
> While looking at SENTRY-1907 I noticed another thing. {{sentryStore.retrieveFullPathsImage()}} uses {{Map<String, Set<String>>}} as a snapshot representation. This isn't needed since {{Map<String, Collection<String>>}} is sufficient and we can represent it using ArrayList. This is much more efficient representation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)