[jira] [Created] (FLINK-11583) ConfigOptions cannot have fallback and deprecated keys at the same time

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11583) ConfigOptions cannot have fallback and deprecated keys at the same time

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-11583:
----------------------------------------

             Summary: ConfigOptions cannot have fallback and deprecated keys at the same time
                 Key: FLINK-11583
                 URL: https://issues.apache.org/jira/browse/FLINK-11583
             Project: Flink
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 1.8.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.8.0


{{ConfigOption#withFallbackKeys}} and  {{ConfigOption#withDeprecatedKeys}} both simply override the fallbackKeys array instead of checking whether it already contains some keys.

As a result, using both methods results in one of the given key sets to be overwritten.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)