Skip to content

Revert "Use a bimap for reverse lookups on injective maps"#5764

Merged
jon-wei merged 4 commits intoapache:masterfrom
dylwylie:revert-5681-lookup-bimap
May 10, 2018
Merged

Revert "Use a bimap for reverse lookups on injective maps"#5764
jon-wei merged 4 commits intoapache:masterfrom
dylwylie:revert-5681-lookup-bimap

Conversation

@dylwylie
Copy link
Copy Markdown
Contributor

@dylwylie dylwylie commented May 9, 2018

Reverts #5681

@dylwylie
Copy link
Copy Markdown
Contributor Author

dylwylie commented May 9, 2018

Reverting this, the following code passes in an offHeap backed map from MapDb, so we'd inadvertently be copying all of its data on heap when creating the BiMap

https://github.com/druid-io/druid/blob/5929066dfba96c918f14e26b629534f53de0f9cd/extensions-core/lookups-cached-global/src/main/java/io/druid/query/lookup/NamespaceLookupExtractorFactory.java#L216

@dylwylie dylwylie closed this May 9, 2018
@dylwylie dylwylie reopened this May 9, 2018
@jon-wei jon-wei merged commit e8caf02 into apache:master May 10, 2018
@dylwylie dylwylie deleted the revert-5681-lookup-bimap branch May 10, 2018 20:00
@dclim dclim added this to the 0.13.0 milestone Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants