rmatharu commented on a change in pull request #1004: Preventing task-shuffle
after task mode addition
URL: https://github.com/apache/samza/pull/1004#discussion_r277039616
##########
File path:
samza-core/src/main/scala/org/apache/samza/coordinator/JobModelManager.scala
##########
@@ -122,9 +122,9 @@ object JobModelManager extends Logging {
val processorLocality: util.Map[String, LocationId] =
getProcessorLocality(config, localityManager)
val taskModes: util.Map[TaskName, TaskMode] =
taskAssignmentManager.readTaskModes()
- // We read the taskAssignment only for ActiveTasks
+ // We read the taskAssignment only for ActiveTasks, i.e., tasks that have
no task-mode or have an active task mode
Review comment:
Every task will have a mode after the first re-deployment.
----------------------------------------------------------------
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