cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maki Watanabe <>
Subject Re: snapshot files locked
Date Wed, 14 Mar 2012 07:29:43 GMT
snapshot files are "hardlink"s of the original sstables.
As you know, on windows, you can't delete files opened by other process.
If you try to delete the "hardlink", windows thinks you try to delete
the sstables in production.


2012/3/14 Jim Newsham <>:
> Hi,
> 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".  If I terminate Cassandra, then I can delete the directory with no
> problem.  Is there a reason why Cassandra must hold onto these files?
> Thanks,
> Jim

View raw message