You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/04/10 14:37:52 UTC

[GitHub] [druid] indrekj opened a new issue #9669: Coordinator compaction config does not respect segmentGranularity

indrekj opened a new issue #9669: Coordinator compaction config does not respect segmentGranularity
URL: https://github.com/apache/druid/issues/9669
 
 
   In druid v0.14 we set up coordinator compaction with `keepSegmentGranularity: false`. So coordinator automatically searched for a bunch of small segments and merged them into one.
   
   We upgraded to v0.17 and it seems this option has been removed. According to https://github.com/apache/druid/pull/6758#issuecomment-451004778 comment, this should be replaced by `segmentGranularity: ALL`. This option seems to be present in the compaction task but not in the coordinator [datasource compaction configuration](https://github.com/apache/druid/blob/831ec172f15ae852f1cc9510337f7afc99b39460/server/src/main/java/org/apache/druid/server/coordinator/DataSourceCompactionConfig.java#L53-L59).
   
   Coordinator still spawns the compaction tasks but each one of them has interval of one hour (e.g. `      "interval": "2020-04-09T10:00:00.000Z/2020-04-09T11:00:00.000Z"`). Our segments from realtime are also one hour. So it's not really changing anything.
   
   Somewhat related https://github.com/apache/druid/issues/7988 . But created a separate ticket to indicate that at least from my point of view this seems to be a regression.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] jihoonson commented on issue #9669: Coordinator compaction config does not respect segmentGranularity

Posted by GitBox <gi...@apache.org>.
jihoonson commented on issue #9669: Coordinator compaction config does not respect segmentGranularity
URL: https://github.com/apache/druid/issues/9669#issuecomment-614971904
 
 
   Hi @indrekj, the auto compaction doesn't support `segmentGranularity` yet. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org