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]: create view in pessimistic mode wait for lock. #10712

Closed
1 task done
Ariznawlll opened this issue Jul 17, 2023 · 6 comments
Closed
1 task done

[Bug]: create view in pessimistic mode wait for lock. #10712

Ariznawlll opened this issue Jul 17, 2023 · 6 comments
Assignees
Labels
kind/bug Something isn't working needs-triage severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Milestone

Comments

@Ariznawlll
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):d8e84ac965d2d7451add3045e798ae93a23132d5
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image

log.txt

It can't be reproduced locally.

Expected Behavior

No response

Steps to Reproduce

in mo-tester:
./run.sh -n -g -p /matrixone/test/distributed/cases/view/view-subquery-with-in.sql -m run

Additional information

No response

@Ariznawlll Ariznawlll added kind/bug Something isn't working needs-triage severity/s0 Extreme impact: Cause the application to break down and seriously affect the use labels Jul 17, 2023
@Ariznawlll Ariznawlll added this to the 1.0.0 milestone Jul 17, 2023
@ouyuanning
Copy link
Contributor

not working on it

@ouyuanning
Copy link
Contributor

ouyuanning commented Jul 18, 2023

you can repro like (in pessimistic mode):

use db1;
drop view v_not_exists;    //here will return error. and I think MO do not unlock mo_tables with table name "v_not_exists"
create view v_not_exists;   // will hung. will wait unlock

@ouyuanning ouyuanning assigned Ariznawlll and unassigned ouyuanning Jul 18, 2023
@Ariznawlll
Copy link
Contributor Author

Ariznawlll commented Jul 19, 2023

Same behavior as before.
image
test.txt

@ouyuanning
Copy link
Contributor

就是当ddl语句执行,在commit失败后,需要执行unlock操作的问题。

@zhangxu19830126
Copy link
Contributor

fixed

@Ariznawlll
Copy link
Contributor Author

image

Verified!

@Ariznawlll Ariznawlll mentioned this issue Jul 26, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working needs-triage severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Projects
None yet
Development

No branches or pull requests

3 participants