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.

maki

2012/3/14 Jim Newsham <jnews...@referentia.com>:
>
> 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
>

Reply via email to