Hi, All

    Right now, the size get from luwak is not the same as record in our
datbase. Can i use the way to get rid of these broken files:

   1)  After write file to luwak using luwak_put_stream:send(), then call
 luwak_put_stream:close() to close the put stream.
   2) Use luwak_put_stream:status() to get the latest luwak file handler,
then call luwak_file:length(Riak, RiakFileHandler) to get the file final
size in riak. Check if the size in database is the same as the size, if the
size is different, does that mean the file is broken? Does this way make
sence?

Thanks
Fisher
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to