You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2010/07/12 18:46:49 UTC

[jira] Created: (LUCENE-2533) FileSwitchDirectory should uniqueify the String file names returned by listAll

FileSwitchDirectory should uniqueify the String file names returned by listAll
------------------------------------------------------------------------------

                 Key: LUCENE-2533
                 URL: https://issues.apache.org/jira/browse/LUCENE-2533
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 3.1, 4.0


Right now we blindly concatenate what's returned from primary & secondary.

But a legit use of FSD is pointing to the same underlying FSDir but w/ different impls for opening the inputs/outputs.

I have simple patch that just uniqueifies using Set<String>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (LUCENE-2533) FileSwitchDirectory should uniqueify the String file names returned by listAll

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926481#action_12926481 ] 

Uwe Schindler commented on LUCENE-2533:
---------------------------------------

I'll take this one, its committing....

> FileSwitchDirectory should uniqueify the String file names returned by listAll
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-2533
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2533
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.9.4, 3.0.3, 3.1, 4.0
>
>
> Right now we blindly concatenate what's returned from primary & secondary.
> But a legit use of FSD is pointing to the same underlying FSDir but w/ different impls for opening the inputs/outputs.
> I have simple patch that just uniqueifies using Set<String>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (LUCENE-2533) FileSwitchDirectory should uniqueify the String file names returned by listAll

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler resolved LUCENE-2533.
-----------------------------------

    Resolution: Fixed

Committed 3.0 branch revision: 1028931
Committed 2.9 branch revision: 1028933

> FileSwitchDirectory should uniqueify the String file names returned by listAll
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-2533
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2533
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.9.4, 3.0.3, 3.1, 4.0
>
>
> Right now we blindly concatenate what's returned from primary & secondary.
> But a legit use of FSD is pointing to the same underlying FSDir but w/ different impls for opening the inputs/outputs.
> I have simple patch that just uniqueifies using Set<String>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (LUCENE-2533) FileSwitchDirectory should uniqueify the String file names returned by listAll

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-2533.
----------------------------------------

    Resolution: Fixed

> FileSwitchDirectory should uniqueify the String file names returned by listAll
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-2533
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2533
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.1, 4.0
>
>
> Right now we blindly concatenate what's returned from primary & secondary.
> But a legit use of FSD is pointing to the same underlying FSDir but w/ different impls for opening the inputs/outputs.
> I have simple patch that just uniqueifies using Set<String>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (LUCENE-2533) FileSwitchDirectory should uniqueify the String file names returned by listAll

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-2533:
--------------------------------

    Fix Version/s: 3.0.3
                   2.9.4

> FileSwitchDirectory should uniqueify the String file names returned by listAll
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-2533
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2533
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.9.4, 3.0.3, 3.1, 4.0
>
>
> Right now we blindly concatenate what's returned from primary & secondary.
> But a legit use of FSD is pointing to the same underlying FSDir but w/ different impls for opening the inputs/outputs.
> I have simple patch that just uniqueifies using Set<String>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Reopened: (LUCENE-2533) FileSwitchDirectory should uniqueify the String file names returned by listAll

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir reopened LUCENE-2533:
---------------------------------


reopening for possible 2.9.4/3.0.3 backport.


> FileSwitchDirectory should uniqueify the String file names returned by listAll
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-2533
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2533
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.1, 4.0
>
>
> Right now we blindly concatenate what's returned from primary & secondary.
> But a legit use of FSD is pointing to the same underlying FSDir but w/ different impls for opening the inputs/outputs.
> I have simple patch that just uniqueifies using Set<String>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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