Skip to content
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

SELECT query seems to break down index #8216

Closed
sreznick opened this issue Apr 16, 2018 · 0 comments
Closed

SELECT query seems to break down index #8216

sreznick opened this issue Apr 16, 2018 · 0 comments
Assignees
Milestone

Comments

@sreznick
Copy link

OrientDB Version: 3.0.0.RC2

Java Version: 9.0.4

OS: Java - Windows10, Orient - Ubuntu 16.4

Expected behavior

select with equals condition finds record

Actual behavior

select with equals condition does NOT find record.
Meanwhile select with 'like'-condition finds it. AFAIU like-based select does not use index. So index seems to be broken.

And problem is reproduced only if some select is performed in the same transaction as addition of data.
Without such select problem is not reproduced.

Steps to reproduce

Attached is java program that reproduces issue.
You should start it on empty instance of OrientDB.
Commenting out select query inside transaction makes issue to disapperar.
Select.txt

@laa laa added this to the 3.0.x milestone Apr 17, 2018
@laa laa closed this as completed Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants