mirror of https://github.com/apache/druid.git
1) Log exception when there is an error removing a segment
This commit is contained in:
parent
9d80369c2b
commit
cd0fa34a73
|
@ -261,7 +261,7 @@ public class ZkCoordinator implements DataSegmentChangeHandler
|
||||||
announcer.unannounceSegment(segment);
|
announcer.unannounceSegment(segment);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
log.makeAlert("Failed to remove segment")
|
log.makeAlert(e, "Failed to remove segment")
|
||||||
.addData("segment", segment)
|
.addData("segment", segment)
|
||||||
.emit();
|
.emit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue