Skip to content
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

rpc: ignore offline/unassigned regions during cache warmup #274

Merged
merged 1 commit into from
Oct 23, 2024

Commits on Oct 23, 2024

  1. rpc: ignore offline/unassigned regions during cache warmup

    When warming up the cache, ignore regions that are offline/unassigned.
    They could exist for many reasons:
    - parent region after a split, until daughter regions are compacted
    - regions that are merged together, until compaction happens
    - region moving due to HBase LoadBalancer, RegionServer shutting down or
      manually
    - etc
    
    It's not critical if we are missing a few regions in the cache during
    warmup. The most important thing is for the warmup to be fast and to
    fill in with as many regions as possible. Other regions will be fetched
    later as needed.
    dethi committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    a245718 View commit details
    Browse the repository at this point in the history