[ https://issues.apache.org/jira/browse/IGNITE-10732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730733#comment-16730733 ]
Ignite TC Bot commented on IGNITE-10732: ---------------------------------------- {panel:title=--> Run :: All: Possible Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1} {color:#d04437}ZooKeeper (Discovery) 4{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=2678135]] * ZookeeperDiscoverySpiTestSuite4: GridCacheReplicatedAtomicMultiNodeFullApiSelfTest.testTtlNoTxOldEntry - 0,0% fails in last 422 master runs. {color:#d04437}Cache (Restarts) 1{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=2678099]] * IgniteCacheRestartTestSuite: GridCacheReplicatedNodeRestartSelfTest.testRestartWithPutFourNodesNoBackups - 0,0% fails in last 401 master runs. {color:#d04437}Cache (Restarts) 2{color} [[tests 5|https://ci.ignite.apache.org/viewLog.html?buildId=2678100]] * IgniteCacheRestartTestSuite2: IgniteCacheAtomicReplicatedNodeRestartSelfTest.testRestartWithPutTenNodesTwoBackups - 0,0% fails in last 426 master runs. * IgniteCacheRestartTestSuite2: IgniteCacheAtomicNodeRestartTest.testRestartWithPutTenNodesTwoBackups - 0,0% fails in last 426 master runs. * IgniteCacheRestartTestSuite2: IgniteCacheAtomicNodeRestartTest.testRestartWithPutFourNodesNoBackups - 0,0% fails in last 258 master runs. * IgniteCacheRestartTestSuite2: IgniteCacheAtomicReplicatedNodeRestartSelfTest.testRestartWithPutFourNodesNoBackups - 0,0% fails in last 426 master runs. * IgniteCacheRestartTestSuite2: IgniteCacheAtomicReplicatedNodeRestartSelfTest.testRestartWithTxPutAllTenNodesTwoBackups - 0,0% fails in last 426 master runs. {panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=2678140&buildTypeId=IgniteTests24Java8_RunAll] > Incorrect file.encoding leads to inconsistent SqlFieldsQuery results between > nodes > ---------------------------------------------------------------------------------- > > Key: IGNITE-10732 > URL: https://issues.apache.org/jira/browse/IGNITE-10732 > Project: Ignite > Issue Type: Bug > Components: sql > Affects Versions: 2.4 > Reporter: Ilya Kasnacheev > Assignee: Ilya Kasnacheev > Priority: Critical > Labels: windows > > When doing > {code} > cache.query(new SqlFieldsQuery("SELECT _key FROM Cache")) > {code} > resulting Unicode values may be different when coming from Windows or Linux > node. > Linux nodes will mostly use UTF-8 but Windows nodes will use local CpNNNN > encoding to encode query results, as bizzare as it may sound. > Windows < - > Windows and Linux < - > Linux will get correct result but > Windows < - > Linux will get broken strings. > Note that if cluster has Windows and Linux nodes and cache is REPLICATED, > results will be different for subsequent queries! > There is a workaround for this: set -Dfile.encoding=UTF-8 JVM arg on Windows. > There is probably an underlying problem in H2 but since non-UTF-8 > file.encoding is dangerous (it affects String.getBytes()) I think we should > peg it to UTF-8. -- This message was sent by Atlassian JIRA (v7.6.3#76005)