[jira] [Commented] (IGNITE-5458) Add CacheKeyConfiguration to CacheConfiguration

2017-06-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-5458:


Github user devozerov closed the pull request at:

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


> 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.4.14#64029)


[jira] [Commented] (IGNITE-5458) Add CacheKeyConfiguration to CacheConfiguration

2017-06-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-5458:


Github user devozerov closed the pull request at:

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


> 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.4.14#64029)


[jira] [Commented] (IGNITE-5458) Add CacheKeyConfiguration to CacheConfiguration

2017-06-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-5458:


GitHub user devozerov opened a pull request:

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

IGNITE-5458-2.1.1



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

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

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

https://github.com/apache/ignite/pull/2125.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 #2125


commit 7808492b7dee12bdd0c3922e1760ffa364183bc2
Author: Alexey Kuznetsov 
Date:   2017-04-18T16:52:30Z

8.0.4.ea1 Fixed snapshot utility tests.

commit c812cc843e3fdfbc17a99920247320af997b3aa4
Author: Eduard Shangareev 
Date:   2017-04-19T10:30:15Z

GG-12118 Stabilize tests in 8.0.4.ea1 after master merge
-fixing NPE in exchange future

commit 553288b11d9d6ed2f8cd9c612399944533d64988
Author: Ivan Rakov 
Date:   2017-04-19T10:36:42Z

GG-12118: Page counter increment fix

commit 40bbc5d12b20c3ebf3e4c9dba0675c080a811d3c
Author: Alexey Goncharuk 
Date:   2017-04-19T15:15:36Z

Merge ignite-2.0 into ignite-gg-8.0.4.ea1

commit be8b260bd90e951c84ccbbb733e89fcd6c758279
Author: Ivan Rakov 
Date:   2017-04-19T16:00:17Z

IGNITE-4861: Export rebalance metrics and state as MBeans

commit 58995f668a172f3acdb2bd6386dc5390f0dca9a2
Author: Alexey Kuznetsov 
Date:   2017-04-19T16:27:27Z

8.0.4.ea1 Fixed compilation.

commit d8c6ffafa0923544dbb9814c2ea0cbbddde7a5d0
Author: EdShangGG 
Date:   2017-04-19T16:24:36Z

GG-12118 Stabilize tests in 8.0.4.ea1 after master merge
-fixing issued with message ids

commit 097b4f67e48e31b61ffa5c1220d7ada8b51f4516
Author: Ivan Rakov 
Date:   2017-04-20T08:53:14Z

GG-12118: Build fix

commit 22826bc93dc2f186ef6e129d687a28b1c1f384b0
Author: Ivan Rakov 
Date:   2017-04-20T11:44:08Z

IGNITE-4861: Counting expected amount of keys for rebalance metrics hangs 
exchange, fix TBD

commit 75c760aa0f16aee7c1a77c9d1a87114f141659ab
Author: Ivan Rakov 
Date:   2017-04-20T13:47:45Z

IGNITE-4861: Metrics fix

commit a527e4123aad5233995d643d1a9bc1dc330a9949
Author: Ilya Lantukh 
Date:   2017-04-20T14:06:00Z

gg-12095 : part2node usage optimization

commit 1be7d4a8cba88ffdca35d9d2936d2f92a51f02db
Author: Ilya Lantukh 
Date:   2017-04-20T14:16:41Z

gg-12095 : part2node usage optimization for client topology.

commit 6e93d04d0117ff4977ad5f2ffe2a4c990c5ab0cb
Author: Alexey Kuznetsov 
Date:   2017-04-20T16:17:48Z

GG-12050 Snapshots catalog beta.

commit 907b13ebcaa07c7471588de1f831e5ad827eeb71
Author: vsisko 
Date:   2017-04-21T02:42:15Z

ignite-2.0 Fixed IGNITE_MODULES search path.
(cherry picked from commit 8ad5a94)

commit d43a63c5e878460c1a9d6e2569e315aada788a76
Author: Alexey Kuznetsov 
Date:   2017-04-21T09:34:01Z

GG-12050 Fixed dependencies.

commit 1aeaf2070a56f1dd6a867108e0d54038f7985446
Author: Ivan Rakov 
Date:   2017-04-20T16:22:16Z

GG-12118: Metrics test fix

commit 39abe5ee8c918c0866627ad30813f361f6ab8145
Author: Alexey Goncharuk 
Date:   2017-04-21T11:26:23Z

IGNITE-3477 - Properly handle GridDhtInvalidPartitionException

commit 97b895719aa163281898589eff90d2dd4479b1df
Author: EdShangGG 
Date:   2017-04-21T13:11:24Z

Merge branch 'ignite-gg-12064' into ignite-gg-8.0.4.ea1

commit 0292ce00b20a1cdf7852f213e17190d80d42f2b3
Author: Ilya Lantukh 
Date:   2017-04-21T16:42:25Z

