leofs icon indicating copy to clipboard operation
leofs copied to clipboard

work of auto compaction after rebalance

Open wulfgar93 opened this issue 6 years ago • 3 comments

Hello! While #466 in not implemented I've faced with issue that after rebalance active object statistic have not updated... But during manual compact procedure I see that number of active objects are decreasing.

                file path: /mnt/disk2/leo_storage/object/20017.avs
 active number of objects: 174305
  total number of objects: 174310
   active size of objects: 148190077027
    total size of objects: 148201602063
     ratio of active size: 99.99%
    last compaction start: 2019-08-16 07:39:50 +0300
      last compaction end: 2019-08-16 11:07:23 +0300
                 duration: 12453s
                   result: success

                file path: /mnt/disk2/leo_storage/object/20018.avs
 active number of objects: 202951
  total number of objects: 205327
   active size of objects: 198583027257
    total size of objects: 203119766188
     ratio of active size: 97.77%
    last compaction start: ____-__-__ __:__:__
      last compaction end: ____-__-__ __:__:__
                 duration: 0s
                   result: ''

As you can see the ratio of active objects are not 97.77%, it's about 72%.

Could you be so kind to clarify weather auto compaction would work properly after rebalance if I set the threshold to 90%? Could you clarify what data of active objects auto compaction are based of?

wulfgar93 avatar Aug 16 '19 09:08 wulfgar93

@yosukehara, could you clarify my question?

wulfgar93 avatar Oct 04 '19 16:10 wulfgar93

Thank you for your comment and sorry for the late response. I'll check this issue again. After that, I will comment after my thoughts are settled.

yosukehara avatar Oct 09 '19 07:10 yosukehara

@yosukehara hello! Any news?

wulfgar93 avatar Jan 21 '20 11:01 wulfgar93