-
Notifications
You must be signed in to change notification settings - Fork 276
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]: 阿里云上查询历史SQL时,偶现Error 20405 (HY000): file local-test20/data/eb575fd2-252f-11ee-91e4-1a5f33c77f72_00045 is not found错误 #10763
Comments
我判断不是 file service 问题 re-assigning to @xzxiong |
跟我不相关,请联系引擎的同学分析~ |
the original error stack is lost, try repo |
从当前的 aliyun MO 集群上查看 (部署时间
|
尝试访问老MO 集群信息,bucket restart old MO Cloud aliyun 配置如下 相关脚本
|
使用 hack dev 版本,绕过 dump账号 鉴权。 diff --git a/pkg/frontend/mysql_protocol.go b/pkg/frontend/mysql_protocol.go
index 7e8e05480..ab39da3f5 100644
--- a/pkg/frontend/mysql_protocol.go
+++ b/pkg/frontend/mysql_protocol.go
@@ -1131,7 +1131,7 @@ func (mp *MysqlProtocolImpl) authenticateUser(ctx context.Context, authResponse
logDebugf(mp.getDebugStringUnsafe(), "authenticate user 2")
//TO Check password
- if mp.checkPassword(psw, mp.GetSalt(), authResponse) {
+ if mp.checkPassword(psw, mp.GetSalt(), authResponse) || mp.GetUserName() == "dump" {
logDebugf(mp.getDebugStringUnsafe(), "check password succeeded")
ses.InitGlobalSystemVariables()
} else { |
启动的MO查询太慢了,原因不明
|
在 aliyun上申请了一台虚拟机,通过 ossutil 下载了整个数据目录(过滤掉 query_result 下所有的 blk后缀的文件,这种文件数量大,文件小约 500B),再启动standalone模式。
[[fileservice]]
name = "SHARED"
-backend = "DISK"
+backend = "DISK-ETL"
data-dir = "mo-data/s3"
|
抓取到对应的 error_info 信息
|
query sql: found eb575fd2-252f-11ee-91e4-1a5f33c77f72_00033 has been deleted at
found:
|
issue 中的查询,连接是长连接,但是不会开启长事务; |
mo数据打包至aliyun 上海region的 |
@LeftHandCold ptal |
还做object meta和ckp的重构工作,没来的急分析 |
还没来得及分析 |
复现观察中 |
这个一直没有复现过 |
稳定性也没有在出现过 |
Is there an existing issue for the same bug?
Environment
Actual Behavior
/* cloud_nonuser */
SELECT * FROM (
select
statement
,system.statement_info.statement_id,IF(
status
='Running', TIMESTAMPDIFF(MICROSECOND,request_at
,now())*1000,duration
) ASduration
,status
,query_type
,request_at
,system.statement_info.response_at,user
,database
,transaction_id
,session_id
,rows_read
,bytes_scan
,result_count
from system.statement_info left join mo_catalog.statement_cu ON system.statement_info.statement_id = mo_catalog.statement_cu.statement_id where 1=1
AND
request_at
>= '2023-07-19 05:09:59' AND system.statement_info.account = 'd4d103c4_4088_4674_9591_5dddb48de490' AND sql_source_type IN ('cloud_user_sql','external_sql'))t ORDER BY request_at DESC LIMIT 20;
报错:Error 20405 (HY000): file local-test20/data/eb575fd2-252f-11ee-91e4-1a5f33c77f72_00045 is not found
Expected Behavior
查询出结果。
Steps to Reproduce
Additional information
偶现问题,有时会频繁出现,有时保持正常。
目前在阿里云上发现。
The text was updated successfully, but these errors were encountered: