cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2598) incremental_backups and snapshot_before_compaction duplicate hard links
Date Tue, 03 May 2011 20:29:03 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-2598:
--------------------------------------

             Priority: Minor  (was: Major)
    Affects Version/s:     (was: 0.8 beta 1)
                       0.7.4
        Fix Version/s: 0.8.0
                       0.7.6
             Assignee: Jonathan Ellis

> incremental_backups and snapshot_before_compaction duplicate hard links
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-2598
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2598
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.4
>         Environment: linux & jna
>            Reporter: Mck SembWever
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.6, 0.8.0
>
>
> See discussion @ http://thread.gmane.org/gmane.comp.db.cassandra.user/15933/
> Enabling both incremental_backups and snapshot_before_compaction leads to the same hard
links trying to be created.
> This gives stacktraces like 
> java.io.IOError: java.io.IOException: Unable to create hard link from
> /cassandra-data/<keyspace>/<cf>-f-3875-Data.db
> to
> /cassandra-data/<keyspace>/snapshots/compact-<cf>/<cf>-f-3875-Data.db
> (errno 17)
> 	at org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush(ColumnFamilyStore.java:1629)
> 	at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:1654)
> 	at org.apache.cassandra.db.Table.snapshot(Table.java:198)
> 	at org.apache.cassandra.db.CompactionManager.doCompaction(CompactionManager.java:504)
> 	at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:146)
> 	at org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:112)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Unable to create hard link from
> /cassandra-data/<keyspace>/<cf>-f-3875-Data.db
> to
> /cassandra-data/<keyspace>/snapshots/compact-<cf>/<cf>-f-3875-Data.db
> (errno 17)
> 	at org.apache.cassandra.utils.CLibrary.createHardLink(CLibrary.java:155)
> 	at org.apache.cassandra.io.sstable.SSTableReader.createLinks(SSTableReader.java:713)
> 	at org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush(ColumnFamilyStore.java:1622)
> 	... 10 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message