[
https://issues.apache.org/jira/browse/IGNITE-11043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814586#comment-16814586
]
Igor Sapego edited comment on IGNITE-11043 at 4/11/19 10:02 AM:
----------------------------------------------------------------
[~vozerov] regarding connection failure logic - I believe it should be next big
ticket to unify how we deal with connections in all clients. Currently, the
logic is simple - if thin client have a connection failure it invalidates
connection and throws an exception. In my opinion, we can improve user
experience here:
1. We should handle connection-related operations in background asynchronously.
2. We can safely re-run read-only operations (such as {{cache.get()}}) without
throwing exception.
3. We can safely re-run operation that failed during send, i.e. request was not
received and processed by server node.
was (Author: isapego):
[~vozerov] regarding connection failure logic - I believe it should be next big
ticket to unify how we deal with connections in all clients. Currently, the
logic is simple - if thin client have a connection failure it invalidates
connection and throws an exception. In my opinion, we can improve user
experience here:
1. We should handle cluster connections in background asynchronously.
2. We can safely re-run read-only operations (such as {{cache.get()}}) without
throwing exception.
> CPP Thin: Improve Best Effort Affinity for C++ thin client
> ----------------------------------------------------------
>
> Key: IGNITE-11043
> URL: https://issues.apache.org/jira/browse/IGNITE-11043
> Project: Ignite
> Issue Type: Improvement
> Components: thin client
> Affects Versions: 2.7
> Reporter: Igor Sapego
> Assignee: Igor Sapego
> Priority: Major
> Labels: iep-23
> Fix For: 2.8
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [IEP-23|https://cwiki.apache.org/confluence/display/IGNITE/IEP-23%3A+Best+Effort+Affinity+for+thin+clients]
> was updated recently, and we need to implement described changes in C++
> thin client.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)