mirror of https://github.com/apache/druid.git
1) Fix bug with the MergeTask not setting the binaryVersion field on DataSegments and causing the converter to run a lot.
This commit is contained in:
parent
92efba5f30
commit
e3674368ab
|
@ -36,6 +36,7 @@ import com.google.common.collect.Sets;
|
|||
import com.google.common.hash.Hashing;
|
||||
import com.metamx.common.ISE;
|
||||
import com.metamx.druid.client.DataSegment;
|
||||
import com.metamx.druid.index.v1.IndexIO;
|
||||
import com.metamx.druid.merger.common.TaskLock;
|
||||
import com.metamx.druid.merger.common.TaskStatus;
|
||||
import com.metamx.druid.merger.common.TaskToolbox;
|
||||
|
@ -312,6 +313,7 @@ public abstract class MergeTaskBase extends AbstractTask
|
|||
.dataSource(dataSource)
|
||||
.interval(mergedInterval)
|
||||
.version(version)
|
||||
.binaryVersion(IndexIO.CURRENT_VERSION_ID)
|
||||
.shardSpec(new NoneShardSpec())
|
||||
.dimensions(Lists.newArrayList(mergedDimensions))
|
||||
.metrics(Lists.newArrayList(mergedMetrics))
|
||||
|
|
Loading…
Reference in New Issue