Alexander Kolbasov created SENTRY-1909:
------------------------------------------
Summary: 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
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)