gg-12120 : Throw exception instead of AssertionError when partition is in 
invalid state.

commit f9f5053573b1526de34540879cad45fdd8b00782
Author: Ilya Lantukh 
Date:   2017-04-21T16:46:19Z

Merge branches 'ignite-gg-12120' and 'ignite-gg-8.0.4.ea1' of 
https://github.com/gridgain/apache-ignite into ignite-gg-12120

commit 6e571f8ed17849b88aa51f942dab091f251d6fd5
Author: devozerov 
Date:   2017-04-24T09:31:51Z

IGNITE-5058: Fixed QueryIndex validation when QueryEntity.valueType is not 
set yet. This closes #1861.

commit 999801be8b0d4b321b7d334a075e4184c95eb197
Author: Ilya Lantukh 
Date:   2017-04-24T13:47:35Z

Merge branches 'ignite-gg-12095' and 'ignite-gg-8.0.4.ea1' of 
https://github.com/gridgain/apache-ignite into 

[jira] [Commented] (IGNITE-5458) Add CacheKeyConfiguration to CacheConfiguration

2017-06-09 Thread Vladimir Ozerov (JIRA)

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

Vladimir Ozerov commented on IGNITE-5458:
-

SQL tests look fine. Now waiting for full test run.

> 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)


[jira] [Commented] (IGNITE-5458) Add CacheKeyConfiguration to CacheConfiguration

2017-06-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-5458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
Date:   2017-06-08T11:51:40Z

WIP.

commit c765f54f387177c5d2d76c0b47a0bb2a3d5d3c1a
Author: devozerov 
Date:   2017-06-09T07:11:36Z

Merge branch 'master' into vozerov-affinity

commit 4269eee2a43674b4a24b81ee3b09210b9c0eb202
Author: devozerov 
Date:   2017-06-09T07:28:34Z

WIP.

commit 54afab2b9b934e9dae96c5eb095ab4a344633b34
Author: devozerov 
Date:   2017-06-09T07:35:48Z

Returning old mappings.

commit 78276a21878559e14b8cf9d0407cda62aebf1bb0
Author: devozerov 
Date:   2017-06-09T07:38:54Z

WIP.

commit bc4a4c7774a1d1be2a2437fcfb241b5d6c966cd9
Author: devozerov 
Date:   2017-06-09T07:40:39Z

WIP.

commit 53011359a1ccc85825ff09fbb28be2e57e6c78d6
Author: devozerov 
Date:   2017-06-09T07:42:04Z

WIP.

commit 4c7e3653eb3d7abef843b2f9bab1da9519660d72
Author: devozerov 
Date:   2017-06-09T07:59:42Z

WIP.

commit bc952483e626c6599faad41f2b3bb30162f407bb
Author: devozerov 
Date:   2017-06-09T09:30:40Z

WIP.

commit ae7bd7c1767fbd7018cd193a235aea8cabb8ee11
Author: devozerov 
Date:   2017-06-09T09:44:14Z

WIP.

commit 36265d1dbf91b4a795b324626aa5ce94add6b7c7
Author: devozerov 
Date:   2017-06-09T09:45:49Z

Property.

commit 5bb8fb008e7365d2b3b489bb5e047a1dc9be9038
Author: devozerov 
Date:   2017-06-09T09:48:54Z

Removed affinitydynamic table affinity mapper.

commit 38597d1910a2ddaaf65c81e71d7e86609e20a8b2
Author: devozerov 
Date:   2017-06-09T09:50:40Z

MInors.

commit 6cb550053e95d3529771bb16ccf648f3c0066720
Author: devozerov 
Date:   2017-06-09T09:53:24Z

WIP.

commit 72dfc1d86bdef2e7e620967f1f025198fff16143
Author: devozerov 
Date:   2017-06-09T10:22:43Z

WIP.

commit 386f614170e42bf8089536d6f944098caae9eb68
Author: devozerov 
Date:   2017-06-09T10:33:54Z

Fixed affinity key field name resolution for DML.

commit a491d1d607560ffa25f4e4021ba731adbccc482a
Author: devozerov 
Date:   2017-06-09T11:06:05Z

WIP.

commit 5665fe2c0e7583f0cc80f3d1a63af7d9011f5e27
Author: devozerov 
Date:   2017-06-09T11:10:12Z

Appears to work somehow.

commit ec175880c753f8f70fb66e7c9428c6bcad364ad6
Author: devozerov 
Date:   2017-06-09T11:16:29Z

Fixes.

commit 4d50bc5d9020135e06a7c9d3b9dde6337eec4b9c
Author: devozerov 
Date:   2017-06-09T11:26:57Z

Fixing tests.

commit 9686fbaf4f082bac0a49d54fde86f2a1137e26a0
Author: devozerov 
Date:   2017-06-09T11:37:07Z

Fixing tests.

commit 1ceb9a1321e8b947b6350192af1d2e50429d4bc3
Author: devozerov 
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