flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8063) Client blocks indefinitely when querying a non-existing state
Date Wed, 15 Nov 2017 16:59:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253794#comment-16253794
] 

ASF GitHub Bot commented on FLINK-8063:
---------------------------------------

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

    https://github.com/apache/flink/pull/5021#discussion_r151188168
  
    --- Diff: flink-queryable-state/flink-queryable-state-runtime/src/main/java/org/apache/flink/queryablestate/client/proxy/KvStateClientProxyHandler.java
---
    @@ -133,12 +131,11 @@ private void executeActionAsync(
     			operationFuture.whenCompleteAsync(
     					(t, throwable) -> {
     						if (throwable != null) {
    -							if (throwable instanceof CancellationException) {
    -								result.completeExceptionally(throwable);
    -							} else if (throwable.getCause() instanceof UnknownKvStateIdException ||
    +							if (
    +									throwable.getCause() instanceof UnknownKvStateIdException ||
    --- End diff --
    
    The problem was the, now removed, `UnknownKvStateLocation`. This is the one returned by
the JobManager. Then, based on that, you go to the appropriate TaskManager.


> Client blocks indefinitely when querying a non-existing state
> -------------------------------------------------------------
>
>                 Key: FLINK-8063
>                 URL: https://issues.apache.org/jira/browse/FLINK-8063
>             Project: Flink
>          Issue Type: Improvement
>          Components: Queryable State
>    Affects Versions: 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Kostas Kloudas
>            Priority: Critical
>             Fix For: 1.4.0
>
>
> When querying for a non-existing state (as in, no state was registered under queryableStateName)
the client blocks indefinitely.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message