Full repair caused disk space increase issue

2018-01-04 Thread wxn...@zjqunshuo.com
Hi All, In order to evict tombstones, I issued full repair with the command "nodetool -pr -full". Then the data load size was indeed decreased by 100G for each node by using "nodetool status" to check. But the actual disk usage increased by 500G for each node. The repair is still ongoing and

Re: Full repair caused disk space increase issue

2018-01-04 Thread Alexander Dejanovski
Hi Simon, since Cassandra 2.2, anticompaction is performed in all types of repairs, except subrange repair. Given that you have some very big SSTables, the temporary space used by anticompaction (which does the opposite of compaction : read one sstable, output two sstables) will impact your disk

Re: Full repair caused disk space increase issue

2018-01-04 Thread wxn...@zjqunshuo.com
Thanks Alex. Some nodes have finished anticompaction and disk space got reclaimed as you mentioned. BTW, after reading your post(http://thelastpickle.com/blog/2016/12/08/TWCS-part1.html) on TWCS, I decided to use TWCS, and doing the full repair is one of the preparation of changing to TWCS.