You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (Jira)" <ji...@apache.org> on 2024/08/02 14:13:00 UTC

[jira] [Commented] (IGNITE-22678) ClientPartitionManager should use PARTITION_ASSIGNMENT_FLAG to reset cache

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

Igor Sapego commented on IGNITE-22678:
--------------------------------------

Looks good to me

> ClientPartitionManager should use PARTITION_ASSIGNMENT_FLAG to reset cache
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-22678
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22678
>             Project: Ignite
>          Issue Type: Improvement
>          Components: thin client
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, [ClientPartitionManager|https://github.com/apache/ignite-3/blob/105df10e38f5fc7e43c2ad717b3970ac7356728a/modules/client/src/main/java/org/apache/ignite/internal/client/table/ClientPartitionManager.java] uses a hardcoded one-minute cache for partition assignments. 
> We should use *ReliableChannel.partitionAssignmentTimestamp* to invalidate the cache.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)