lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum Gupta <ans...@anshumgupta.net>
Subject Re: CREATEALIAS to non-existing collections
Date Fri, 09 Dec 2016 21:12:58 GMT
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 <tomasflobbe@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message