[jira] [Commented] (IGNITE-12387) .NET Thin Client: Handle unsupported features on older server nodes gracefully

2019-12-18 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn commented on IGNITE-12387:
-

Cherry-picked to ignite-2.8: e3744613550f9e665e54afd6991f8b2aa11f59cb

> .NET Thin Client: Handle unsupported features on older server nodes gracefully
> --
>
> Key: IGNITE-12387
> URL: https://issues.apache.org/jira/browse/IGNITE-12387
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Critical
>  Labels: .NET
> Fix For: 2.8
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now we don't check server version before doing requests for newer 
> features like Affinity Awareness and Cluster API. This causes exceptions like 
> "Invalid re
> quest op code: 5000", which are cryptic for the user.
> Fix this:
> * Affinity Awareness: disable it automatically if there is no server support; 
> log a warning to the log (add logging by adding 
> IgniteClientConfiguration.Logger property)
> * Individual methods and features like Cluster API - throw an exception with 
> user-friendly explanation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-12387) .NET Thin Client: Handle unsupported features on older server nodes gracefully

2019-12-18 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn commented on IGNITE-12387:
-

`Platform .NET (Long Running)` project fixed (added Maven to PATH), all tests 
are green.

Merged to master: 44075e0285f65e7276a03f98970cb0ac7c87f6d8

> .NET Thin Client: Handle unsupported features on older server nodes gracefully
> --
>
> Key: IGNITE-12387
> URL: https://issues.apache.org/jira/browse/IGNITE-12387
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Critical
>  Labels: .NET
> Fix For: 2.8
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now we don't check server version before doing requests for newer 
> features like Affinity Awareness and Cluster API. This causes exceptions like 
> "Invalid re
> quest op code: 5000", which are cryptic for the user.
> Fix this:
> * Affinity Awareness: disable it automatically if there is no server support; 
> log a warning to the log (add logging by adding 
> IgniteClientConfiguration.Logger property)
> * Individual methods and features like Cluster API - throw an exception with 
> user-friendly explanation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-12387) .NET Thin Client: Handle unsupported features on older server nodes gracefully

2019-12-18 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-12387:
--

[~ptupitsyn] Looks good to me.

> .NET Thin Client: Handle unsupported features on older server nodes gracefully
> --
>
> Key: IGNITE-12387
> URL: https://issues.apache.org/jira/browse/IGNITE-12387
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Critical
>  Labels: .NET
> Fix For: 2.8
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now we don't check server version before doing requests for newer 
> features like Affinity Awareness and Cluster API. This causes exceptions like 
> "Invalid re
> quest op code: 5000", which are cryptic for the user.
> Fix this:
> * Affinity Awareness: disable it automatically if there is no server support; 
> log a warning to the log (add logging by adding 
> IgniteClientConfiguration.Logger property)
> * Individual methods and features like Cluster API - throw an exception with 
> user-friendly explanation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-12387) .NET Thin Client: Handle unsupported features on older server nodes gracefully

2019-12-18 Thread Alexandr Shapkin (Jira)


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

Alexandr Shapkin commented on IGNITE-12387:
---

[~ptupitsyn] looks good to me, thanks!

> .NET Thin Client: Handle unsupported features on older server nodes gracefully
> --
>
> Key: IGNITE-12387
> URL: https://issues.apache.org/jira/browse/IGNITE-12387
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Critical
>  Labels: .NET
> Fix For: 2.8
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now we don't check server version before doing requests for newer 
> features like Affinity Awareness and Cluster API. This causes exceptions like 
> "Invalid re
> quest op code: 5000", which are cryptic for the user.
> Fix this:
> * Affinity Awareness: disable it automatically if there is no server support; 
> log a warning to the log (add logging by adding 
> IgniteClientConfiguration.Logger property)
> * Individual methods and features like Cluster API - throw an exception with 
> user-friendly explanation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-12387) .NET Thin Client: Handle unsupported features on older server nodes gracefully

2019-12-17 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-12387:


{panel:title=Branch: [pull/7149/head] Base: [master] : Possible Blockers 
(11)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}ZooKeeper (Discovery) 2{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=4847539]]
* ZookeeperDiscoverySpiTestSuite2: 
IgniteClientReconnectCacheTest.testReconnectExchangeInProgress - Test has low 
fail rate in base branch 0,0% and is not flaky

{color:#d04437}Platform .NET (Long Running){color} [[tests 
7|https://ci.ignite.apache.org/viewLog.html?buildId=4847589]]
* exe: 0.0) - History for base branch is absent.
* exe: 1.0) - History for base branch is absent.
* exe: 1.0) - History for base branch is absent.
* exe: 2.0) - History for base branch is absent.
* exe: 
ClientReconnectCompatibilityTest.TestReconnectToOldNodeDisablesPartitionAwareness
 - History for base branch is absent.
* exe: 2.0) - History for base branch is absent.
* exe: 2.0) - History for base branch is absent.

{color:#d04437}Queries 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=4847591]]
* IgniteBinaryCacheQueryTestSuite: 
IndexingCachePartitionLossPolicySelfTest.testReadWriteSafeWithBackupsWithPersistence[TRANSACTIONAL]
 - Test has low fail rate in base branch 1,1% and is not flaky

{color:#d04437}Client Nodes{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=4847506]]
* IgniteClientReconnectTestSuite: 
IgniteClientReconnectContinuousProcessorTest.testMessageListenerReconnectAndStopFromServer
 - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Cassandra Store{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=4847612]]
* IgniteCassandraStoreTestSuite: 
CassandraDirectPersistenceTest.pojoStrategyTransactionTest - Test has low fail 
rate in base branch 1,0% and is not flaky

{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=4847615buildTypeId=IgniteTests24Java8_RunAll]

> .NET Thin Client: Handle unsupported features on older server nodes gracefully
> --
>
> Key: IGNITE-12387
> URL: https://issues.apache.org/jira/browse/IGNITE-12387
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Critical
>  Labels: .NET
> Fix For: 2.8
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now we don't check server version before doing requests for newer 
> features like Affinity Awareness and Cluster API. This causes exceptions like 
> "Invalid re
> quest op code: 5000", which are cryptic for the user.
> Fix this:
> * Affinity Awareness: disable it automatically if there is no server support; 
> log a warning to the log (add logging by adding 
> IgniteClientConfiguration.Logger property)
> * Individual methods and features like Cluster API - throw an exception with 
> user-friendly explanation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-12387) .NET Thin Client: Handle unsupported features on older server nodes gracefully

2019-12-17 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn commented on IGNITE-12387:
-

[~ashapkin] PR is ready, please have a look

> .NET Thin Client: Handle unsupported features on older server nodes gracefully
> --
>
> Key: IGNITE-12387
> URL: https://issues.apache.org/jira/browse/IGNITE-12387
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Critical
>  Labels: .NET
> Fix For: 2.8
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now we don't check server version before doing requests for newer 
> features like Affinity Awareness and Cluster API. This causes exceptions like 
> "Invalid re
> quest op code: 5000", which are cryptic for the user.
> Fix this:
> * Affinity Awareness: disable it automatically if there is no server support; 
> log a warning to the log (add logging by adding 
> IgniteClientConfiguration.Logger property)
> * Individual methods and features like Cluster API - throw an exception with 
> user-friendly explanation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)