You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/27 13:02:18 UTC

[GitHub] [shardingsphere] azexcy commented on a diff in pull request #21792: Revise pipeline barrier, use job id parameter

azexcy commented on code in PR #21792:
URL: https://github.com/apache/shardingsphere/pull/21792#discussion_r1006843560


##########
kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/job/AbstractPipelineJob.java:
##########
@@ -70,7 +69,7 @@ public Collection<Integer> getShardingItems() {
     protected void addTasksRunner(final int shardingItem, final PipelineTasksRunner tasksRunner) {
         tasksRunnerMap.put(shardingItem, tasksRunner);
         PipelineJobProgressPersistService.addJobProgressPersistContext(getJobId(), shardingItem);
-        distributedBarrier.persistEphemeralChildrenNode(PipelineMetaDataNode.getJobBarrierEnablePath(getJobId()), shardingItem);
+        distributedBarrier.persistEphemeralChildrenNode(getJobId(), shardingItem);

Review Comment:
   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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org