struct Service::CreateShard
- Service::CreateShard
- Struct
- Value
- Object
Defined in:
service/create_shard.crConstructors
Instance Method Summary
-
#find_qualifier : Tuple(String, Int64 | Nil)
Try to find a suitable shard name + qualifier.
- #perform
Constructor Detail
Instance Method Detail
def find_qualifier : Tuple(String, Int64 | Nil)
#
Try to find a suitable shard name + qualifier. If there is already a shard by that name, the repo could reasonable be a mirror, a fork or simply a homonymous shard. This is impossible to reliably detect automatically. In essence, both forks and distinct shards need a separate shard instance. Mirrors should point to the same shard, but such a unification needs to be manually reviewed.