Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce first-class cache for OrdinalMaps #119

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

magibney
Copy link
Collaborator

@magibney magibney commented Jul 14, 2023

building on recent upstream work that stores OrdinalMaps in a ConcurrentHashMap, here we make OrdinalMap caching configurable within the standard Solr caching framework. This allows, e.g., OrdinalMap caches to be directly warmed, etc...

A couple of things to note:

  1. technicality: fs/branch_9x upon which this is based seems currently to be failing, so we should merge from fs/branch_9x after merging remaining fixes (compile and forbiddenAPIs) after merge from upstream branch_9x #118 to get meaningful CI results for this PR. EDIT: DONE
  2. We will likely want to rework this PR to incorporate changes from SOLR-16654: Add support for node-level caches apache/solr#1351, for cleaner configuration of node-level caches. Notes about some affected workarounds are left in detailed portions of commit messages.

@magibney magibney force-pushed the michaelgibney/ordinal-map-cache branch from 9f97944 to d9be388 Compare September 12, 2023 14:22
@magibney magibney changed the base branch from fs/branch_9x to fs/branch_9_3 September 12, 2023 14:22
@magibney
Copy link
Collaborator Author

force-pushed an update backported directly from as-yet-unmerged upstream PR. Changed the base branch to fs/branch_9_3 in anticipation of likely merging of upstream PR, which will get this work into fs/branch_9x.

Copy link

@justinrsweeney justinrsweeney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for backporting this!

@magibney magibney merged commit 1246c69 into fs/branch_9_3 Sep 12, 2023
1 check passed
magibney added a commit that referenced this pull request Sep 12, 2023
backport unmerged upstream PR at commit 9eeb7e0

* include updates to accommodate FS custom CacheConfig ctor signature

(cherry picked from commit 1246c69)
justinrsweeney pushed a commit that referenced this pull request Apr 26, 2024
backport unmerged upstream PR at commit 9eeb7e0

* include updates to accommodate FS custom CacheConfig ctor signature
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.

2 participants