You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/11/15 22:37:21 UTC

[jira] [Updated] (SOLR-5448) ShowFileRequestHandler treats everything as Directory, when in Cloud-Mode

     [ https://issues.apache.org/jira/browse/SOLR-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson updated SOLR-5448:
---------------------------------

    Attachment: SOLR-5448.patch

Quick patch, one line fix and 30 lines to test. Siiiiggghhh.

I'm going out now and won't have time to commit this until this evening or tomorrow morning.

This has been in there since day 1, [~steffkes] is just the first lucky one to find it.

> ShowFileRequestHandler treats everything as Directory, when in Cloud-Mode
> -------------------------------------------------------------------------
>
>                 Key: SOLR-5448
>                 URL: https://issues.apache.org/jira/browse/SOLR-5448
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.5
>            Reporter: Stefan Matheis (steffkes)
>            Assignee: Erick Erickson
>         Attachments: SOLR-5448.patch
>
>
> While working on SOLR-5446, i've discovered that the {{ShowFileRequestHandler}} changes its output.
> {code}  % curl -s 'http://arch.vm:8984/solr/collection1/admin/file?wt=json' | json
> {
>     "files": {
>         "admin-extra.html": {
>             "modified": "2013-08-25T01:44:06Z",
>             "size": 1068
>         },
>         "clustering": {
>             "directory": true,
>             "modified": "2013-08-25T01:44:05Z"
>         },
>         "currency.xml": {
>             "modified": "2013-08-25T01:44:06Z",
>             "size": 3974
>         }
>     }
> }{code}
> While, when running in Cloud-Mode:
> {code}  % curl -s 'http://arch.vm:8984/solr/collection1/admin/file?wt=json' | json
> {
>     "files": {
>         "admin-extra.html": {
>             "directory": true
>         },
>         "clustering": {
>             "directory": true
>         },
>         "currency.xml": {
>             "directory": true
>         }
>     }
> }{code}
> That's valid for trunk as well as branch_4x.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org