-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-27927 Skip zero length bytes of WALKey and WALEntry cells to av… #5301
Conversation
…oid replication stuck with WAL compression
Mind exlaining more about the fix? Reading jira description and the code here, I can not understand what is the problem root cause here... |
🎊 +1 overall
This message was automatically generated. |
Thanks, @Apache9 .By digging some replication stuck WALs with compression and value compression enabled, we found there exiting zero length for WALKey and cells in WALEntry. I think this may be relevant to the bytebuffer padding codes when compressing, as @apurtell said. Cannot prove it until now, but Compression#createCompressionStream is suspicious, it used BufferedOutputStream, which is a bounded byte buff to flush. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Then let's provide a UT to reproduce the problem before merging the code here? It is very strange that why we need to skip lots of zeros in the input stream... |
…oid replication stuck with WAL compression