HBase 30024 tiered exclusive topology#8475
Closed
VladRodionov wants to merge 8 commits into
Closed
Conversation
…che#8155) Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
…e#8184) Signed-off-by: Peter Somogyi <psomogyi@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Reviewed by: Kota-SH <shanmukhaharipriya@gmail.com>
…ssService (apache#8279) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Reviewed by: Kota-SH <shanmukhaharipriya@gmail.com>
…ation to use CacheAccessService (apache#8325) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
…che instances (apache#8359) Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
…gable cache engines (apache#8384) Signed-off-by: Andor Molnár <andor@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
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.
Summary
This PR adds a compatibility bridge from the existing
BlockCacheAPI to the newCacheEngineabstraction.TieredExclusiveTopologyandTopologyBackedCacheAccessServiceoperate onCacheEngineinstances, but the existing production cache implementations such asLruBlockCache,BucketCache,TinyLfuBlockCache, andLruAdaptiveBlockCachestill implementBlockCache.BlockCacheBackedCacheEngineallows these legacy cache implementations to participate in topology-backed cache wiring before they are migrated to implementCacheEnginedirectly.This is an incremental migration step. It does not change production cache wiring and does not remove or replace
CombinedBlockCache.Changes
BlockCacheBackedCacheEngine, aCacheEngineadapter backed by an existingBlockCache.CacheEngineshelper factory for creatingCacheEngineinstances from legacyBlockCacheinstances.TopologyBackedCacheAccessServicecan operate throughTieredExclusiveTopologyusingBlockCache-backed engines.Migration path
The new cache architecture is moving toward:
AI assistance disclosure
This PR was prepared with assistance from ChatGPT. All changes were reviewed, tested, and submitted by the author.