doris icon indicating copy to clipboard operation
doris copied to clipboard

doris be机器宕机后重启后,查询报Failed to get scan range, no queryable replica found in tablet的错误

Open vortual opened this issue 5 years ago • 5 comments

Describe the bug doris be机器宕机后重启后,查询报Failed to get scan range, no queryable replica found in tablet的错误 以下是查询时fe的日志截图: image 通过SHOW PROC '/dbs/13055/180479/partitions/180440/186440/186624'; 查看tablet状态是DECOMMISSION状态 image 通过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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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.

vortual avatar May 21 '21 05:05 vortual

2.14 , 2.15 版本 还是会有这个问题,目前是100% 出现,正在大量插入数据的情况下,如果机房忽然断电,再次重启,be 就起不来了

gospider001 avatar Aug 07 '24 13:08 gospider001

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].

liuyi-stack avatar Sep 03 '25 07:09 liuyi-stack

You can try setting sync_tablet_meta=true in be.conf. But this will slow down the performance.

morningman avatar Sep 16 '25 22:09 morningman

You can try setting sync_tablet_meta=true in be.conf. But this will slow down the performance.

Thanks for the suggestion

liuyi-stack avatar Sep 17 '25 01:09 liuyi-stack

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!

github-actions[bot] avatar Mar 17 '26 00:03 github-actions[bot]