You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2018/10/23 05:49:00 UTC

[jira] [Comment Edited] (OAK-7855) Invalid SplitDocType

    [ https://issues.apache.org/jira/browse/OAK-7855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660100#comment-16660100 ] 

Julian Reschke edited comment on OAK-7855 at 10/23/18 5:48 AM:
---------------------------------------------------------------

The goal was to have the system work without schema upgrade, so this can be decoupled from the schema upgrade.



was (Author: reschke):
The goal was to have the system work without schema upgrade, so this can be decoupled from the schema upgrade.

Thought: maybe this has nothing to do with the software upgrade from 1.8.2 to 1.8.7, but with the fact garbage collection was run for the first time?

> Invalid SplitDocType
> --------------------
>
>                 Key: OAK-7855
>                 URL: https://issues.apache.org/jira/browse/OAK-7855
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk, rdbmk
>    Affects Versions: 1.8.7
>            Reporter: Marcel Reutegger
>            Priority: Major
>
> After upgrading a repository from 1.8.2 to 1.8.7 on RDB the background update thread started to log warnings that complain about invalid SplitDocType:
> {noformat}
> java.lang.IllegalArgumentException: Not a valid SplitDocType :0
> {noformat}
> It is also worth noting that the automatic database schema upgrade fails on that repository with:
> {noformat}
> org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore Attempted to upgrade NODES to DB level 2 using 'alter table NODES add SDTYPE smallint', but failed - will continue without.
> com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-551, SQLSTATE=42501, SQLERRMC=Q1D18T05;ALTER TABLE;G031.NODES, DRIVER=4.23.42
> {noformat}
> and
> {noformat}
> org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore Attempted to upgrade NODES to DB level 2 using 'create index NODES_SDT on NODES (SDTYPE) exclude null keys', but failed - will continue without.
> com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-205, SQLSTATE=42703, SQLERRMC=SDTYPE;G031.NODES, DRIVER=4.23.42
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)