You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was testing how the indexes behave with shards and noticed that is possible to have two records with the same unique property.
My schema:
ALTERDATABASE MINIMUMCLUSTERS 3
create class User extends V
create property User.name string
createindexUser.name unique
alter cluster user_0 name user_usa
alter cluster user_1 name user_eur
alter cluster user_2 name user_chi
This will be supported in v3.0 with the autosharded index. In v2.2 we already have a local implementation, in v3.0 will be supported in distributed mode to have a regular DHT.
Hi @lvca
I have tried this issue to reproduce the result with the version 2.2.33. I can't!
But I could after I had changed my Orientdb version to 2.0.7.
I don't understand why it happens. ( This is my problem that I mention in #8234 )
Hi,
I was testing how the indexes behave with shards and noticed that is possible to have two records with the same unique property.
My schema:
This code will reproduce it.
The output is:
Start first node usa so that its port is 2424. Then eur -> 2425. Then chi -> 2426.
After the first insert (on chi node), I believe this is what happens:
My question is: if it's an unique index, shouldn't the writeQuorum be disrespected, and check all nodes?
v2.0.7
Logs:
The text was updated successfully, but these errors were encountered: