cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <>
Subject [jira] [Resolved] (CASSANDRA-8327) snapshots taken before repair are not cleared if snapshot fails
Date Mon, 24 Aug 2015 16:31:47 GMT


Yuki Morishita resolved CASSANDRA-8327.
       Resolution: Won't Fix
    Fix Version/s:     (was: 3.x)

CASSANDRA-7357 added clean up for repair snapshot leftovers.
I will add fix to Sankalp's finding in CASSANDRA-10057 as we need to fix repair hang there

> snapshots taken before repair are not cleared if snapshot fails
> ---------------------------------------------------------------
>                 Key: CASSANDRA-8327
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: cassandra
>            Reporter: MASSIMO CELLI
>            Assignee: Yuki Morishita
>            Priority: Minor
> running repair service the following directory was created for the snapshots:
> drwxr-xr-x 2 cassandra cassandra 36864 Nov 5 07:47 073d16e0-64c0-11e4-8e9a-7b3d4674c508

> but the system.log reports the following error which suggests the snapshot failed:
> ERROR [RMI TCP Connection(3251)-] 2014-11-05 07:47:55,734
(line 2599) Repair session 073d16e0-64c0-11e4-8e9a-7b3d4674c508 for range (7530018576963469312,7566047373982433280]
failed with error Failed during snapshot creation. java.util.concurrent.ExecutionException:
java.lang.RuntimeException: Failed during snapshot creation. .... ERROR
[AntiEntropySessions:3312] 2014-11-05 07:47:55,731 (line 288) [repair #073d16e0-64c0-11e4-8e9a-7b3d4674c508]
session completed with the following error Failed during snapshot creation.
> the problem is that the directory for the snapshots that fail are just left on the disk
and don't get cleaned up. They must be removed manually, which is not ideal.

This message was sent by Atlassian JIRA

View raw message