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

int32 chunk reference counter, is it a problem? #315

Open
ThomasWaldmann opened this issue May 31, 2015 · 0 comments
Open

int32 chunk reference counter, is it a problem? #315

ThomasWaldmann opened this issue May 31, 2015 · 0 comments

Comments

@ThomasWaldmann
Copy link
Contributor

I wonder whether that counter could overflow.

It seems like Cython would raise an OverflowError when converting a too-long python integer to a 32 bit (C) int, so at least we would notice.

The smallest chunk attic can create seems to be 1kiB. So it seems the worst (and rather unlikely) case is an overflow if you have 2 TiB data made from 2^31 repetitions of that 1kiB chunk.

Is there any frequent chunk so this could be a problem in practice for multi-TB backups?

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

No branches or pull requests

1 participant