diff --git a/server/src/main/java/com/metamx/druid/index/v1/IndexGranularity.java b/server/src/main/java/com/metamx/druid/index/v1/IndexGranularity.java index 4628028ee0b..75ebd7c0387 100644 --- a/server/src/main/java/com/metamx/druid/index/v1/IndexGranularity.java +++ b/server/src/main/java/com/metamx/druid/index/v1/IndexGranularity.java @@ -204,7 +204,7 @@ public enum IndexGranularity @Override public long increment(long timeMillis) { - return timeMillis - MILLIS_IN; + return timeMillis + MILLIS_IN; } @Override @@ -273,7 +273,7 @@ public enum IndexGranularity @Override public long increment(long timeMillis) { - return timeMillis - MILLIS_IN; + return timeMillis + MILLIS_IN; } @Override