Cassandra Scrub - define a destination directory for snapshot -


in c* 1.2.4 setup, have ssd drive of 200gb data , rotational drive commit logs of 500gb.

i had unpleasant surprise during scrub operation fill in ssd drive snapshots. made cassandra box unresponsive kept status when doing nodetool status.

i wondering if there way specify target directory snapshots when doing scrub.

otherwise if have ideas workarounds? can column family @ time , copy snapshots folder, open smarter solutions.

thanks,

h

snapshots in cassandra created hard links existing data files. means @ time snapshot taken, takes no space. however, causes old files remain if delete or update data, old version still there.

this means snapshots must taken on drive stores data. if don't need snapshot more, delete 'nodetool clearsnapshot' (see nodetool output how decide snapshots delete). if want keep snapshot can move elsewhere. start using disk space after while, keep until happy scrub didn't delete important data delete snapshot.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -