Open wecharyu opened 2 years ago
Change looks good. I need to update our CI which I can't do until next week. After that I'll rebase your changes to ensure they pass and merge.
Gentle Ping @JakeWharton, btw do we need to release a new version for this fix?
Forgot about it. I'll try again next week.
Hi @JakeWharton please try this PR this week. Thanks a lot :)
I have some other work and then I'm going on vacation. Earliest I'll get to this library is in September.
OHOK thank you, have a good vacation~
Hey @JakeWharton just a re-ping, maybe this got lost in the shuffle...
Hi @JakeWharton, please help check this PR at your convenience.
Yearly re-ping? Or close the issue?
What changes
Integer.MAX_VALUE
Why needs these changes
In the underlying
FileChannelImpl
, it can transfer at most 2 GB data at a time, which will cause an error if we transfer more than 2 GB data directly: https://github.com/square/tape/blob/445cd3fd0a7b3ec48c9ea3e0e86663fe6d3735d8/tape/src/main/java/com/squareup/tape2/QueueFile.java#L462-L464