[ https://issues.apache.org/jira/browse/JENA-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252529#comment-13252529 ]
Andy Seaborne commented on JENA-234: ------------------------------------ Could you provide a complete, minimal example please. The email you refer to is out-of-date. Producing it with current TDB and it works Ok. See attached. > In TDB, namespace data out of sync when dataset not closed properly > ------------------------------------------------------------------- > > Key: JENA-234 > URL: https://issues.apache.org/jira/browse/JENA-234 > Project: Apache Jena > Issue Type: Bug > Components: TDB > Affects Versions: TDB 0.9.0 > Environment: Windows 7. I think this can be repro'ed in any > environment > Reporter: Nathanael Thompson > > When a TDB model is not closed properly. the NodeToId table get's out of > sync with the IdToNode table. This is because writeBuffer in > ObjectFileStorage doesn't get written, but the data in the NodeToId table > does get written. This causes the error mentioned in the following email > thread: > http://mail-archives.apache.org/mod_mbox/incubator-jena-dev/201201.mbox/%3c4f1ee540.5050...@apache.org%3E > Normally I'd say this isn't a bug because the user should close their models > correctly. But it seems like this should be fixed, because this mistake > breaks TDB for all future uses, and possibly forces the user to recreate the > whole db. I'd be fine with just not writing the buffered data to both > tables, as long as they're in sync. -- 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