Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ private void initialize() throws IOException {
iterator = pipelineStore.iterator();
while (iterator.hasNext()) {
Pipeline pipeline = iterator.next().getValue();
addPipeline(pipeline.getProtobufMessage());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addPipeline will do the following:

      Pipeline pipeline = Pipeline.getFromProtobuf(pipelineProto);
      pipelineStore.put(pipeline.getId(), pipeline);
      pipelineStateMap.addPipeline(pipeline);
      nodeManager.addPipeline(pipeline);

pipelineStore.put(pipeline.getId(), pipeline); should be avoided.

pipelineStateMap.addPipeline(pipeline);
nodeManager.addPipeline(pipeline);
}
}

Expand Down