Colvin Cowie created SOLR-17733: ----------------------------------- Summary: Cluster filestore v2 API fails in cloud mode Key: SOLR-17733 URL: https://issues.apache.org/jira/browse/SOLR-17733 Project: Solr Issue Type: Bug Reporter: Colvin Cowie
Calling DELETE /cluster/filestore/files/\{file} results in a 500. The implementation of delete cluster file first calls delete local file, but that first checks to see if the file exists in the cluster and fails if it does so. {{10454 ERROR (qtp1073592819-60-null-5) [n:127.0.0.1:56447_solr c: s: r: x: t:null-5] o.a.s.j.CatchAllExceptionMapper 500 Exception}} {{ => org.apache.solr.common.SolrException: org.apache.solr.common.SolrException: The path exists in ZK, delete and retry}} {{ at org.apache.solr.filestore.ClusterFileStore.doClusterDelete(ClusterFileStore.java:282)}} {{org.apache.solr.common.SolrException: org.apache.solr.common.SolrException: The path exists in ZK, delete and retry}} {{ at org.apache.solr.filestore.ClusterFileStore.doClusterDelete(ClusterFileStore.java:282) ~[main/:?]}} {{ at org.apache.solr.filestore.ClusterFileStore.doDelete(ClusterFileStore.java:296) ~[main/:?]}} {{ at org.apache.solr.filestore.ClusterFileStore.deleteFile(ClusterFileStore.java:312) ~[main/:?]}} {{ ...}} Also when calling POST /cluster/filestore/commands/sync/\{file} it always fails with a 500 because the node already exists in ZooKeeper. How can this API be used? If it isn't supported in cloud mode then it should return a 501 (not implemented) or similar, but maybe I'm misunderstanding the intent of this API. See V2APISmokeTest in SOLR-17728 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org