-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
insert fail on distributed mode #6093
Comments
first we tried to restart the db, but the exception still appear several minutes after restart. then restarted it as standalone server, and it disappeared. |
logs before exception:
|
I noticed that for insert, normal responses of send2Nodes should have same rid for all nodes, right? but in our case have different rid which causes the exception. (all insertion failed after that point) what causes the inconsistence, and seems the db cannot automatically recover it. |
This exception:
Is the cause. We had an issue on indexes, so I guess you have 2 records for the same key. Could you please resolve the duplication and upgrade to last 2.1.x? @tglman is this fix in v2.1.x? |
Hi, Yes all the fix based on cleanup on exception are in 2.1.x. Regards |
thanks for quick reply, currently we use unique index to avoid duplication, what do you mean by resolve the duplication? do we need to check duplication before insert, and delete existing duplication manually to resolve the inconsistence? thanks. |
Hi @ray3888, Well this is actually what does oriendb in case of notTx usage, the point is that some of this beavior was fixed in a hotfix more recent of 2.1.7 so we are suggesting to update to the last hotfix(currently 2.1.16). Regards |
thanks for the advice. we will upgrade soon. Regards |
upgraded to 2.1.16 two days ago, enabled distributed mode, and changed from noTx to Tx just in case, works well up to now. |
hi @ray3888, Great, can we close this now ? |
sure |
After running stably for 3 months, suddenly there were a lot of following exceptions, seems node1 cannot accept insert operation, but update/query is ok. and insert is ok on node2.
Now we disabled distributed mode.
Thanks for any idea.
version: 2.1.7
"executionMode": "synchronous"
data size: vert 2500k, edge 2500k
The text was updated successfully, but these errors were encountered: