Hi Colin, Indexes are per-server, but this is covered by OrientDB automatically.
Lvc@ On 3 December 2014 at 19:55, Colin <[email protected]> wrote: > If I create an index on a class's property and give it a unique > constraint, and if I have that class sharded across multiple servers, if I > do an insert with that property, do the indices on all servers where the > data is sharded get checked for uniqueness? > > In other words, does the index unique constraint get distributed on all > relevant servers automagically, or is there a chance that duplicate data > could be inserted depending on which shard was chosen? > > Thank-you, > > -Colin > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
