I think that this is not an exceptional case, as nothing is broken.
Throwing exception may make migration from other systems harder. Warning
should be enough.
Also remember that all SQL caches already have 1-2 automatic indexes out of
the box, and we haven't seen much performance complaints about that.
Additional duplicate index will not lead to severe performance degradation
or system stall.

On Fri, Nov 30, 2018 at 3:52 PM Yakov Zhdanov <yzhda...@apache.org> wrote:

> Zhenya,
>
> Vladimir suggested not to restrict anything. However, my opinion is to
> throw exception on duplicating indexes. We should better add ability to
> rename index if it can be useful for anyone. Having same field set indexed
> with same index type is pretty strange and adds a lot of risk for
> performance of the system. If this is hard to support in 2.x then let's do
> it in 3.0. Vladimir, what do you think?
>
> -- Yakov
>

Reply via email to