kaijianding edited a comment on pull request #10688:
URL: https://github.com/apache/druid/pull/10688#issuecomment-749541740
> Is what you proposed that make druid have the ability to find and solve
corrupted segments during runtime no matter lazyOnStart or not?
Only when lazy load should be good enough.
if (lazy) {
columns.put(columnName, Suppliers.memoize(
() -> {
try {
return deserializeColumn(mapper, colBuffer, smooshedFiles);
}
catch (IOException e) {
throw Throwables.propagate(e);
}
}
));
}
Maybe do something in this IOException catch and trigger
SegmentManager.dropSegment(dataSegment) somehow.
U need pass in the segmentManager instance in some way. @zhangyue19921010
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]