Skip to content

Commit

Permalink
[hotfix][datastream] Fix cache invalidate with remote session cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
Sxnan authored and gaoyunhaii committed Sep 8, 2022
1 parent a901911 commit 3d05f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public CompletableFuture<Void> invalidateClusterDataset(
final ClusterClient<ClusterID> clusterClient = clusterClientProvider.getClusterClient();
return clusterClient
.invalidateClusterDataset(new IntermediateDataSetID(clusterDatasetId))
.thenCompose(acknowledge -> null);
.thenApply(acknowledge -> null);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected CompletableFuture<SerializableVoid> triggerOperation(
resourceManagerGatewayRetriever);
return resourceManagerGateway
.releaseClusterPartitions(clusterPartitionId)
.thenApply(ignored -> null);
.thenApply(ignored -> new SerializableVoid());
}

@Override
Expand Down

0 comments on commit 3d05f27

Please sign in to comment.