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

bug: select return nothing but retry will get results #5973

Closed
1 of 2 tasks
ZeaLoVe opened this issue Jun 14, 2022 · 7 comments · Fixed by #6501
Closed
1 of 2 tasks

bug: select return nothing but retry will get results #5973

ZeaLoVe opened this issue Jun 14, 2022 · 7 comments · Fixed by #6501
Assignees
Labels
C-bug Category: something isn't working

Comments

@ZeaLoVe
Copy link
Contributor

ZeaLoVe commented Jun 14, 2022

Search before asking

  • I had searched in the issues and found no similar issues.

Version

v0.7.82-nightly

What's Wrong?

WtQ54VJNym

cc @sundy-li

How to Reproduce?

Easy to reproduce in the process of testing a large number of select statements.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@ZeaLoVe ZeaLoVe added the C-bug Category: something isn't working label Jun 14, 2022
@sundy-li sundy-li self-assigned this Jun 14, 2022
@ZeaLoVe
Copy link
Contributor Author

ZeaLoVe commented Jun 15, 2022

Fixed in the build v0.7.86-nightly, close it,

@ZeaLoVe ZeaLoVe closed this as completed Jun 15, 2022
@ZeaLoVe ZeaLoVe reopened this Jun 15, 2022
@ZeaLoVe
Copy link
Contributor Author

ZeaLoVe commented Jun 15, 2022

1_1_select.txt

Still exists when running the logic test with this case. cc @youngsofun

@youngsofun
Copy link
Member

youngsofun commented Jun 15, 2022

@zhang2014

both http handler and mysql handler fail because some query should return some rows but did not.
these are flaky test, seem not related to a Specific case
I guess it may be a bug of pipeline? can you help with deuging/fixing it?

unzip select_cases.zip
in tests/logictest/suites/gen
replace tests/logictestlogictest.py with logictest.py.txt

export DISABLE_HTTP_LOGIC_TEST=1
cd tests/logictest
python ./main.py ".*select.*.test"

@zhang2014
Copy link
Member

@youngsofun Ok. I will try to fixes it.

@zhang2014 zhang2014 self-assigned this Jun 15, 2022
@youngsofun
Copy link
Member

youngsofun commented Jun 15, 2022

FYI

  1. the table is inserted many times, so with many partitions.
  2. an idea: maybe we can find one fail case, and write a script to query it many times expecting a fail, with a fixed case, we can add more assert in code to find the bug. but did not work on unit-test (did not fail)

@ZeaLoVe
Copy link
Contributor Author

ZeaLoVe commented Jun 21, 2022

@zhang2014 Any progress?

@zhang2014
Copy link
Member

Sorry, I worked on other tasks before. Now let's come back here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants