This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 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.
- Loading branch information
Showing
23 changed files
with
804 additions
and
244 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0. | ||
|
||
package manager | ||
|
||
import "github.com/CeresDB/ceresmeta/pkg/coderr" | ||
|
||
var ErrInvalidTopologyType = coderr.NewCodeError(coderr.InvalidParams, "invalid topology type") |
Oops, something went wrong.