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

fix the bug that index scan rule chooses a wrong geo index #5922

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

jievince
Copy link
Contributor

@jievince jievince commented Aug 13, 2024

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Fix #5919

Description:

When geo indexes and other indexes are on a tag/edge type, the services will crash because it may wrongly choose a non-geo index for a geo-related query.

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to be reflected in release notes and how to describe:

ex. Fixed the bug .....

@jievince jievince added ready-for-testing PR: ready for the CI test auto-sync labels Aug 13, 2024
@yixinglu yixinglu merged commit 40ee8ac into vesoft-inc:master Aug 14, 2024
3 of 5 checks passed
cfwl100 pushed a commit to cfwl100/nebula that referenced this pull request Sep 2, 2024
* 'master' of https://github.com/cfwl100/nebula:
  Enabled CodeQL scanning
  fix the bug that index scan rule chooses a wrong geo index (vesoft-inc#5922)
  snapshot manager add ssl config
cfwl100 added a commit to cfwl100/nebula that referenced this pull request Sep 2, 2024
* 'master' of https://github.com/cfwl100/nebula:
  Enabled CodeQL scanning
  fix the bug that index scan rule chooses a wrong geo index (vesoft-inc#5922)
  snapshot manager add ssl config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-sync ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When LOOKUP ON Tag by geo index the storaged service will crash
4 participants