-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Edge prop mismatch and missing edge(including in/out edges) with toss flag turn on #3030
Comments
This happens only if a raft partition's leader change from Host A to Host B, then change back to Host A. TOSS has a constrain that when any raft peer elected as leader, it will do a scan prime to see if there are any prime in KV store. after that scan, it will set its partition id in a toss whitelist. But if the leader change too quickly to erase the leader lost partition id from that whitelist. And a new insert request come. Which mean this may happen in the test application, because it will call storage thrift interface directly. But won't happen in the normal graph client. (It need some delay to know the new leader, and is enough to start a prime scan) |
But I think this is still a problem that we should fix, beacause:
|
Agree, just write something to explain this is not a big problem in 2.6 (because graph client will cover this). also trying to fix in 2.6 if possible. |
Got something, If raft leader replicaLog succeed, but then, leader(term) changed. It will report to processor that this log failed. (Code: TERM_OUT_OF_DATE, will transform as E_CONSENSUS_ERROR ) But, as this log is already sent to two followers(one of them will be leader), this log will be commit at last. Looks like we need distinguish a real TERM_OUT_OF_DATE(before replica), or TERM_CHANGED_AFTER_REPLICATE. we don't have enough time to well test this, please move to 3.0 |
Please check the FAQ documentation before raising an issue
Please check the FAQ documentation and old issues before raising an issue in case someone has asked the same question that you are asking.
Describe the bug (must be provided)
Edge prop mismatch and missing edge(including in/out edges) under with toss flag turn on
Your Environments (must be provided)
How To Reproduce(must be provided)
Steps to reproduce the behavior:
Expected behavior
4096 edges, with same props on each edge's in/out edges/
Additional context
Provide logs and configs, or any other context to trace the problem.
what we found in the result check:
The text was updated successfully, but these errors were encountered: