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
grn_pat: grn_pat_delete() fails after many adds and deletes #421
Comments
|
There are only 3 valid nodes after
|
|
It seems that this problem happens when |
|
If |
|
I've found a simple pattern to reproduce the problem. First, run the following commands. Then, repeat the following commands The last delete fails and the table breaks as follows: The attached file is an example for |
|
This bug has been fixed. |
|
The latest grn_pat passes tests for bit-swapped keys and ShortText keys. |
|
I've added a unit test named |
Description
I've found some cases in which
grn_pat_delete()fails even if its target key exists.The problem happened after more than 1,000 adds and deletes.
The following is the shortest case I found.
r4-s733.txt
edit: updated at 2015-10-19 16:39.
The text was updated successfully, but these errors were encountered: