cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-4050) cassandra unnecessarily holds file locks on snapshot files
Date Wed, 14 Mar 2012 21:08:35 GMT


Jonathan Ellis updated CASSANDRA-4050:

    Priority: Minor  (was: Major)

Currently we take the snapshot using mklink /H, but I've experimented with the Java7 Files.createLink
and see the same behavior.  It may simply be normal behavior for Windows that links are considered
"open" until their creator is closed.

> cassandra unnecessarily holds file locks on snapshot files
> ----------------------------------------------------------
>                 Key: CASSANDRA-4050
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.0.8
>         Environment: Windows 7
>            Reporter: Jim Newsham
>            Priority: Minor
> I'm using Cassandra 1.0.8, on Windows 7.  When I take a snapshot of the database, I find
that I am unable to delete the snapshot directory (i.e., dir named "{datadir}\{keyspacename}\snapshots\{snapshottag}")
while Cassandra is running:  "The action can't be completed because the folder or a file in
it is open in another program.  Close the folder or file and try again" [in Windows Explorer].
 If I terminate Cassandra, then I can delete the directory with no problem.
> I expect to be able to move or delete the snapshotted files while Cassandra is running,
as this should not affect the runtime operation of Cassandra.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message