nwangtw commented on a change in pull request #2891: Refactor StatefulStorage
API
URL: https://github.com/apache/incubator-heron/pull/2891#discussion_r187686955
##########
File path: heron/proto/ckptmgr.proto
##########
@@ -195,6 +218,9 @@ message SaveInstanceStateRequest {
// Information about the instance whose state this is
required heron.proto.system.Instance instance = 1;
required InstanceStateCheckpoint checkpoint = 2;
+ // Stmgrs need to send component metadata so that Checkpoint
+ // Mgrs know how to repartition if needed.
+ optional CheckpointComponentMetadata metadata = 3;
Review comment:
Checked the communication between stmgr and ckptmgr, it is a valid option to
pass the topology structure information during the registration to simplify the
requests.
We don't need to make the decision for now about where the structure
information should be passed. Therefore I am going to remove this field for now
to keep it simple.
Thanks again for the comments!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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