You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2009/11/16 16:35:39 UTC

[jira] Created: (JCR-2393) Index migration fails for property names that are prefixes of others

Index migration fails for property names that are prefixes of others
--------------------------------------------------------------------

                 Key: JCR-2393
                 URL: https://issues.apache.org/jira/browse/JCR-2393
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 1.6.0, 1.5.7, 1.5.6, 1.5.5, 1.5.4, 1.5.3, 1.5.2, 1.5.0
            Reporter: Marcel Reutegger


The automatic index migration (JCR-1363) introduced in Jackrabbit version 1.5.0 replaces the separator char for named term text in PROPERTIES field. Util 1.4.x '\uFFFF' was used and after migration '[' is used. This changes the overall order of  PROPERTIES terms and leads to assertion failures. See attached test.

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


[jira] Updated: (JCR-2393) Index migration fails for property names that are prefixes of others

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

Marcel Reutegger updated JCR-2393:
----------------------------------

    Attachment: IndexMigrationTest.patch

> Index migration fails for property names that are prefixes of others
> --------------------------------------------------------------------
>
>                 Key: JCR-2393
>                 URL: https://issues.apache.org/jira/browse/JCR-2393
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.0, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.6.0
>            Reporter: Marcel Reutegger
>         Attachments: IndexMigrationTest.patch
>
>
> The automatic index migration (JCR-1363) introduced in Jackrabbit version 1.5.0 replaces the separator char for named term text in PROPERTIES field. Util 1.4.x '\uFFFF' was used and after migration '[' is used. This changes the overall order of  PROPERTIES terms and leads to assertion failures. See attached test.

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


[jira] Resolved: (JCR-2393) Index migration fails for property names that are prefixes of others

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

Marcel Reutegger resolved JCR-2393.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Fixed in revision: 881299

> Index migration fails for property names that are prefixes of others
> --------------------------------------------------------------------
>
>                 Key: JCR-2393
>                 URL: https://issues.apache.org/jira/browse/JCR-2393
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.0, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.6.0
>            Reporter: Marcel Reutegger
>             Fix For: 2.0.0
>
>         Attachments: IndexMigrationTest.patch
>
>
> The automatic index migration (JCR-1363) introduced in Jackrabbit version 1.5.0 replaces the separator char for named term text in PROPERTIES field. Util 1.4.x '\uFFFF' was used and after migration '[' is used. This changes the overall order of  PROPERTIES terms and leads to assertion failures. See attached test.

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


[jira] Updated: (JCR-2393) Index migration fails for property names that are prefixes of others

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

Tom Quellenberg updated JCR-2393:
---------------------------------

    Attachment: JCR-2393_patch_1.6.txt

Please find attached a patch for JackRabbit 1.6. This patch includes JCR-2393 and JCR-2410. When upgrading from an older version to 1.6.3 this bug scramble our indexes. Because of the size (> 5 Gb) rebuilding the indexes was no easy option. Maybe you can integrate this patch into the 1.6 branch.

> Index migration fails for property names that are prefixes of others
> --------------------------------------------------------------------
>
>                 Key: JCR-2393
>                 URL: https://issues.apache.org/jira/browse/JCR-2393
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.0, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.6.0
>            Reporter: Marcel Reutegger
>             Fix For: 2.0-beta3
>
>         Attachments: IndexMigrationTest.patch, JCR-2393_patch_1.6.txt
>
>
> The automatic index migration (JCR-1363) introduced in Jackrabbit version 1.5.0 replaces the separator char for named term text in PROPERTIES field. Util 1.4.x '\uFFFF' was used and after migration '[' is used. This changes the overall order of  PROPERTIES terms and leads to assertion failures. See attached test.

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