Try to shard by key, fall back to random