doris be机器宕机后重启后,查询报Failed to get scan range, no queryable replica found in tablet的错误
Describe the bug
doris be机器宕机后重启后,查询报Failed to get scan range, no queryable replica found in tablet的错误
以下是查询时fe的日志截图:
通过SHOW PROC '/dbs/13055/180479/partitions/180440/186440/186624';
查看tablet状态是DECOMMISSION状态
通过curl -X POST "http://xxx/api/restore_tablet?tablet_id=186624&schema_hash=359114830" 尝试修复
返回"msg": "tablet already exists, can not restore."
应该是元数据丢失了的问题
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
2.14 , 2.15 版本 还是会有这个问题,目前是100% 出现,正在大量插入数据的情况下,如果机房忽然断电,再次重启,be 就起不来了
2.14 , 2.15 版本 还是会有这个问题,目前是100% 出现,正在大量插入数据的情况下,如果机房忽然断电,再次重启,be 就起不来了 我使用的2.1.9 也是机房断电然后重启就报这个错误 1105 - errCode = 2, detailMessage = Failed to get scan range, no queryable replica found in tablet: 346152. Reason: Visible Replicas:Visible version: 25565, Replicas: [replicaId=346153, backendId=16006, backendAlive=false, version=25565, lastFailedVersion=25566, lastSuccessVersion=25565, lastFailedTimestamp=0, state=NORMAL].
You can try setting sync_tablet_meta=true in be.conf. But this will slow down the performance.
You can try setting
sync_tablet_meta=truein be.conf. But this will slow down the performance.
Thanks for the suggestion
We're closing this issue because it hasn't been updated in a while. If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!