flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dawidwys <...@git.apache.org>
Subject [GitHub] flink pull request #4145: [FLINK-6938][FLINK-6939] [cep] Not store Iterative...
Date Wed, 21 Jun 2017 08:34:07 GMT
Github user dawidwys commented on a diff in the pull request:

    --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java ---
    @@ -1131,6 +1152,7 @@ private void serializeStates(Set<State<T>> states, DataOutputView
out) throws IO
     					nameSerializer.serialize(transition.getTargetState().getName(), out);
     					actionSerializer.serialize(transition.getAction(), out);
    +					// backward compatibility
     					serializeCondition(transition.getCondition(), out);
    --- End diff --
    Yes, but I think we could increase the VERSION field, and wrap this line in `if (readVersion
== 1) {...}`

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message