Implement GzipByteBuffDecompressor and integrate with ReusableStreamG… - #258
Draft
SaadASTheDev wants to merge 31 commits into
Draft
Implement GzipByteBuffDecompressor and integrate with ReusableStreamG…#258SaadASTheDev wants to merge 31 commits into
SaadASTheDev wants to merge 31 commits into
Conversation
…table mappings when using the bulk output option (not yet upstream)
Co-authored-by: Hernan Gelaf-Romer <hgelafromer@hubspot.com>
Co-authored-by: Hernan Gelaf-Romer <hgelafromer@hubspot.com>
…ger can lead to data loss (not yet upstream) Co-authored-by: Hernan Gelaf-Romer <hgelafromer@hubspot.com>
…#228) * Fix an issue with duplicated backups of inactive host WAL files * Skip meta region WAL files
… Region Info (not yet upstream) Co-authored-by: Hernan Gelaf-Romer <hgelafromer@hubspot.com>
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7) Signed-off-by: Ray Mattingly <rmattingly@apache.org> Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com> Co-authored-by: Alex Hughes <ahughes@hubspot.com>
…ith WAL Compression (not yet upstream) * Initial changes to allow partial cell read in WAL * Add tests * More tests * Add back comments * Remove redundant tests and simplify * Get tag value even if tag is out of bounds due to addition * Clean up a bit * Add explanatory comment * Initialize to empty * Resolve PR comment issue regarding LRU eviction for tags * Address PR review: two-phase rollback and remove unused dictType param Rollback in UndoableLRUDictionary previously restored nodes one at a time, doing remove/setContents/put on the content-based nodeToIndex HashMap. This could clobber entries when two nodes shared the same content during the restore (e.g., an evicted value re-added to a different slot). The fix restores all node state first, then rebuilds nodeToIndex from scratch. Also removes the unused dictType parameter from TagCompressionContext since every caller hardcodes LRUDictionary.class and we always need UndoableLRUDictionary for correctness. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: skhillon <skhillon@hubspot.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…deletes subsequent COMPLETE backups (not yet upstream) Co-authored-by: Hernan Gelaf-Romer <hgelafromer@hubspot.com>
…essors in region replication (CDC optimization) * Filter cell. extended attributes and split oversized batches in region replica replication Region replica replication was forwarding all extended attributes including large "cell."-prefixed ones added by CDC coprocessors that have no use for replicas. Strip these in replicate() before buffering to reduce memory and network overhead. Also add RPC size limit enforcement (matching HBaseInterClusterReplicationEndpoint) to split batches that exceed hbase.ipc.max.request.size, preventing permanently stalled replication. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Fix test compilation: add replicationRpcLimit parameter to test call sites Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Add unit tests for splitBatches and extract as package-private static method Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Remove controller.reset() between batch RPCs reset() clears priority, callTimeout, tableName, and regionInfo which were set by the superclass before call() was entered. Since setCellScanner is called at the top of each loop iteration with the new batch's scanner, no cleanup is needed between iterations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Revert batch-splitting changes, keep only cell. attribute filtering Scoping down to just the extended attribute filtering. The batch-splitting for oversized RPCs will be addressed separately. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: skhillon <skhillon@hubspot.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Hernan Gelaf-Romer <hgelafromer@hubspot.com>
…n 2.7) Co-authored-by: Ray Mattingly <rmattingly@hubspot.com>
…ulkloaded HFiles (not yet upstream)
…kup HFiles (not yet upstream)
…emental backup bulkload copy (not yet upstream) Co-authored-by: Hernan Gelaf-Romer <hgelafromer@hubspot.com>
…mpt to merge primary and secondary replicas (will be in 2.6.6) * HubSpot Backport: HBASE-30299 Filter secondary replicas from region normalization planning The SimpleRegionNormalizer.NormalizeContext was including secondary replica regions in the list of table regions used for merge/split planning. Add a filter to remove non-default replicas so only primary regions are considered for normalization. Cherry-picked from apache/hbase cd4fce2 * Add table name retrieval in test for secondary replica handling in region planning --------- Co-authored-by: sahmadsabri <sahmadsabri@hubspot.com>
charlesconnell
force-pushed
the
hubspot-2.6
branch
from
August 4, 2026 15:42
48b8692 to
5c205e2
Compare
SaadASTheDev
force-pushed
the
gZipByteBuffDecompressor-hs26
branch
from
August 4, 2026 17:28
377b588 to
661f85d
Compare
charlesconnell
force-pushed
the
hubspot-2.6
branch
from
August 4, 2026 20:54
5c205e2 to
ad41b28
Compare
added 3 commits
August 4, 2026 23:44
…ssor and improve error handling
…ove error handling
charlesconnell
force-pushed
the
hubspot-2.6
branch
3 times, most recently
from
August 9, 2026 22:57
791eac7 to
e414974
Compare
…buff Brings in the latest versions of GzipByteBuffDecompressor, GzipHFileDecompressionContext, TestGzipByteBuffDecompressor, and TestHFileCompressionGzip from the HBASE-30321-gzipbytebuff branch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pulls latest refactor that removes heap decompression logic and supports only direct-to-direct decompression via ZlibDirectDecompressor (zero-copy path). Heap/mixed buffer callers fall back to the stream path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…zipCodec