[ https://issues.apache.org/jira/browse/JENA-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14351677#comment-14351677 ]
ASF subversion and git services commented on JENA-895: ------------------------------------------------------ Commit a8caf7f8f514ed60f7a8f252acb13b05d164cfc1 in jena's branch refs/heads/master from [~andy.seaborne] [ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=a8caf7f ] JENA-895 : Do backup inside a read transaction. > Fuseki2 backups > ---------------- > > Key: JENA-895 > URL: https://issues.apache.org/jira/browse/JENA-895 > Project: Apache Jena > Issue Type: Bug > Components: Fuseki > Affects Versions: Fuseki 2.0.0 > Reporter: Andy Seaborne > Assignee: Andy Seaborne > > Fuseki2 backups aren't properly wrapped in a transaction, causing the > exception below for TDB (if the dataset has moved to transactional - there is > a timing hole around backup+first use in a recently started server). > {noformat} > [2015-03-07 10:20:49] Backup INFO [11] >>>> Start backup /ds -> > /home/afs/tmp/run/backups/ds_2015-03-07_10-20-49 > [2015-03-07 10:20:49] Backup INFO [11] **** Exception in backup > com.hp.hpl.jena.tdb.transaction.TDBTransactionException: Not in a transaction > at > com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:106) > at > com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:40) > at > com.hp.hpl.jena.sparql.core.DatasetGraphTrackActive.getDefaultGraph(DatasetGraphTrackActive.java:91) > at org.apache.jena.riot.system.RiotLib.prefixMap(RiotLib.java:257) > at org.apache.jena.riot.RDFDataMgr.write$(RDFDataMgr.java:1331) > at org.apache.jena.riot.RDFDataMgr.write(RDFDataMgr.java:1205) > at org.apache.jena.riot.RDFDataMgr.write(RDFDataMgr.java:1195) > at org.apache.jena.fuseki.mgt.Backup.backup(Backup.java:88) > at > org.apache.jena.fuseki.mgt.ActionBackup$BackupTask.run(ActionBackup.java:76) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)