Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

feat: support shard affinity #245

Merged
merged 7 commits into from
Oct 9, 2023

Conversation

ShiKaiWi
Copy link
Member

@ShiKaiWi ShiKaiWi commented Oct 3, 2023

Rationale

In some cases, some specific shards may contain tables whose query or write requests are massive, and these tables are hoped to be migrated to some node alone.

Detailed Changes

  • Provide the shard affinity mechanism when generating the shard topology
  • Support to manipulate the affinity configures by debug api
  • Regroupping the packages of different scheduler

Test Plan

New unit tests are added.

@ShiKaiWi ShiKaiWi marked this pull request as draft October 7, 2023 07:36
@ShiKaiWi ShiKaiWi marked this pull request as ready for review October 8, 2023 05:45
Copy link
Contributor

@ZuLiangWang ZuLiangWang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZuLiangWang ZuLiangWang merged commit e35dcb3 into apache:main Oct 9, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants