Could you please specify the version of riak cs?
*root@riakcs:~# riak-cs version1.4.5* riak-cs-gc batch just triggers GC and does not wait its completion. After GC finishes, there will be a log in console.log, which looks like Finished garbage collection: 0 seconds, 1 batch_count, 0 batch_skips, 1 manif_count, 1 block_count Are there such lines in your console.log? *It's my console log2014-07-11 12:51:27.615 [info] <0.291.0>@riak_cs_gc_d:fetching_next_batch:183 Finished garbage collection: 0 seconds, 0 batch_count, 0 batch_skips, 0 manif_count, 0 block_count2014-07-11 12:52:26.184 [info] <0.291.0>@riak_cs_gc_d:fetching_next_batch:183 Finished garbage collection: 0 seconds, 0 batch_count, 0 batch_skips, 0 manif_count, 0 block_count2014-07-11 12:56:27.626 [info] <0.291.0>@riak_cs_gc_d:fetching_next_batch:183 Finished garbage collection: 0 seconds, 0 batch_count, 0 batch_skips, 0 manif_count, 0 block_count2014-07-11 12:57:26.195 [info] <0.291.0>@riak_cs_gc_d:fetching_next_batch:183 Finished garbage collection: 0 seconds, 0 batch_count, 0 batch_skips, 0 manif_count, 0 block_countroot@riakcs:~#* GC collects deleted objects after leeway_seconds (default: 24 hours) since deletion. In case you deleted objects and run GC within 24 hours, objects will not be collected. *I'ts my leeway settingoot@riakcs:~# cat /etc/riak-cs/app.config |grep leeway %% This leeway time is set to give the delete %% {leeway_seconds, 86400}, {leeway_seconds, 600},* Thanks, Shino On Fri, Jul 11, 2014 at 12:39 PM, Shunichi Shinohara <sh...@basho.com> wrote: > Hi Adhi, > > Could you please specify the version of riak cs? > > riak-cs-gc batch just triggers GC and does not wait its completion. > After GC finishes, there will be a log in console.log, which looks like > > Finished garbage collection: 0 seconds, 1 batch_count, 0 > batch_skips, 1 manif_count, 1 block_count > > Are there such lines in your console.log? > > GC collects deleted objects after leeway_seconds (default: 24 hours) > since deletion. > In case you deleted objects and run GC within 24 hours, objects will > not be collected. > > Thanks, > Shino > > On Fri, Jul 11, 2014 at 1:34 PM, Adhi Priharmanto <adhi....@gmail.com> > wrote: > > Hi, > > I'am new in riak-cs, so I try to follow the documentation on riak-cs web, > > setup in single riak-cs node. > > After successfully setup and store data via dragondisk S3 client,I try to > > delete those file and check the size on the server won't reduce. > > some search result on google suggest me to run the riak-cs-gc, but it > looks > > like riak-cs-gc won't run > > > > root@riakcs:~# riak-cs-gc status > > There is no garbage collection in progress > > The current garbage collection interval is: 300 > > Last run started at: undefined > > Next run scheduled for: 00440710T041127Z > > root@riakcs:~# riak-cs-gc batch > > Garbage collection batch started. > > root@riakcs:~# riak-cs-gc status > > There is no garbage collection in progress > > The current garbage collection interval is: 300 > > Last run started at: undefined > > Next run scheduled for: 00440710T041225Z > > root@riakcs:~# > > > > > > > > no error on log, any suggest ? > > > > > > -- > > Cheers, > > > > Adhi Priharmanto > > > > > > _______________________________________________ > > riak-users mailing list > > riak-users@lists.basho.com > > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > -- Best Regards, *Adhi Priharmanto* +62-812-82121584
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com