Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work of auto compaction after rebalance #1194

Open
wulfgar93 opened this issue Aug 16, 2019 · 3 comments
Open

work of auto compaction after rebalance #1194

wulfgar93 opened this issue Aug 16, 2019 · 3 comments
Assignees
Labels

Comments

@wulfgar93
Copy link

wulfgar93 commented Aug 16, 2019

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
Copy link
Author

@yosukehara, could you clarify my question?

@yosukehara
Copy link
Member

yosukehara commented Oct 9, 2019

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 yosukehara self-assigned this Oct 9, 2019
@wulfgar93
Copy link
Author

@yosukehara hello! Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants