I think that might have just been an oversight. We shouldn't allow creation
of an alias for non-existent collections.

On a similar note, I think we should also be clearing out the aliases when
we DELETE a collection.

-Anshum

On Fri, Dec 9, 2016 at 12:57 PM Tomás Fernández Löbbe <tomasflo...@gmail.com>
wrote:

> We currently support requests to CREATEALIAS to collections that don’t
> exist. Requests to this alias later result in 404s. If the target
> collection is later created, requests to the alias will begin to work. I’m
> wondering if someone is relying on this behavior, or if we should validate
> the existence of the target collections when creating the alias (and thus,
> fail fast in cases of typos or unexpected cluster state)
>
> Tomás
>

Reply via email to