-
Notifications
You must be signed in to change notification settings - Fork 674
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
SOLR-16038: Rename PackageStore as Filestore #1908
SOLR-16038: Rename PackageStore as Filestore #1908
Conversation
@noblepaul do you want to have a look at this? |
I'd love to see the renames happen... I think it's more confusing to have one name in the code and another in the zookeeper. Could we just allow both? I.e keep the old and the new name? for a while? like we supported "schema" for a while after "schema.xml" was the name in Zookeeper? |
Also, I bumped into the fact that you can't use the PackageStore (soon to be File Store) if you don't pass in |
Packages are disabled by default since they are beta quality and potentially a serious security hole. Need much more use, feeback and bugfixes before we can flip the default. In general I'm sceptical to allow any form of live download of code at runtime. In the day and age of containers there should be means of adding packages during container image build and then deploy code to running cluster through the normal deployment routines. |
Two thoughts on your last message:
Both comments are probably getting out of scope of this PR ;-). |
Yea, probably concentrate on the rename for now 😉 |
Added a few more reviewers and brought up to date with main. Again, this is an internal java-level change and the API is experimental so no back compat requirements. As followup issues, we could perhaps investigate how the filestore could be utilized by other parts of Solr to store large models etc, disconnected from the package feature. |
I checked out the branch and did a search for "PackageStore" and found a number of places it is still mentioned... DistribFileStore.java has a:
I wish it was ZK_FILESTORE and /filestore. Unless we had a story about a "packagestore" being some sort of specialization of the generic "filestore".... but i don't think jthat is the case. That constant shows up a few times. Likewise FileStoreAPI has:
And TestDistribFileStore has |
- Rename temp zk node - Fix exception messages
As mentioned in the PR description I left the ZK node name as-is. I fixed the |
@epugh I also renamed the test method you mentioned. Think this is good to go now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This will be a great building block for more things.
(cherry picked from commit b17b17d)
https://issues.apache.org/jira/browse/SOLR-16038
I did NOT rename the
/packagestore
name in zookeeper and related constants, as it would involve migrating/renaming..Did not create a CHANGES entry as this is an internal code-change only