Skip to content

feat: improve sharding types and utils #2468

@weboko

Description

@weboko

Description

Our type definitions for sharding are hectic and utilities are spear across the codebase.

Examples:

Solution

We should ensure we have one place for types and definitions are clear with no ambiguity:

  • shard / shards / number of shards under cluster
  • auto sharding vs static sharding

As for utils everything should be moved into ShardingReader and re-used from there if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceMarks maintenance type of tasks.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions