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

ASF GitHub Bot commented on IGNITE-3196:
----------------------------------------

GitHub user alamar opened a pull request:

    https://github.com/apache/ignite/pull/2485

    Backport IGNITE-3196

     support for BigDecimals with negative scale in BinaryMarshaller

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-1.9.6

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2485.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2485
    
----
commit bb3ff120e6995431d10439243d8b163712de0e0e
Author: dkarachentsev <[email protected]>
Date:   2017-04-10T08:40:17Z

    IGNITE-2466 - Disable back-pressure for sender data nodes to avoid deadlock.
    
    (cherry picked from commit ba6227b)

commit 960e454b4b68c76ed94ca58a3ee9a9d8e79c2039
Author: dkarachentsev <[email protected]>
Date:   2017-04-10T07:28:15Z

    IGNITE-2466 - Use current NIO back pressure mechanism to limit received 
messages. Mark them process only when backups acknowledged.
    
    (cherry picked from commit 220db88)

commit 207ccaa1ff5a021a25dc779b5b2d7bfdb0f3b647
Author: dkarachentsev <[email protected]>
Date:   2017-04-10T08:40:17Z

    IGNITE-2466 - Disable back-pressure for sender data nodes to avoid deadlock.
    
    (cherry picked from commit ba6227b)
    
    (cherry picked from commit bb3ff12)

commit 5fbbc37669bcf0557a98d8ab70c3dbb79ebcd340
Author: Andrey V. Mashenkov <[email protected]>
Date:   2017-04-05T12:01:02Z

    IGNITE-4917: Fixed failure when accessing BinaryObjectBuilder field value 
serialized with OptimizedMarshaller . This closes #1736.
    
    (cherry picked from commit b8e3d1b)

commit 315ff38eeef96f12954d6ff39c84d58b2b959667
Author: Andrey V. Mashenkov <[email protected]>
Date:   2017-04-06T11:43:50Z

    IGNITE-4879: Fixed System pool starvation while partition evicting.

commit 89e9dbe484312c251f02c9fbe9698c3ac2e03df8
Author: Alexander Fedotov <[email protected]>
Date:   2017-04-10T13:36:33Z

    Fix org.apache.ignite.internal.processors.cache.expiry
        .IgniteCacheExpiryPolicyAbstractTest#testNearExpiresWithCacheStore

commit 01ceeb13420b68edf12b0262fe0991e84c085dd8
Author: Andrey V. Mashenkov <[email protected]>
Date:   2017-04-06T11:43:50Z

    IGNITE-4863: Disallow change RootLogger log-level if it can have negative 
effect on other loggers. This closes #1687.

commit 02b194268071b179d291b28472cef5d587e7558a
Author: Alexander Fedotov <[email protected]>
Date:   2017-04-11T09:00:59Z

    Fix missing test resource directory for
    org.apache.ignite.spi.discovery.tcp
        .TcpDiscoveryNodeAttributesUpdateOnReconnectTest.testReconnect

commit 20016a20f780eb3c21f249d3cb74d08018c4eea5
Author: Alexander Fedotov <[email protected]>
Date:   2017-04-11T11:54:06Z

    Fix org.apache.ignite.internal.processors.cache.expiry
        .IgniteCacheExpiryPolicyAbstractTest#testNearExpiresWithCacheStore

commit 6d12bd4b9fbded5e5862b5c3d89b05a5ddd11755
Author: Igor Sapego <[email protected]>
Date:   2017-03-21T14:54:51Z

    IGNITE-4200: Added copying of the C++ binaries.
    
    (cherry picked from commit 8b3860f)

commit 0f7ef74216fab64f5d1d2b6d432b552b7fe40d2f
Author: Andrey V. Mashenkov <[email protected]>
Date:   2017-04-12T10:01:25Z

    IGNITE-4907: Fixed excessive service instances can be started with dynamic 
deployment. This closes #1766.

commit 465084da5b00dcfc056d338f5d0a24875ca2af08
Author: Andrey V. Mashenkov <[email protected]>
Date:   2017-04-12T10:01:25Z

    IGNITE-4907: Fixed excessive service instances can be started with dynamic 
deployment. This closes #1766.
    
    (cherry picked from commit 0f7ef74)

commit a20c307df1dd000309a273ef93231fdc41a2a81c
Author: dkarachentsev <[email protected]>
Date:   2017-04-13T06:31:17Z

    IGNITE-4891 - Fix. Key is deserialized during transactional get() even if 
withKeepBinary is set
    
    (Backport from master)

commit 630558dfeb373f237057e394e8f2f63230d59dab
Author: vladisav <[email protected]>
Date:   2017-04-13T10:24:42Z

    ignite-4173 IgniteSemaphore with failoverSafe enabled doesn't release 
permits in case permits owner node left topology
    
    Backport from master.
    
    (cherry picked from commit 76485fc)

