ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5931) .NET: Incorrect conflicting type error
Date Fri, 04 Aug 2017 14:09:00 GMT

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

Pavel Tupitsyn commented on IGNITE-5931:

Another related problem: {{AffinityKeyMappedAttribute}} does not work with dynamic type registration.

All of this stems from the fact that {{Marshaller}} code is a mess, we have two {{AddUserType}}
methods which work in a different way and duplicate some logic.

> .NET: Incorrect conflicting type error
> --------------------------------------
>                 Key: IGNITE-5931
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5931
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 2.2
> Incorrect conflicting type error can occur when registering the same time from multiple
threads simultaneously:
> {code}
> Conflicting type IDs [type1='Row', type2='Row', typeId=113114]
> {code}
> {{Marshaller.AddType}} should check if existing type is the same as new one (as we do
it in {{AddUserType}}, see other usages of {{ThrowConflictingTypeError}}).

This message was sent by Atlassian JIRA

View raw message