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

Failed to delete python script from scripts table #2813

Closed
zyy17 opened this issue Nov 24, 2023 · 2 comments
Closed

Failed to delete python script from scripts table #2813

zyy17 opened this issue Nov 24, 2023 · 2 comments
Assignees
Labels
C-bug Category Bugs

Comments

@zyy17
Copy link
Collaborator

zyy17 commented Nov 24, 2023

What type of bug is this?

Incorrect result

What subsystems are affected?

Frontend, Datanode

Minimal reproduce step

  1. Deploy greptimedb cluster: https://docs.greptime.com/getting-started/try-out-the-greptimedb-cluster
  2. Add scripts: https://docs.greptime.com/user-guide/python-scripts/getting-started;
  3. Delete the scripts:
mysql> select name from scripts;
+---------------+
| name          |
+---------------+
| system_status |
+---------------+
1 row in set (0.01 sec)

mysql> delete from scripts where name = 'system_status';
ERROR 1815 (HY000): Invalid request to region 4402341478400(1025, 0), reason: missing column script

What did you expect to see?

Delete script OK

What did you see instead?

mysql> select name from scripts;
+---------------+
| name          |
+---------------+
| system_status |
+---------------+
1 row in set (0.01 sec)

mysql> delete from scripts where name = 'system_status';
ERROR 1815 (HY000): Invalid request to region 4402341478400(1025, 0), reason: missing column script

What operating system did you use?

macOS

Relevant log output and stack trace

No response

@zyy17 zyy17 added the C-bug Category Bugs label Nov 24, 2023
@evenyag
Copy link
Contributor

evenyag commented Nov 24, 2023

Should be a bug in mito engine 😢

@evenyag
Copy link
Contributor

evenyag commented Nov 24, 2023

Addressed in #2815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category Bugs
Projects
None yet
Development

No branches or pull requests

3 participants