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

SQL查询 只能查询一次? #2766

Open
visla-xugeng opened this issue Aug 19, 2024 · 7 comments
Open

SQL查询 只能查询一次? #2766

visla-xugeng opened this issue Aug 19, 2024 · 7 comments

Comments

@visla-xugeng
Copy link

visla-xugeng commented Aug 19, 2024

重现步骤

1: installed the Archery by using helm chart

预期外的结果

SQL查询页面,在线查询功能, 查询一次之后,右边的SQL 查询 button 就无法再点击了,即使我已经更新了查询语句。 在查询之后,看起来页面并没有自动refresh。(我现在必须手动refresh web page, 才可以进行新的SQL 查询。)这个非常不方便。

日志文本

Archery pod 没有提示任何错误。每次查询结束,我必须手动refresh web page, 才可以进行新的SQL查询。请问这个是什么问题?

版本

1.11.1

部署方式

K8S

是否还有其他可以辅助定位问题的信息?比如数据库版本等

No response

@visla-xugeng
Copy link
Author

@LeoQuote Sorry for AT you directly. I hope you can take a look at this issue. Thanks.

@LeoQuote
Copy link
Collaborator

先升 master再聊

@visla-xugeng
Copy link
Author

What do you mean? Can you explain it?

@hhyo
Copy link
Owner

hhyo commented Aug 24, 2024

演示环境并无法重现这个问题,可以尝试更换游览器,或者查看游览器控制台错误,或者提供能够复现的case

@cxheny
Copy link

cxheny commented Aug 27, 2024

这个问题应该是第一次查询的SQL执行时间过久导致查询按钮一直处于置灰状态,刷新后相当于重新提交新sql的请求了

@visla-xugeng
Copy link
Author

@hhyo 谢谢,我尝试好了不同的browser , 都有这个问题。
我们team的人,都能遇到这个问题。从Browser console可以看到
Uncaught ReferenceError: query_resultId is not defined
Screenshot2024_09_25_121837

从Debugger 那边可以看到,
Error: Incorrect contents fetched, please reload.
Screenshot2024_09_25_121737

@cxheny 谢谢回复,我的每次查询耗时非常短。

@feiazifeiazi
Copy link
Contributor

@visla-xugeng 重现不了。
还得靠你发现到底是啥原因。 你的截图上面是127.1的,那部署在服务器查询也会这样吗?

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

No branches or pull requests

5 participants