JulianJaffePinterest commented on pull request #12159:
URL: https://github.com/apache/druid/pull/12159#issuecomment-1042729998


   @wangxiaobaidu11 calling `.repartition` _after_ the first repartition blows 
away the first repartition. If you want to generate more segments for a given 
bucket, use the NumberedPartitioner.
   
   That pointer aside, the error is saying that multiple versions are being 
detected for a particular interval. In particular, it suggests that the version 
assignment logic for the case where no version is specified at write time has 
migrated to a per-partition or per-executor location instead of only occurring 
once. I checked the `DataWriterFactory` and that was the case, so I've pulled 
the version assignment logic back out to a run-once location. I also improved 
the logging for the error message you were seeing so in the future it will list 
the conflicting versions instead of just warning about them.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to