jihoonson commented on a change in pull request #9274: Refactoring some codes
around ingestion
URL: https://github.com/apache/druid/pull/9274#discussion_r373924959
##########
File path:
indexing-service/src/main/java/org/apache/druid/indexing/common/task/AbstractBatchIndexTask.java
##########
@@ -194,14 +179,9 @@ public int getPriority()
return getContextValue(Tasks.PRIORITY_KEY,
Tasks.DEFAULT_BATCH_INDEX_TASK_PRIORITY);
}
- public boolean isUseSegmentLock()
- {
- return useSegmentLock;
- }
-
- public SegmentLockHelper getSegmentLockHelper()
+ public TaskLockHelper getTaskLockHelper()
{
- return segmentLockHelper;
+ return Preconditions.checkNotNull(taskLockHelper, "segmentLockHelper is
not initialized yet");
Review comment:
Good catch! Fixed.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]