[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Weijie Guo updated FLINK-15740: --- Fix Version/s: 2.0.0 (was: 1.20.0) > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 2.0.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] lincoln lee updated FLINK-15740: Fix Version/s: (was: 1.19.0) > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.20.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] lincoln lee updated FLINK-15740: Fix Version/s: 1.20.0 > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.19.0, 1.20.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Ge updated FLINK-15740: Fix Version/s: 1.19.0 (was: 1.18.0) > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.19.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xintong Song updated FLINK-15740: - Fix Version/s: 1.18.0 (was: 1.17.0) > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.18.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Godfrey He updated FLINK-15740: --- Fix Version/s: 1.17.0 (was: 1.16.0) > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.17.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yun Gao updated FLINK-15740: Fix Version/s: 1.16.0 > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.15.0, 1.16.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xintong Song updated FLINK-15740: - Fix Version/s: (was: 1.14.0) 1.15.0 > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.15.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flink Jira Bot updated FLINK-15740: --- Labels: auto-deprioritized-major pull-request-available (was: pull-request-available stale-major) Priority: Minor (was: Major) This issue was labeled "stale-major" 7 ago and has not received any updates so it is being deprioritized. If this ticket is actually Major, please raise the priority and ask a committer to assign you the issue or revive the public discussion. > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Minor > Labels: auto-deprioritized-major, pull-request-available > Fix For: 1.14.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dawid Wysakowicz updated FLINK-15740: - Fix Version/s: (was: 1.13.0) 1.14.0 > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Major > Labels: pull-request-available, stale-major > Fix For: 1.14.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flink Jira Bot updated FLINK-15740: --- Labels: pull-request-available stale-major (was: pull-request-available) > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Major > Labels: pull-request-available, stale-major > Fix For: 1.13.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Metzger updated FLINK-15740: --- Fix Version/s: (was: 1.12.0) 1.13.0 > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Major > Labels: pull-request-available > Fix For: 1.13.0 > > Time Spent: 40m > Remaining Estimate: 0h > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-15740) Remove Deadline#timeLeft()
[ https://issues.apache.org/jira/browse/FLINK-15740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated FLINK-15740: --- Labels: pull-request-available (was: ) > Remove Deadline#timeLeft() > -- > > Key: FLINK-15740 > URL: https://issues.apache.org/jira/browse/FLINK-15740 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests >Reporter: Chesnay Schepler >Priority: Major > Labels: pull-request-available > Fix For: 1.11.0 > > > As shown in FLINK-13662, {{Deadline#timeLeft()}} is conceptually broken since > there is no reliable way to call said method while ensuring that > a) the value is non-negative (desired since most time-based APIs reject > negative values) > b) the value sign (+,-) corresponds to preceding calls to {{#hasTimeLeft()}} > > As a result any usage of the following form is unreliable and obfuscating > error messages. > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(deadline.timeLeft()); > } {code} > > All existing usage should be migrate to either > {code:java} > while (deadline.hasTimeLeft()) { > doSomething(); > } {code} > or > {code:java} > while (true) { > doSomething(deadline.timeLeftIfAny()); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)