Skip to content

fix: include shard epoch in query cache keys - #4

Open
jearthliu wants to merge 2 commits into
rasoolharlym8:mainfrom
jearthliu:fix/topology-aware-cache-keys
Open

fix: include shard epoch in query cache keys#4
jearthliu wants to merge 2 commits into
rasoolharlym8:mainfrom
jearthliu:fix/topology-aware-cache-keys

Conversation

@jearthliu

Copy link
Copy Markdown

Cache keys now incorporate the tenant shard-assignment epoch, rotating on rebalance so fragments from an old shard assignment can never merge with new ones. Mid-flight rebalance discards the cache write to avoid stale fragments. Closes #1.

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

Successfully merging this pull request may close these issues.

🎯 Fix Cache Key Collision and Partial Results During Tenant Shuffle-Sharding Rebalance in Query Frontend

1 participant