File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/query/storages/fuse/src/operations/mutation/mutator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ impl ReclusterMutator {
109
109
. summary
110
110
. uncompressed_byte_size
111
111
. div_ceil ( snapshot. summary . block_count ) as usize ,
112
- block_thresholds. max_bytes_per_block / 2 ,
112
+ block_thresholds. min_bytes_per_block ,
113
113
) ;
114
114
Ok ( Self {
115
115
ctx,
@@ -206,7 +206,7 @@ impl ReclusterMutator {
206
206
settings. get_max_memory_usage ( ) ? - GLOBAL_MEM_STAT . get_memory_usage ( ) as u64 ;
207
207
let memory_threshold = settings
208
208
. get_recluster_block_size ( ) ?
209
- . min ( avail_memory_usage * 30 / 100 ) as usize ;
209
+ . min ( avail_memory_usage * 50 / 100 ) as usize ;
210
210
// specify a rather small value, so that `recluster_block_size` might be tuned to lower value.
211
211
let max_blocks_num = ( memory_threshold / self . average_size ) . max ( 2 ) * self . max_tasks ;
212
212
let block_per_seg = self . block_thresholds . block_per_segment ;
You can’t perform that action at this time.
0 commit comments