You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Paolo Castagna (Created) (JIRA)" <ji...@apache.org> on 2011/10/01 04:18:45 UTC

[jira] [Created] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
-----------------------------------------------------------------------------------------------------------------

                 Key: JENA-128
                 URL: https://issues.apache.org/jira/browse/JENA-128
             Project: Jena
          Issue Type: Bug
          Components: TDB
         Environment: Linux, 64 bit
            Reporter: Paolo Castagna


The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Paolo Castagna (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118640#comment-13118640 ] 

Paolo Castagna edited comment on JENA-128 at 10/1/11 2:40 AM:
--------------------------------------------------------------

The current TxTDB test suite is not affected by this problem since all tests either use an in-memory Location or they start with an empty db.
If the problem is confirmed, we should make sure to add a test for a non empty db: this is the situation people are more likely to be. :-).
                
      was (Author: castagna):
    The current TxTDB test suite is not affected by this problem since all tests either use an in-memory Location or they start with an empty db.
If the problem is confirmed, we should make sure to add a test for a non empty db (this is the situation people are more likely to be. :-)).
                  
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Paolo Castagna (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paolo Castagna updated JENA-128:
--------------------------------

    Attachment: TestNodeTableObjectFileCorruption.java

This is a simple test case which illustrate the problem.

This is the exception I get when I run this test:

com.hp.hpl.jena.tdb.base.file.FileException: ObjectFile.read(9)[70][70]: Impossibly large object : 1650553406 bytes
	at com.hp.hpl.jena.tdb.base.objectfile.ObjectFileStorage.read(ObjectFileStorage.java:282)
	at com.hp.hpl.jena.tdb.base.objectfile.ObjectFileStorage$ObjectIterator.next(ObjectFileStorage.java:397)
	at com.hp.hpl.jena.tdb.base.objectfile.ObjectFileStorage$ObjectIterator.next(ObjectFileStorage.java:1)
	at tx.TestNodeTableObjectFileCorruption.countRDFNodes(TestNodeTableObjectFileCorruption.java:96)
	at tx.TestNodeTableObjectFileCorruption.test(TestNodeTableObjectFileCorruption.java:88)

                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Paolo Castagna (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121980#comment-13121980 ] 

Paolo Castagna commented on JENA-128:
-------------------------------------

> Can you please reopen?

Why?
                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>            Assignee: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Paolo Castagna (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118640#comment-13118640 ] 

Paolo Castagna commented on JENA-128:
-------------------------------------

The current TxTDB test suite is not affected by this problem since all tests either use an in-memory Location or they start with an empty db.
If the problem is confirmed, we should make sure to add a test for a non empty db (this is the situation people are more likely to be. :-)).
                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Paolo Castagna (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paolo Castagna closed JENA-128.
-------------------------------

    Resolution: Duplicate
      Assignee: Paolo Castagna

This duplicates JENA-91.
                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>            Assignee: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Simon Helsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121904#comment-13121904 ] 

Simon Helsen commented on JENA-128:
-----------------------------------

Reopening since JENA-91 was closed
                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>            Assignee: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Simon Helsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119326#comment-13119326 ] 

Simon Helsen commented on JENA-128:
-----------------------------------

to help nail this, I don't think you have to execute a write transaction. I think if you use the TX-TDB build but with the old non-transactional API, you'll get the same problem
                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Simon Helsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121906#comment-13121906 ] 

Simon Helsen commented on JENA-128:
-----------------------------------

Paolo, I cannot reopen this one since I did not create it. There is no point in opening another defect since this defect describes the problem that needs to be resolved. Can you please reopen?
                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>            Assignee: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-128) Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database

Posted by "Simon Helsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121994#comment-13121994 ] 

Simon Helsen commented on JENA-128:
-----------------------------------

Sorry Paolo, see the comment in Jena-91 and the e-mail traffic. There was some confusion, you can ignore the request
                
> Node table's ObjectFile (i.e. nodes.dat) gets corrupted after a write transaction applied to an existing database
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENA-128
>                 URL: https://issues.apache.org/jira/browse/JENA-128
>             Project: Jena
>          Issue Type: Bug
>          Components: TDB
>         Environment: Linux, 64 bit
>            Reporter: Paolo Castagna
>            Assignee: Paolo Castagna
>              Labels: txtdb
>         Attachments: TestNodeTableObjectFileCorruption.java
>
>
> The node table's ObjectFile (i.e. nodes.dat) becomes corrupted after a write transaction applied to an existing database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira