From f3b04d3f5f21a5566acb35b881c6d730daea6a06 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Fri, 25 Jan 2013 11:33:50 -0800 Subject: [PATCH] S3SegmentKiller: Add TODO note --- .../src/main/java/com/metamx/druid/loading/S3SegmentKiller.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/main/java/com/metamx/druid/loading/S3SegmentKiller.java b/server/src/main/java/com/metamx/druid/loading/S3SegmentKiller.java index 801e16a1602..add1d45824e 100644 --- a/server/src/main/java/com/metamx/druid/loading/S3SegmentKiller.java +++ b/server/src/main/java/com/metamx/druid/loading/S3SegmentKiller.java @@ -52,6 +52,8 @@ public class S3SegmentKiller implements SegmentKiller @Override public List kill(final String datasource, final Interval interval) throws ServiceException { + // TODO -- Awkward for workers to use the DB! + List matchingSegments = dbi.withHandle( new HandleCallback>() {