On 4/5/2018 7:01 AM, Doug Turnbull wrote:
My upconfig was also trying to upload the data dir (I had used this as a solr home in a standalone non cloud Solr), I'm missing *conf* here
Oops. :) Uploading an entire core would be a problem! Glad you figured it out.
I wonder too if there's anything that can be changed in zkcli to see if the confdir is a reasonable configuration directory?
The process could look at what's being uploaded and log a warning that says it didn't see any files with names that looked like a config, but I wouldn't want it to make any decisions (like aborting the upload before it begins) based on that information.
As an example of something we would want to allow: It is perfectly acceptable to make a change to an existing config in zookeeper by uploading a directory with only one file in it, say a synonym list. The upconfig action never *deletes* anything from the config in zookeeper.
Thanks, Shawn