commit 870b752c095ed3776e91a65b99763142b9f2ebc0
Author: Vladisav Jelisavcic <[email protected]>
Date:   2017-04-11T11:09:12Z

    ignite-1977 - fixed IgniteSemaphore fault tolerance.
    
    Backport from master.
    
    (cherry picked from commit 902bf42)

commit cd0b92950c6691c6fc1a26cb4f7e55f5ee459298
Author: Yakov Zhdanov <[email protected]>
Date:   2017-04-13T12:52:20Z

    ignite-4946 GridCacheP2PUndeploySelfTest became failed
    
    (cherry picked from commit d298e75)

commit 241e9291dbe43138be1c027a3d8d1b7e3ed9b4dd
Author: dkarachentsev <[email protected]>
Date:   2017-04-14T06:36:10Z

    Merge branch 'ignite-1.9.1-p1' into ignite-1.9.2

commit 405ce563fb7c35627c6e1bb0b68f423ba089c6f2
Author: Dmitriy Shabalin <[email protected]>
Date:   2017-04-14T10:55:38Z

    IGNITE-4068 Added common primitive for buttons group. Refactored existing 
button groups.
    (cherry picked from commit e5200c2)

commit 60cf48dc175fa288cd74d1189f0e992c9a16dc99
Author: Vasiliy Sisko <[email protected]>
Date:   2017-04-14T11:00:47Z

    IGNITE-4886 Catch all errors.
    (cherry picked from commit 7e8d9e8)

commit 81c3ed4c0511841f7056677db6063b4eb8d2def0
Author: Alexey Kuznetsov <[email protected]>
Date:   2017-04-14T11:18:23Z

    IGNITE-4896 Rewored GridClientNodeBean serialization.
    (cherry picked from commit a025268)

commit 4a1415ad01ff9fde30d5c7c02e6d938f1515178d
Author: Andrey V. Mashenkov <[email protected]>
Date:   2017-04-12T10:01:25Z

    IGNITE-4907: Fixed excessive service instances can be started with dynamic 
deployment. This closes #1766.
    
    (cherry picked from commit 0f7ef74)

commit e206b9f1fd3dbf927f940d558144a4796479ed5d
Author: vsisko <[email protected]>
Date:   2017-04-14T11:32:30Z

    IGNITE-4871 Added Kubernetes IP finder to Cluster configuration screen.
    (cherry picked from commit f978ff2)

commit 4518f51f4c1c29517d518f5e44f5d70d17c51170
Author: sboikov <[email protected]>
Date:   2017-04-14T13:38:46Z

    Added IgniteGetFromComputeBenchmark.

commit b22738080101536a8af1ed60e70d693897e9bc7c
Author: dkarachentsev <[email protected]>
Date:   2017-04-14T14:54:02Z

    ignite-4173 Fix test. Permits must be released on node fail.
    
    (cherry picked from commit 1f867c6)

commit 41c5288606710b9c42983780ac7464a746d09eb0
Author: dkarachentsev <[email protected]>
Date:   2017-04-14T14:56:25Z

    Merge remote-tracking branch 'origin/ignite-1.8.6' into ignite-1.8.6

commit 1985496ea98f4d7112a0b99727297427f343e9b2
Author: dkarachentsev <[email protected]>
Date:   2017-04-17T07:20:41Z

    Add missed license headers.

commit ae794ab45b22abe1e570d5d29661396ea7c0f951
Author: dkarachentsev <[email protected]>
Date:   2017-04-17T10:40:28Z

    IGNITE-4159 Fix version.

commit bf1049741f7a64728bd433f78262ba273f969848
Author: Andrey V. Mashenkov <[email protected]>
Date:   2017-04-17T16:00:30Z

    IGNITE-4954 - Configurable expiration timeout for Cassandra session. This 
closes #1785.

commit 86c49514c64225059a31912fdccadc6dc68a8397
Author: sboikov <[email protected]>
Date:   2017-04-18T08:15:44Z

    ignite-4932 For offheap_tiered cache first try read value without cache 
entry creation

commit aca67066ceaf762fcd44ef0715a4ba0f941226a8
Author: dkarachentsev <[email protected]>
Date:   2017-04-18T09:23:28Z

    Merge branch 'ignite-1.8.5-p1' into ignite-1.8.6

----


> Marshaling works wrong for the BigDecimals that have negative scale
> -------------------------------------------------------------------
>
>                 Key: IGNITE-3196
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3196
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary
>    Affects Versions: 1.6
>            Reporter: Igor Sapego
>            Assignee: Vyacheslav Daradur
>             Fix For: 2.0
>
>
> Current marshalling procedure of the {{BigDecimal}} assumes that the scale of 
> the {{BigDecimal}} value is always more than or equal to zero. However, scale 
> [can be 
> negative|https://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html#scale()].
> This leads to invalid results if we try to marshal-unmarshal {{BigDecimal}} 
> that has a negative scale.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to