Hi Colin,
thanks for the email but I'm still not getting the expected results. That's what I've done so far.
- Start server1 and create database "test"
- run the following commands:
create class MyClass extends V
create property MyClass.id long
create index MyClass.id UNIQUE
insert into MyClass (id) values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10)
- start server2. The data gets replicated
- run the following command:
ALTER CLASS MyClass ADDCLUSTER myclass_orientdb02
After all that I still see the 10 rows inserted on "myclass" and nothing has been sharded on cluster "myclass_orientdb02"
myclass | 12 | | 10 |
myclass_orientdb02 | 17 | | 0 |
How can I rebalance the data so there's 5 rows on each cluster?