In function "BlobGCJob::DoRunGC" of file "src/blob_gc_job.cc", I noticed that a variable file_size has been declared, but not truly used.
It has only four appearances in the function.
uint64_t file_size = 0;
if ((!blob_file_handle && !blob_file_builder) || file_size >= blob_gc_->titan_cf_options().blob_file_target_size)
if (file_size >= blob_gc_->titan_cf_options().blob_file_target_size)
file_size = 0;
And yet this variable decides whether or not a new blob is sent to blob_builder, is this a mistake or am i missing something?
In function "BlobGCJob::DoRunGC" of file "src/blob_gc_job.cc", I noticed that a variable file_size has been declared, but not truly used. It has only four appearances in the function.
uint64_t file_size = 0;
if ((!blob_file_handle && !blob_file_builder) || file_size >= blob_gc_->titan_cf_options().blob_file_target_size)
if (file_size >= blob_gc_->titan_cf_options().blob_file_target_size)
file_size = 0;
And yet this variable decides whether or not a new blob is sent to blob_builder, is this a mistake or am i missing something?