Skip to content
This repository was archived by the owner on Feb 18, 2021. It is now read-only.
This repository was archived by the owner on Feb 18, 2021. It is now read-only.

Allow defining shard maps less verbosely using ranges and lists #57

@drawks

Description

@drawks

Since #34 is still open I suppose it's possible that this is already implemented and not documented, but a cursory glance at the code doesn't seem to support that theory. It would be nice, especially when many shards are defined if some short hand could be used instead of the current simple k:v mapping.

Allowing shard keys to be defined as things like 0-100 for the inclusive range of integers from 0 to 100 or 2,4,6,8 as an arbitrary set of shards would make the yaml much simpler to write and maintain especially in cases of large installations with thousands of shards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions