You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by revans2 <gi...@git.apache.org> on 2018/03/07 19:02:31 UTC

[GitHub] storm pull request #2433: [STORM-2693] Heartbeats and assignments promotion ...

Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/2433#discussion_r172945323
  
    --- Diff: storm-client/src/storm.thrift ---
    @@ -477,12 +477,13 @@ struct SupervisorInfo {
         1: required i64 time_secs;
         2: required string hostname;
         3: optional string assignment_id;
    -    4: optional list<i64> used_ports;
    -    5: optional list<i64> meta;
    -    6: optional map<string, string> scheduler_meta;
    -    7: optional i64 uptime_secs;
    -    8: optional string version;
    -    9: optional map<string, double> resources_map;
    +    4: optional i32 server_port;
    --- End diff --
    
    -1 we cannot change the tags for a thrift object like this.  It totally breaks backwards compatibility.  Granted this is for an internal class and probably does not matter much, but there is no reason to do it.  Please make the server_port 10: and set all of the others back to where they were before.


---