bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Bookie should not shutdown when disk IO error

Open hangc0276 opened this issue 4 years ago • 6 comments

FEATURE REQUEST

  1. Please describe the feature you are requesting. In current Bookkeeper implementation, when disk occurs IO error, eg, disk readonly failure or disk sector failure, it will trigger bookie shutdown and the bookie can't startup before the bad disk kicked off by admin. In my production, we has 24 disks per node and the disks' failure rate is high enough. If the bookie shutdown when occurs disk IO error, it will trigger Bookkeeper cluster to re-replicate the lost data, which belongs to the shutdown bookie. However the amount of data belongs to the bookie will be tens of TB, which will cause Bookkeeper cluster busy and make it unstable.

  2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). In my env, i should solved this problem before bring it to production.

  3. Provide any additional detail on your proposed use case for this feature. Do you have any ideas or plans to add this feature, or we can discuss the feature design.

hangc0276 avatar Jan 11 '21 10:01 hangc0276

Could you give me some suggestion? @sijie @merlimat @ivankelly @eolivelli @jiazhai

hangc0276 avatar Jan 11 '21 11:01 hangc0276

in my opinion we do not have tools and features to handle this case. but definitely we should do something I have only experience of single disk Bookies

probably @jvrao @karanmehta93 or @merlimat and @sijie may have more experience to share

eolivelli avatar Jan 13 '21 09:01 eolivelli

@hangc0276 as we discussed offline, we should mark a disk as broken and trigger auto-recovery to replicate the entries on that disk.

sijie avatar Jan 13 '21 10:01 sijie

@hangc0276 as we discussed offline, we should mark a disk as broken and trigger auto-recovery to replicate the entries on that disk.

@sijie @hangc0276 we also meet this problem in our production. Is it possible to add such feature in bookie? Such as dfs.datanode.failed.volumes.tolerated in hdfs.

wangjialing218 avatar Oct 08 '21 10:10 wangjialing218

+1

zcola avatar Feb 16 '22 03:02 zcola

Is there a solution to this problem now?

mawenyu avatar Dec 05 '24 12:12 mawenyu