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

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

GitHub user devozerov opened a pull request:

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

    IGNITE-5458

    

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

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

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

    https://github.com/apache/ignite/pull/2113.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 #2113
    
----
commit d52223aaa212f42fdccbba5262d3925715bd445d
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-08T11:51:40Z

    WIP.

commit c765f54f387177c5d2d76c0b47a0bb2a3d5d3c1a
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T07:11:36Z

    Merge branch 'master' into vozerov-affinity

commit 4269eee2a43674b4a24b81ee3b09210b9c0eb202
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T07:28:34Z

    WIP.

commit 54afab2b9b934e9dae96c5eb095ab4a344633b34
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T07:35:48Z

    Returning old mappings.

commit 78276a21878559e14b8cf9d0407cda62aebf1bb0
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T07:38:54Z

    WIP.

commit bc4a4c7774a1d1be2a2437fcfb241b5d6c966cd9
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T07:40:39Z

    WIP.

commit 53011359a1ccc85825ff09fbb28be2e57e6c78d6
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T07:42:04Z

    WIP.

commit 4c7e3653eb3d7abef843b2f9bab1da9519660d72
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T07:59:42Z

    WIP.

commit bc952483e626c6599faad41f2b3bb30162f407bb
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T09:30:40Z

    WIP.

commit ae7bd7c1767fbd7018cd193a235aea8cabb8ee11
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T09:44:14Z

    WIP.

commit 36265d1dbf91b4a795b324626aa5ce94add6b7c7
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T09:45:49Z

    Property.

commit 5bb8fb008e7365d2b3b489bb5e047a1dc9be9038
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T09:48:54Z

    Removed affinitydynamic table affinity mapper.

commit 38597d1910a2ddaaf65c81e71d7e86609e20a8b2
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T09:50:40Z

    MInors.

commit 6cb550053e95d3529771bb16ccf648f3c0066720
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T09:53:24Z

    WIP.

commit 72dfc1d86bdef2e7e620967f1f025198fff16143
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T10:22:43Z

    WIP.

commit 386f614170e42bf8089536d6f944098caae9eb68
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T10:33:54Z

    Fixed affinity key field name resolution for DML.

commit a491d1d607560ffa25f4e4021ba731adbccc482a
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T11:06:05Z

    WIP.

commit 5665fe2c0e7583f0cc80f3d1a63af7d9011f5e27
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T11:10:12Z

    Appears to work somehow.

commit ec175880c753f8f70fb66e7c9428c6bcad364ad6
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T11:16:29Z

    Fixes.

commit 4d50bc5d9020135e06a7c9d3b9dde6337eec4b9c
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T11:26:57Z

    Fixing tests.

commit 9686fbaf4f082bac0a49d54fde86f2a1137e26a0
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T11:37:07Z

    Fixing tests.

commit 1ceb9a1321e8b947b6350192af1d2e50429d4bc3
Author: devozerov <voze...@gridgain.com>
Date:   2017-06-09T11:42:14Z

    Merge branch 'master' into ignite-5458

----


> Add CacheKeyConfiguration to CacheConfiguration
> -----------------------------------------------
>
>                 Key: IGNITE-5458
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5458
>             Project: Ignite
>          Issue Type: Task
>          Components: cache
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>              Labels: important
>             Fix For: 2.1
>
>
> Currently affinity column of certain type is not known on startup, as types 
> are registered dynamically. For this reason affinity column could be resolved 
> incorrectly if needed before type is registered. E.g. this is the case for 
> our H2 tables, which need affinity key column on startup.
> This could be resolved by setting 
> {{IgniteConfiguration.cacheKeyConfiguration}} property, which maps type name 
> to affinity key column name. However, this mechanism is not flexible enough 
> because mappings cannot be changed in runtime.
> We should add similar property to cache configuration and use it to resolve 
> affinity column. Ideally, affinity key should be removed from {{BinaryType}} 
> at all.
> Discussion on the dev list: 
> https://mail-archives.apache.org/mod_mbox/ignite-dev/201706.mbox/browser



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to