[jira] [Commented] (IGNITE-14039) Add warnings about WAL enable/disable requiring topology stability

2021-01-22 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-14039:


{panel:title=Branch: [pull/8688/head] Base: [master] : Possible Blockers 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}PDS (Compatibility)*{color} [[tests 
2|https://ci.ignite.apache.org/viewLog.html?buildId=5838926]]
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_8 
- Test has low fail rate in base branch 0,0% and is not flaky
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_8_1
 - Test has low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/8688/head] Base: [master] : New Tests 
(3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#8b}PDS 1{color} [[tests 
3|https://ci.ignite.apache.org/viewLog.html?buildId=5838512]]
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testOffWhileNodeOffline - PASSED{color}
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testDisableWhileNodeOffline - PASSED{color}
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testEnableWhileNodeOffline - PASSED{color}

{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5838541buildTypeId=IgniteTests24Java8_RunAll]

> Add warnings about WAL enable/disable requiring topology stability
> --
>
> Key: IGNITE-14039
> URL: https://issues.apache.org/jira/browse/IGNITE-14039
> Project: Ignite
>  Issue Type: Bug
>  Components: documentation
>Affects Versions: 2.9.1
>Reporter: Ilya Kasnacheev
>Assignee: Ilya Kasnacheev
>Priority: Blocker
> Fix For: 2.10
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Due to IGNITE-13976 WAL enable/disable is not suitable for any kind of 
> changing topology and will cause cache to go into inconsistent state. We need 
> to add warnings to javadoc, runtime and documentation, and provide tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Issue Comment Deleted] (IGNITE-14039) Add warnings about WAL enable/disable requiring topology stability

2021-01-22 Thread Ilya Kasnacheev (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kasnacheev updated IGNITE-14039:
-
Comment: was deleted

(was: {panel:title=Branch: [pull/8688/head] Base: [master] : Possible Blockers 
(5)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Java Client{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=5838460]]

{color:#d04437}PDS (Compatibility)*{color} [[tests 
4|https://ci.ignite.apache.org/viewLog.html?buildId=5838509]]
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_2 
- Test has low fail rate in base branch 0,0% and is not flaky
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_1 
- Test has low fail rate in base branch 0,0% and is not flaky
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_8_1
 - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_7_6
 - Test has low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/8688/head] Base: [master] : New Tests 
(3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#8b}PDS 1{color} [[tests 
3|https://ci.ignite.apache.org/viewLog.html?buildId=5838512]]
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testOffWhileNodeOffline - PASSED{color}
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testDisableWhileNodeOffline - PASSED{color}
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testEnableWhileNodeOffline - PASSED{color}

{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5838541buildTypeId=IgniteTests24Java8_RunAll])

> Add warnings about WAL enable/disable requiring topology stability
> --
>
> Key: IGNITE-14039
> URL: https://issues.apache.org/jira/browse/IGNITE-14039
> Project: Ignite
>  Issue Type: Bug
>  Components: documentation
>Affects Versions: 2.9.1
>Reporter: Ilya Kasnacheev
>Assignee: Ilya Kasnacheev
>Priority: Blocker
> Fix For: 2.10
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Due to IGNITE-13976 WAL enable/disable is not suitable for any kind of 
> changing topology and will cause cache to go into inconsistent state. We need 
> to add warnings to javadoc, runtime and documentation, and provide tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14039) Add warnings about WAL enable/disable requiring topology stability

2021-01-22 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-14039:


{panel:title=Branch: [pull/8688/head] Base: [master] : Possible Blockers 
(5)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Java Client{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=5838460]]

{color:#d04437}PDS (Compatibility)*{color} [[tests 
4|https://ci.ignite.apache.org/viewLog.html?buildId=5838509]]
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_2 
- Test has low fail rate in base branch 0,0% and is not flaky
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_1 
- Test has low fail rate in base branch 0,0% and is not flaky
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_8_1
 - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteCompatibilityBasicTestSuite: 
PersistenceBasicCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_7_6
 - Test has low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/8688/head] Base: [master] : New Tests 
(3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#8b}PDS 1{color} [[tests 
3|https://ci.ignite.apache.org/viewLog.html?buildId=5838512]]
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testOffWhileNodeOffline - PASSED{color}
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testDisableWhileNodeOffline - PASSED{color}
* {color:#013220}IgnitePdsTestSuite: 
WalEnableDisableWithNodeShutdownTest.testEnableWhileNodeOffline - PASSED{color}

{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5838541buildTypeId=IgniteTests24Java8_RunAll]

> Add warnings about WAL enable/disable requiring topology stability
> --
>
> Key: IGNITE-14039
> URL: https://issues.apache.org/jira/browse/IGNITE-14039
> Project: Ignite
>  Issue Type: Bug
>  Components: documentation
>Affects Versions: 2.9.1
>Reporter: Ilya Kasnacheev
>Assignee: Ilya Kasnacheev
>Priority: Blocker
> Fix For: 2.10
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Due to IGNITE-13976 WAL enable/disable is not suitable for any kind of 
> changing topology and will cause cache to go into inconsistent state. We need 
> to add warnings to javadoc, runtime and documentation, and provide tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-13976) WAL disable/enable with node restarts results in mismatching state, data loss

2021-01-22 Thread Ilya Kasnacheev (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kasnacheev reassigned IGNITE-13976:


Assignee: Anton Kalashnikov  (was: Ilya Kasnacheev)

> WAL disable/enable with node restarts results in mismatching state, data loss
> -
>
> Key: IGNITE-13976
> URL: https://issues.apache.org/jira/browse/IGNITE-13976
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.9.1
>Reporter: Ilya Kasnacheev
>Assignee: Anton Kalashnikov
>Priority: Critical
>
> If you try to enable/disable WAL on unstable topology, you will get to state 
> when WAL status is undefined, nodes might have different wall status and the 
> only way to fix it is to restart the cluster, which will lead to data loss 
> because ignite removes data if WAL is disabled on restart.
> See the reproducer in PR.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14027) Switching Auto-adjust on does not trigger including existent nodes(which are not in BLT) to the BLT

2021-01-22 Thread Sergey Chugunov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Chugunov updated IGNITE-14027:
-
Fix Version/s: 2.11

> Switching Auto-adjust on does not trigger including existent nodes(which are 
> not in BLT) to the BLT
> ---
>
> Key: IGNITE-14027
> URL: https://issues.apache.org/jira/browse/IGNITE-14027
> Project: Ignite
>  Issue Type: Bug
>  Components: general
>Affects Versions: 2.9.1
>Reporter: Semyon Danilov
>Assignee: Semyon Danilov
>Priority: Major
> Fix For: 2.11
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Steps to reproduce:
>  * Start cluster with AA on
>  * Disable AA
>  * Start new node - it joins topology, not the BL
>  * Enable AA
> Expected:
>  * As _softTimeout_ passes, the node joins the BLT
> Actual:
>  * The node remains out of BLT
> With that new note won't join BLT until either another new node started or AA 
> disabled and the node is included in the BLT manually



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-13976) WAL disable/enable with node restarts results in mismatching state, data loss

2021-01-22 Thread Ilya Kasnacheev (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kasnacheev updated IGNITE-13976:
-
Priority: Critical  (was: Blocker)

> WAL disable/enable with node restarts results in mismatching state, data loss
> -
>
> Key: IGNITE-13976
> URL: https://issues.apache.org/jira/browse/IGNITE-13976
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.9.1
>Reporter: Ilya Kasnacheev
>Assignee: Ilya Kasnacheev
>Priority: Critical
>
> If you try to enable/disable WAL on unstable topology, you will get to state 
> when WAL status is undefined, nodes might have different wall status and the 
> only way to fix it is to restart the cluster, which will lead to data loss 
> because ignite removes data if WAL is disabled on restart.
> See the reproducer in PR.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-13976) WAL disable/enable with node restarts results in mismatching state, data loss

2021-01-22 Thread Ilya Kasnacheev (Jira)


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

Ilya Kasnacheev commented on IGNITE-13976:
--

I will document a list of open questions and problems with the implementation 
of WAL enable/disable:

* CacheGroupDescriptor has volatile walEnabled field. CacheGroupDescriptor 
denotes configuration of cache group at some moment of time, such as, on node 
join. It is not topology versioned. Therefore, if you have a 
CacheGroupDescriptor.walEnabled "false", you have no idea in which topology 
version it is enabled, and when you are asked to change it, you have no 
guarantee that it is in sync with the rest of the cluster.
* CacheGroupContext also has localWalEnabled and globalWalEnabled. I'm not sure 
what's the difference. Anyway, CacheGroupDescriptor.walEnabled is changed in a 
different place and different thread than CacheGroupContext.globalWalEnabled - 
former is set when it is decided that WAL change request should be handled, 
latter when relevant checkpoint finishes. This means that node could already 
have set CacheGroupDescriptor.walEnabled to false, already sending this value 
to new nodes which try to join, but it did not set 
CacheGroupContext.globalWalEnabled to false - it is still waiting on checkpoint 
to do so.
* Enabling/disabling WAL will trigger checkpoint _on client nodes_. Despite 
that fact, it has separate logic for server nodes. I'm not sure what does it do.
* When persistent node starts, it will read its current WAL disabled/enabled 
status into maps initiallyLocalWalDisabledGrps/initiallyGlobalWalDisabledGrps. 
It will, however, not clear values from these maps when cache is destroyed. 
Meaning, when you will recreate such cache, node will still re-use old value of 
WAL disabled for that cache. You may get cache that is in inconsistent state 
from the start. The very existence of these maps outside of CacheGroupContext 
or CacheGroupDescriptor is a liability. I have tried sidestepping it in 
IGNITE-14039
* CacheGroupDescriptor has a list of  WAL change requests. I don't understand 
why we need to have a list of requests per cache, since every one of them 
involves a PME, and therefore at any moment you need to do no more than one WAL 
change for a cache - either you need to toggle it, or leave as it is.
* #onCachesInfoCollected will try to process the last WAL change request. I'm 
not sure why it will discard the rest. For this last WAL change request it will 
issue a "changed true" or "changed false" verdict, in order to presumably 
notify the rest of nodes in the cluster. However, it does not make sense to 
fail operation here because a newcomer node has ignored some of WAL change 
requests and responded false to the last one only.
* Did I already mentioned that it does not make sense to have more than one WAL 
change request per cache, or change any flag outside of PME blocking operation? 
If you do this inside PME lock you may rely that all nodes do this in sync.
* On node startup, CacheGroupDescriptor.walEnabled is received from peer nodes, 
representing WAL status at some unknown moment of time. Already bad, it is 
compounded by the fact this walEnabled flag is never propagated to 
cacheGroupContext. So the cache will start in "WAL enabled" mode regardless of 
current cluster WAL mode for this cache.
* CacheGroupDescriptor.walEnabled and CacheGroupContext.globalWalEnabled are 
checked in some random different places while WAL state change request is 
handled. This is never documented.
* WalStateManager will produce the following warnings: "Received finish message 
for unknown operation (will ignore)". However, it will not actually ignore 
anything after this warning and continue this operation as usual.
* There's code which blindly toggles the value of "WAL enabled" without 
checking that in this specific place it will be set to desired value
{code}
if (msg.changed())
grpDesc.walEnabled(!grpDesc.walEnabled());
{code}

I observe at least four failure scenarios for this code:
- Enabling or disabling WAL state when a baseline node was down. When node 
comes back it is in incorrect WAL status. This is checked by sequential test 
and always fails embarrasingly (see mailing list thread in IGNITE-14039). I 
have tried fixing it in the PR.
- Unknown reason why on the client node WAL state will be different from the 
server nodes, after WAL change is requested from this node.
- If server node is joining when WAL state change is underway, it is going to 
get incorrect value in its CacheGroupDescriptor for that cache (too old or too 
new compared to what the rest of nodes consider recent) and will get out of 
sync.
- When cache is destroyed and recreated, nodes will take the wal enabled flag 
from their maps populated at startup. See above. Leading to WAL state 
inconsistent on the cache from the first 

[jira] [Updated] (IGNITE-14033) .NET: MessagingTest.TestRemoteListen is flaky

2021-01-22 Thread Pavel Tupitsyn (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-14033:

Priority: Trivial  (was: Major)

> .NET: MessagingTest.TestRemoteListen is flaky
> -
>
> Key: IGNITE-14033
> URL: https://issues.apache.org/jira/browse/IGNITE-14033
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Trivial
>  Labels: .NET
> Fix For: 2.11
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> TestRemoteListen is flaky:
> https://ci.ignite.apache.org/test/-5844373269997071739?currentProjectId=IgniteTests24Java8=IgniteTests24Java8_PlatformNetCoreLinux=%3Cdefault%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14033) .NET: MessagingTest.TestRemoteListen is flaky

2021-01-22 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn commented on IGNITE-14033:
-

Merged to master: 1bc9ab8e367df56c4febde9ac55a54c6c89b1ff1

> .NET: MessagingTest.TestRemoteListen is flaky
> -
>
> Key: IGNITE-14033
> URL: https://issues.apache.org/jira/browse/IGNITE-14033
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: .NET
> Fix For: 2.11
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> TestRemoteListen is flaky:
> https://ci.ignite.apache.org/test/-5844373269997071739?currentProjectId=IgniteTests24Java8=IgniteTests24Java8_PlatformNetCoreLinux=%3Cdefault%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14008) SQL tracing: add tag sql.query.id

2021-01-22 Thread Taras Ledkov (Jira)


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

Taras Ledkov commented on IGNITE-14008:
---

[~PetrovMikhail], please review the patch.

> SQL tracing: add tag sql.query.id
> -
>
> Key: IGNITE-14008
> URL: https://issues.apache.org/jira/browse/IGNITE-14008
> Project: Ignite
>  Issue Type: Improvement
>  Components: sql
>Affects Versions: 2.9.1
>Reporter: Taras Ledkov
>Assignee: Taras Ledkov
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> It's hard to find a trace fro specified query.
> I think we have to add new tag: {{sql.query.id}} for spans:
> - {{sql.command.query.execute}}
> - {{sql.dml.query.execute}}
> - {{sql.cursor.open}}
> In this case user can find a query bu nodeId & queryId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14008) SQL tracing: add tag sql.query.id

2021-01-22 Thread Taras Ledkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Taras Ledkov updated IGNITE-14008:
--
Fix Version/s: 2.11

> SQL tracing: add tag sql.query.id
> -
>
> Key: IGNITE-14008
> URL: https://issues.apache.org/jira/browse/IGNITE-14008
> Project: Ignite
>  Issue Type: Improvement
>  Components: sql
>Affects Versions: 2.9.1
>Reporter: Taras Ledkov
>Assignee: Taras Ledkov
>Priority: Major
> Fix For: 2.11
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> It's hard to find a trace fro specified query.
> I think we have to add new tag: {{sql.query.id}} for spans:
> - {{sql.command.query.execute}}
> - {{sql.dml.query.execute}}
> - {{sql.cursor.open}}
> In this case user can find a query bu nodeId & queryId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14008) SQL tracing: add tag sql.query.id

2021-01-22 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-14008:


{panel:title=Branch: [pull/8682/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8682/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5836466buildTypeId=IgniteTests24Java8_RunAll]

> SQL tracing: add tag sql.query.id
> -
>
> Key: IGNITE-14008
> URL: https://issues.apache.org/jira/browse/IGNITE-14008
> Project: Ignite
>  Issue Type: Improvement
>  Components: sql
>Affects Versions: 2.9.1
>Reporter: Taras Ledkov
>Assignee: Taras Ledkov
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> It's hard to find a trace fro specified query.
> I think we have to add new tag: {{sql.query.id}} for spans:
> - {{sql.command.query.execute}}
> - {{sql.dml.query.execute}}
> - {{sql.cursor.open}}
> In this case user can find a query bu nodeId & queryId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (IGNITE-13912) Incorrect calculation of WAL segments that should be deleted from WAL archive

2021-01-22 Thread shivakumar (Jira)


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

shivakumar edited comment on IGNITE-13912 at 1/22/21, 2:31 PM:
---

Hi [~ktkale...@gridgain.com]

I have attached the reproducer, when you unzip reproducer.zip then there will 
be ignite-config.xml file which is used to install ignite cluster. In my setup 
I deployed 5 node Ignite cluster with this configuration on kubernetes.

In this config file you can disable SSL, change ipFinder (ex: to vm ipFinder if 
you install on Virtual machine).

The JVM OPTS set is 

*-server -Xms32g -Xmx32g -XX:+AlwaysPreTouch -XX:+UseG1GC 
-XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC*

 

In the same reproducer there is a client program(inventory_data.zip) which 
creates tables and ingest data, here is the steps to run the client program 
once you installed the ignite cluster.

*unzip inventory_data.zip*

*cd inventory_data/*

*mvn clean package*

open this config file and update ignite_db_url 

*vim src/main/resources/config.properties*

The config file look like this 
{code:java}
ignite_jdbc_driver = org.apache.ignite.IgniteJdbcThinDriver
ignite_db_url = 
jdbc:ignite:thin://ignite-service.default.svc.cluster.local:10800
ignite_db_url_parameters = distributedJoins=true
ignite_user = ignite
ignite_pass = ignite
generate_rows = 100 {code}
To run the program(This will connect to Ignite cluster and creates table and 
ingest one million records)
{code:java}
java -cp target/inventory-1.0-SNAPSHOT.jar:target/libs/* 
com.test.app.InventoryCreate src/main/resources/config.properties yes{code}
 

To continuously start data ingestion, call the same program in loop with 2nd 
argument set to "*no*" (This argument will skip table deletion and re-creation 
and directly starts data ingestion)
{code:java}
while true ; do java -cp target/inventory-1.0-SNAPSHOT.jar:target/libs/* 
com.test.app.InventoryCreate src/main/resources/config.properties no; sleep 2s; 
done{code}
 

Run this program for at-least 40 to 50 minutes and connect to visor shell in 
between data ingestion (like every 5 minutes connect to visor shell and run 
*cache -a* or *cache* command and be in visor for 2 minute and disconnect)

To connect to visor shell I'm using the same Ignite config file which is used 
for server start.

*./ignitevisorcmd.sh -cfg=/opt/ignite/conf/ignite-config.xml*

Monitor the WAL usage and see if you can re-produce.

Please let me know if you need any help.

 

Regards,

Shiva

 


was (Author: shm):
Hi [~ktkale...@gridgain.com]

I have attached the reproducer, when you unzip reproducer.zip then there will 
be ignite-config.xml file which is used to install ignite cluster. In my setup 
I deployed 5 node Ignite cluster with this configuration on kubernetes.

In this config file you can disable SSL, change ipFinder (ex: to vm ipFinder if 
you install on Virtual machine).

The JVM OPTS set is 

*-server -Xms32g -Xmx32g -XX:+AlwaysPreTouch -XX:+UseG1GC 
-XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC*

 

In the same reproducer there is a client program(inventory_data.zip) which 
creates tables and ingest data, here is the steps to run the client program 
once you installed the ignite cluster.

*unzip inventory_data.zip*

*cd inventory_data/*

*mvn clean package*

open this config file and update ignite_db_url 

*vim src/main/resources/config.properties*

The config file look like this 
{code:java}
ignite_jdbc_driver = org.apache.ignite.IgniteJdbcThinDriver
ignite_db_url = 
jdbc:ignite:thin://ignite-service.default.svc.cluster.local:10800
ignite_db_url_parameters = distributedJoins=true
ignite_user = ignite
ignite_pass = ignite
generate_rows = 100 {code}
To run the program(This will connect to Ignite cluster and creates table and 
ingest one million records)

*java -cp target/inventory-1.0-SNAPSHOT.jar:target/libs/* 
com.test.app.InventoryCreate src/main/resources/config.properties yes*

 

To continuously start data ingestion, call the same program in loop with 2nd 
argument set to "*no*" (This argument will skip table deletion and re-creation 
and directly starts data ingestion)

*while true ; do java -cp target/libs/*:target/inventory-1.0-SNAPSHOT.jar 
com.test.app.InventoryCreate src/main/resources/config.properties no; sleep 2s; 
done*

 

Run this program for at-least 40 to 50 minutes and connect to visor shell in 
between data ingestion (like every 5 minutes connect to visor shell and run 
*cache -a* or *cache* command and be in visor for 2 minute and disconnect)

To connect to visor shell I'm using the same Ignite config file which is used 
for server start.

*./ignitevisorcmd.sh -cfg=/opt/ignite/conf/ignite-config.xml*

Monitor the WAL usage and see if you can re-produce.

Please let me know if you need any help.

 

Regards,

Shiva

 

> Incorrect calculation of WAL segments that should be deleted from WAL archive

[jira] [Commented] (IGNITE-13912) Incorrect calculation of WAL segments that should be deleted from WAL archive

2021-01-22 Thread shivakumar (Jira)


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

shivakumar commented on IGNITE-13912:
-

Hi [~ktkale...@gridgain.com]

I have attached the reproducer, when you unzip reproducer.zip then there will 
be ignite-config.xml file which is used to install ignite cluster. In my setup 
I deployed 5 node Ignite cluster with this configuration on kubernetes.

In this config file you can disable SSL, change ipFinder (ex: to vm ipFinder if 
you install on Virtual machine).

The JVM OPTS set is 

*-server -Xms32g -Xmx32g -XX:+AlwaysPreTouch -XX:+UseG1GC 
-XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC*

 

In the same reproducer there is a client program(inventory_data.zip) which 
creates tables and ingest data, here is the steps to run the client program 
once you installed the ignite cluster.

*unzip inventory_data.zip*

*cd inventory_data/*

*mvn clean package*

open this config file and update ignite_db_url 

*vim src/main/resources/config.properties*

The config file look like this 
{code:java}
ignite_jdbc_driver = org.apache.ignite.IgniteJdbcThinDriver
ignite_db_url = 
jdbc:ignite:thin://ignite-service.default.svc.cluster.local:10800
ignite_db_url_parameters = distributedJoins=true
ignite_user = ignite
ignite_pass = ignite
generate_rows = 100 {code}
To run the program(This will connect to Ignite cluster and creates table and 
ingest one million records)

*java -cp target/inventory-1.0-SNAPSHOT.jar:target/libs/* 
com.test.app.InventoryCreate src/main/resources/config.properties yes*

 

To continuously start data ingestion, call the same program in loop with 2nd 
argument set to "*no*" (This argument will skip table deletion and re-creation 
and directly starts data ingestion)

*while true ; do java -cp target/libs/*:target/inventory-1.0-SNAPSHOT.jar 
com.test.app.InventoryCreate src/main/resources/config.properties no; sleep 2s; 
done*

 

Run this program for at-least 40 to 50 minutes and connect to visor shell in 
between data ingestion (like every 5 minutes connect to visor shell and run 
*cache -a* or *cache* command and be in visor for 2 minute and disconnect)

To connect to visor shell I'm using the same Ignite config file which is used 
for server start.

*./ignitevisorcmd.sh -cfg=/opt/ignite/conf/ignite-config.xml*

Monitor the WAL usage and see if you can re-produce.

Please let me know if you need any help.

 

Regards,

Shiva

 

> Incorrect calculation of WAL segments that should be deleted from WAL archive
> -
>
> Key: IGNITE-13912
> URL: https://issues.apache.org/jira/browse/IGNITE-13912
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Reporter: Kirill Tkalenko
>Assignee: Kirill Tkalenko
>Priority: Critical
> Fix For: 2.10
>
> Attachments: reproducer.zip, server1-full-wal-checkpoint.log, 
> wal-checkpoint-logs, wal_dir_contents, wal_grows_from_peak.PNG, 
> wal_issue_reproduced.PNG, wal_usage.PNG, wal_usage_dec12.PNG, 
> wal_usage_dec22nd_binary.PNG
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Now there is an incorrect calculation of WAL segments that should be deleted 
> from WAL archive. Since we delete only those segments whose total size should 
> not exceed *DataStorageConfiguration#maxWalArchiveSize * 
> IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE*, but should be up to  
> DataStorageConfiguration#maxWalArchiveSize * 
> IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE*. Therefore, an excess of 
> *DataStorageConfiguration#maxWalArchiveSize* occurs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14008) SQL tracing: add tag sql.query.id

2021-01-22 Thread Taras Ledkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Taras Ledkov updated IGNITE-14008:
--
Release Note: SQL tracing: add tag 'sql.query.id'

> SQL tracing: add tag sql.query.id
> -
>
> Key: IGNITE-14008
> URL: https://issues.apache.org/jira/browse/IGNITE-14008
> Project: Ignite
>  Issue Type: Improvement
>  Components: sql
>Affects Versions: 2.9.1
>Reporter: Taras Ledkov
>Assignee: Taras Ledkov
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> It's hard to find a trace fro specified query.
> I think we have to add new tag: {{sql.query.id}} for spans:
> - {{sql.command.query.execute}}
> - {{sql.dml.query.execute}}
> - {{sql.cursor.open}}
> In this case user can find a query bu nodeId & queryId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14039) Add warnings about WAL enable/disable requiring topology stability

2021-01-22 Thread Ilya Kasnacheev (Jira)
Ilya Kasnacheev created IGNITE-14039:


 Summary: Add warnings about WAL enable/disable requiring topology 
stability
 Key: IGNITE-14039
 URL: https://issues.apache.org/jira/browse/IGNITE-14039
 Project: Ignite
  Issue Type: Bug
  Components: documentation
Affects Versions: 2.9.1
Reporter: Ilya Kasnacheev
Assignee: Ilya Kasnacheev
 Fix For: 2.10


Due to IGNITE-13976 WAL enable/disable is not suitable for any kind of changing 
topology and will cause cache to go into inconsistent state. We need to add 
warnings to javadoc, runtime and documentation, and provide tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-13285) Document control.sh indexes manipulation commands

2021-01-22 Thread Nikita Safonov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Safonov reassigned IGNITE-13285:
---

Assignee: Nikita Safonov

> Document control.sh indexes manipulation commands
> -
>
> Key: IGNITE-13285
> URL: https://issues.apache.org/jira/browse/IGNITE-13285
> Project: Ignite
>  Issue Type: Task
>  Components: control.sh, documentation
>Reporter: Vladimir Malinovskiy
>Assignee: Nikita Safonov
>Priority: Major
>  Labels: important
> Fix For: 2.10
>
>
> Under IGNITE-13268 3 new cache commands were added:
> {code:java}
> --indexes_list
> --indexes_rebuild_status
> --indexes_force_rebuild
> {code}
> New commands should be documented.
> Here is part of cache help that corresponds to the commands:
> {code:java}
>   --cache indexes_list [--node-id nodeId] [--group-name grpRegExp] 
> [--cache-name cacheRegExp] [--index-name idxNameRegExp]
> List all indexes that match specified filters.
> Parameters:
>   --node-id nodeId - Specify node for job execution. If not specified 
> explicitly, node will be chosen by grid
>   --group-name regExp  - Regular expression allowing filtering by cache 
> group name
>   --cache-name regExp  - Regular expression allowing filtering by cache 
> name
>   --index-name regExp  - Regular expression allowing filtering by index 
> name  
> --cache indexes_rebuild_status [--node-id nodeId]
> List all indexes that have index rebuild in progress.
> Parameters:
>   --node-id nodeId  - Specify node for job execution. If not specified 
> explicitly, info will be gathered from all nodes
> --cache indexes_force_rebuild --node-id nodeId --cache-name 
> cacheName1,...cacheNameN|--group-name groupName1,...groupNameN
> Triggers rebuild of all indexes for specified caches or cache groups.
> Parameters:
>   --node-id  - Specify node for indexes rebuild.
>   --cache-names  - Comma-separated list of cache names for which indexes 
> should be rebuilt.
>   --group-names  - Comma-separated list of cache group names for which 
> indexes should be rebuilt.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-13606) Documentation update on JMX default configuration removal

2021-01-22 Thread Nikita Safonov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Safonov reassigned IGNITE-13606:
---

Assignee: Nikita Safonov

> Documentation update on JMX default configuration removal
> -
>
> Key: IGNITE-13606
> URL: https://issues.apache.org/jira/browse/IGNITE-13606
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Reporter: Semyon Danilov
>Assignee: Nikita Safonov
>Priority: Major
>  Labels: important
> Fix For: 2.10
>
>
> After the merge of https://issues.apache.org/jira/browse/IGNITE-13478 JMX 
> will be no longer automatically configured



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-13606) Documentation update on JMX default configuration removal

2021-01-22 Thread Nikita Safonov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Safonov reassigned IGNITE-13606:
---

Assignee: (was: Nikita Safonov)

> Documentation update on JMX default configuration removal
> -
>
> Key: IGNITE-13606
> URL: https://issues.apache.org/jira/browse/IGNITE-13606
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Reporter: Semyon Danilov
>Priority: Major
>  Labels: important
> Fix For: 2.10
>
>
> After the merge of https://issues.apache.org/jira/browse/IGNITE-13478 JMX 
> will be no longer automatically configured



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-13606) Documentation update on JMX default configuration removal

2021-01-22 Thread Nikita Safonov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Safonov reassigned IGNITE-13606:
---

Assignee: Nikita Safonov

> Documentation update on JMX default configuration removal
> -
>
> Key: IGNITE-13606
> URL: https://issues.apache.org/jira/browse/IGNITE-13606
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Reporter: Semyon Danilov
>Assignee: Nikita Safonov
>Priority: Major
>  Labels: important
> Fix For: 2.10
>
>
> After the merge of https://issues.apache.org/jira/browse/IGNITE-13478 JMX 
> will be no longer automatically configured



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-13385) Documentation of cache warm-up strategy

2021-01-22 Thread Nikita Safonov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Safonov reassigned IGNITE-13385:
---

Assignee: Nikita Safonov

> Documentation of cache warm-up strategy
> ---
>
> Key: IGNITE-13385
> URL: https://issues.apache.org/jira/browse/IGNITE-13385
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Reporter: Kirill Tkalenko
>Assignee: Nikita Safonov
>Priority: Blocker
>  Labels: IEP-40, important
> Fix For: 2.10
>
>
> Need to add documentation about the warm-up strategies that are implemented 
> for IEP-40, as well as about the possibility of stopping it via control.sh 
> and jmx.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (IGNITE-14012) Ducktape jmx_utils should consider the possibility of intermediate MBeans

2021-01-22 Thread Mikhail Filatov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mikhail Filatov closed IGNITE-14012.


> Ducktape jmx_utils should consider the possibility of intermediate MBeans
> -
>
> Key: IGNITE-14012
> URL: https://issues.apache.org/jira/browse/IGNITE-14012
> Project: Ignite
>  Issue Type: Task
>Reporter: Mikhail Filatov
>Assignee: Mikhail Filatov
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Sometimes MBeans structure looks like:
> org.apache:clsLdr=764c12b6,group=Kernal,igniteInstanceName=Server_Example_Xml_-676757500,name=IgniteKernal
> but jmx_utils works only if it looks like:
> .*group=Kernal,name=IgniteKernal
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14038) Separate JVM settings in the ducktests.

2021-01-22 Thread Anton Vinogradov (Jira)


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

Anton Vinogradov commented on IGNITE-14038:
---

Merged to ignite-ducktape.
Thanks for your contribution.

> Separate JVM settings in the ducktests.
> ---
>
> Key: IGNITE-14038
> URL: https://issues.apache.org/jira/browse/IGNITE-14038
> Project: Ignite
>  Issue Type: Sub-task
>Reporter: Vladimir Steshin
>Assignee: Vladimir Steshin
>Priority: Minor
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-13912) Incorrect calculation of WAL segments that should be deleted from WAL archive

2021-01-22 Thread shivakumar (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

shivakumar updated IGNITE-13912:

Attachment: reproducer.zip

> Incorrect calculation of WAL segments that should be deleted from WAL archive
> -
>
> Key: IGNITE-13912
> URL: https://issues.apache.org/jira/browse/IGNITE-13912
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Reporter: Kirill Tkalenko
>Assignee: Kirill Tkalenko
>Priority: Critical
> Fix For: 2.10
>
> Attachments: reproducer.zip, server1-full-wal-checkpoint.log, 
> wal-checkpoint-logs, wal_dir_contents, wal_grows_from_peak.PNG, 
> wal_issue_reproduced.PNG, wal_usage.PNG, wal_usage_dec12.PNG, 
> wal_usage_dec22nd_binary.PNG
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Now there is an incorrect calculation of WAL segments that should be deleted 
> from WAL archive. Since we delete only those segments whose total size should 
> not exceed *DataStorageConfiguration#maxWalArchiveSize * 
> IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE*, but should be up to  
> DataStorageConfiguration#maxWalArchiveSize * 
> IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE*. Therefore, an excess of 
> *DataStorageConfiguration#maxWalArchiveSize* occurs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14033) .NET: MessagingTest.TestRemoteListen is flaky

2021-01-22 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-14033:


{panel:title=Branch: [pull/8685/head] Base: [master] : Possible Blockers 
(10)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}SPI{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5838242]]
* IgniteSpiTestSuite: 
TcpDiscoveryNetworkIssuesTest.testServerGetsSegmentedOnBecomeDangling - Test 
has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Queries 1{color} [[tests 
6|https://ci.ignite.apache.org/viewLog.html?buildId=5838293]]
* IgniteBinaryCacheQueryTestSuite: 
DynamicIndexClientBasicSelfTest.testCreateIndexWithInlineSizeReplicatedAtomic - 
Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: 
DynamicIndexClientBasicSelfTest.testCreateIndexWithInlineSizePartitionedTransactionalNear
 - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: 
DynamicIndexClientBasicSelfTest.testDropPartitionedAtomic - Test has low fail 
rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: 
DynamicIndexClientBasicSelfTest.testCreateIndexWithInlineSizePartitionedAtomicNear
 - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: 
DynamicIndexClientBasicSelfTest.testCreatePartitionedTransactional - Test has 
low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: 
DynamicIndexClientBasicSelfTest.testCreateIndexNoColumnPartitionedTransactional 
- Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Java Client{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=5838231]]

{color:#d04437}PDS 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5838283]]
* IgnitePdsTestSuite: BPlusTreeReuseListPageMemoryImplTest.testPutSizeLivelock 
- Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Cache (Tx Recovery){color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5838267]]
* IgniteCacheTxRecoverySelfTestSuite: 
GridCachePartitionedTxOriginatingNodeFailureSelfTest.testTxAllNodes - Test has 
low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/8685/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5838312buildTypeId=IgniteTests24Java8_RunAll]

> .NET: MessagingTest.TestRemoteListen is flaky
> -
>
> Key: IGNITE-14033
> URL: https://issues.apache.org/jira/browse/IGNITE-14033
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: .NET
> Fix For: 2.11
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> TestRemoteListen is flaky:
> https://ci.ignite.apache.org/test/-5844373269997071739?currentProjectId=IgniteTests24Java8=IgniteTests24Java8_PlatformNetCoreLinux=%3Cdefault%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14038) Separate JVM settings in the ducktests.

2021-01-22 Thread Vladimir Steshin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Steshin updated IGNITE-14038:
--
Ignite Flags:   (was: Docs Required,Release Notes Required)

> Separate JVM settings in the ducktests.
> ---
>
> Key: IGNITE-14038
> URL: https://issues.apache.org/jira/browse/IGNITE-14038
> Project: Ignite
>  Issue Type: Sub-task
>Reporter: Vladimir Steshin
>Assignee: Vladimir Steshin
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-13835) Improve discovery ducktape test to research small timeouts and behavior on large cluster.

2021-01-22 Thread Vladimir Steshin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Steshin updated IGNITE-13835:
--
Ignite Flags:   (was: Docs Required,Release Notes Required)

> Improve discovery ducktape test to research small timeouts and behavior on 
> large cluster.
> -
>
> Key: IGNITE-13835
> URL: https://issues.apache.org/jira/browse/IGNITE-13835
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Vladimir Steshin
>Assignee: Vladimir Steshin
>Priority: Major
>
> Improve discovery ducktape test to research the cluster behavior with bigger 
> node number and smaller timeouts. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (IGNITE-14037) Separate JVM settings in the ducktests.

2021-01-22 Thread Vladimir Steshin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Steshin closed IGNITE-14037.
-
Ignite Flags:   (was: Docs Required,Release Notes Required)

> Separate JVM settings in the ducktests.
> ---
>
> Key: IGNITE-14037
> URL: https://issues.apache.org/jira/browse/IGNITE-14037
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Vladimir Steshin
>Assignee: Vladimir Steshin
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14038) Separate JVM settings in the ducktests.

2021-01-22 Thread Vladimir Steshin (Jira)
Vladimir Steshin created IGNITE-14038:
-

 Summary: Separate JVM settings in the ducktests.
 Key: IGNITE-14038
 URL: https://issues.apache.org/jira/browse/IGNITE-14038
 Project: Ignite
  Issue Type: Sub-task
Reporter: Vladimir Steshin
Assignee: Vladimir Steshin






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-13836) Multiple property roots support

2021-01-22 Thread Sergey Chugunov (Jira)


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

Sergey Chugunov commented on IGNITE-13836:
--

[~akalashnikov], [~ibessonov],

Thank you for review!

I merged this ticket to main branch in commit 
*02512fe1970b5b9703b9296d178893f879fb7b8a*.

> Multiple property roots support
> ---
>
> Key: IGNITE-13836
> URL: https://issues.apache.org/jira/browse/IGNITE-13836
> Project: Ignite
>  Issue Type: Sub-task
>Reporter: Anton Kalashnikov
>Assignee: Sergey Chugunov
>Priority: Major
> Fix For: 3.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Right now, Configurator is able to manage only one root. It looks like it is 
> not enough. The current idea is to provide the ability to maintain multiple 
> property roots, which allows other modules to create their own roots as 
> needed.
> ex.:
>  * indexing.query.bufferSize
>  * persistence.pageSize
> NB! There is not any local/cluster root because it looks like local/cluster 
> shouldn't be there at all. Perhaps it should be a storage-specific feature 
> rather than a property path specific.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-13836) Multiple property roots support

2021-01-22 Thread Sergey Chugunov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Chugunov updated IGNITE-13836:
-
Ignite Flags:   (was: Docs Required,Release Notes Required)

> Multiple property roots support
> ---
>
> Key: IGNITE-13836
> URL: https://issues.apache.org/jira/browse/IGNITE-13836
> Project: Ignite
>  Issue Type: Sub-task
>Reporter: Anton Kalashnikov
>Assignee: Sergey Chugunov
>Priority: Major
> Fix For: 3.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Right now, Configurator is able to manage only one root. It looks like it is 
> not enough. The current idea is to provide the ability to maintain multiple 
> property roots, which allows other modules to create their own roots as 
> needed.
> ex.:
>  * indexing.query.bufferSize
>  * persistence.pageSize
> NB! There is not any local/cluster root because it looks like local/cluster 
> shouldn't be there at all. Perhaps it should be a storage-specific feature 
> rather than a property path specific.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14037) Separate JVM settings in the ducktests.

2021-01-22 Thread Vladimir Steshin (Jira)
Vladimir Steshin created IGNITE-14037:
-

 Summary: Separate JVM settings in the ducktests.
 Key: IGNITE-14037
 URL: https://issues.apache.org/jira/browse/IGNITE-14037
 Project: Ignite
  Issue Type: Improvement
Reporter: Vladimir Steshin
Assignee: Vladimir Steshin






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14035) Table access public API.

2021-01-22 Thread Andrey Mashenkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-14035:
--
Labels: iep-54 ignite-3  (was: )

> Table access public API.
> 
>
> Key: IGNITE-14035
> URL: https://issues.apache.org/jira/browse/IGNITE-14035
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Andrey Mashenkov
>Assignee: Andrey Mashenkov
>Priority: Major
>  Labels: iep-54, ignite-3
>
> Create table access API (incl. Record and KV concepts).
> Cover the next cases with Examples of how API can be used:
> * Simple Record case.
> * Simple KV case.
> * Truncated classes.
> * Custom serialization and  BinaryObject concept.
> * Conditional serialization.
> * Inheritance mapping single table strategy (wide table schema vs conditional 
> serialization)
> * Transition from "schemaless" (pure binary KV case) to a schema powered.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-13836) Multiple property roots support

2021-01-22 Thread Anton Kalashnikov (Jira)


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

Anton Kalashnikov commented on IGNITE-13836:


[~sergeychugunov], it looks good to me.

> Multiple property roots support
> ---
>
> Key: IGNITE-13836
> URL: https://issues.apache.org/jira/browse/IGNITE-13836
> Project: Ignite
>  Issue Type: Sub-task
>Reporter: Anton Kalashnikov
>Assignee: Sergey Chugunov
>Priority: Major
> Fix For: 3.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Right now, Configurator is able to manage only one root. It looks like it is 
> not enough. The current idea is to provide the ability to maintain multiple 
> property roots, which allows other modules to create their own roots as 
> needed.
> ex.:
>  * indexing.query.bufferSize
>  * persistence.pageSize
> NB! There is not any local/cluster root because it looks like local/cluster 
> shouldn't be there at all. Perhaps it should be a storage-specific feature 
> rather than a property path specific.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14033) .NET: MessagingTest.TestRemoteListen is flaky

2021-01-22 Thread Igor Sapego (Jira)


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

Igor Sapego commented on IGNITE-14033:
--

[~ptupitsyn] looks good to me.

> .NET: MessagingTest.TestRemoteListen is flaky
> -
>
> Key: IGNITE-14033
> URL: https://issues.apache.org/jira/browse/IGNITE-14033
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: .NET
> Fix For: 2.11
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> TestRemoteListen is flaky:
> https://ci.ignite.apache.org/test/-5844373269997071739?currentProjectId=IgniteTests24Java8=IgniteTests24Java8_PlatformNetCoreLinux=%3Cdefault%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-13979) .NET: Modernize examples

2021-01-22 Thread Pavel Tupitsyn (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-13979:

Ignite Flags: Release Notes Required  (was: Docs Required,Release Notes 
Required)

> .NET: Modernize examples
> 
>
> Key: IGNITE-13979
> URL: https://issues.apache.org/jira/browse/IGNITE-13979
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: .NET
> Fix For: 2.11
>
>   Original Estimate: 72h
>  Time Spent: 20m
>  Remaining Estimate: 7h 50m
>
> Rework and modernize Ignite.NET examples:
> * Refactor to .NET Core
> * One project per example to run with {{dotnet run}} or from the IDE
> * NuGet-based (similar to how Java examples are Maven-based)
> * Thick and Thin: same set of examples where possible



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-13809) Add SpringCache support for thin client

2021-01-22 Thread Mikhail Petrov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mikhail Petrov reassigned IGNITE-13809:
---

Assignee: Mikhail Petrov

> Add SpringCache support for thin client
> ---
>
> Key: IGNITE-13809
> URL: https://issues.apache.org/jira/browse/IGNITE-13809
> Project: Ignite
>  Issue Type: New Feature
>  Components: spring, thin client
>Affects Versions: 2.10
>Reporter: Ilya Shishkov
>Assignee: Mikhail Petrov
>Priority: Minor
>
> It would be perfect, if we add this feature, because now it is supported only 
> for client nodes, but not for thin clients.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14012) Ducktape jmx_utils should consider the possibility of intermediate MBeans

2021-01-22 Thread Anton Vinogradov (Jira)


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

Anton Vinogradov commented on IGNITE-14012:
---

Merged to ignite-ducktape.
Thanks for your contribution.

> Ducktape jmx_utils should consider the possibility of intermediate MBeans
> -
>
> Key: IGNITE-14012
> URL: https://issues.apache.org/jira/browse/IGNITE-14012
> Project: Ignite
>  Issue Type: Task
>Reporter: Mikhail Filatov
>Assignee: Mikhail Filatov
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Sometimes MBeans structure looks like:
> org.apache:clsLdr=764c12b6,group=Kernal,igniteInstanceName=Server_Example_Xml_-676757500,name=IgniteKernal
> but jmx_utils works only if it looks like:
> .*group=Kernal,name=IgniteKernal
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-10958) Migrate from Junit 4 to 5

2021-01-22 Thread Yaroslav Molochkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-10958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yaroslav Molochkov reassigned IGNITE-10958:
---

Assignee: Yaroslav Molochkov  (was: Ivan Fedotov)

> Migrate from Junit 4 to 5
> -
>
> Key: IGNITE-10958
> URL: https://issues.apache.org/jira/browse/IGNITE-10958
> Project: Ignite
>  Issue Type: Task
>Reporter: Ivan Fedotov
>Assignee: Yaroslav Molochkov
>Priority: Major
>  Labels: iep-30
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Starting with maven-surefire-plugin version 2.22.0 there is full support for 
> JUnit 5 [1].
> Migration to the JUnit 5 includes multiple steps:
> 1. adding new JUnit dependencies to pom files. By artifactId: 
> junit-jupiter-engine, junit-vintage-engine, junit-platform-launcher, 
> junit-platform-runner
> 2. Replace all imports of old JUnit annotations by the newest: from 
> org.junit.Test to org.junit.jupiter.api.Test
> 3. Change annotations Before -> BeforeEach, After -> AfterEach, BeforeClass 
> -> BeforeAll, AfterClass -> AfterAll, Ignore -> Disabled, Categories -> Tag
> 4. Replace concept rules by extension model where it is necessary: 
> ExpectedException to assertThrows
> 5. Migrate Mockito tests: MockitoJUnitRunner becomes MockitoExtension
> 6. Update the Maven surefire plugin to make it work with JUnit 5 [1].
> 7. Replace checking timeouts according to JUnit 5 concept: via 
> {{@Test}}{{(timeout = }}{{1}}{{) or assertTimeout.}}
> 8. Change test suites running: @RunWith(Suit.class) to 
> @Runwith(JunitPlatform.class)
> Investigation about migration to JUnit5 is provided in the ticket 
> IGNITE-10180.
> [1] 
> [https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-10973) Migrate example module tests from Junit 4 to 5

2021-01-22 Thread Yaroslav Molochkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-10973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yaroslav Molochkov reassigned IGNITE-10973:
---

Assignee: Yaroslav Molochkov  (was: Ivan Fedotov)

> Migrate example module tests from Junit 4 to 5
> --
>
> Key: IGNITE-10973
> URL: https://issues.apache.org/jira/browse/IGNITE-10973
> Project: Ignite
>  Issue Type: Sub-task
>Reporter: Ivan Fedotov
>Assignee: Yaroslav Molochkov
>Priority: Major
>  Labels: iep-30
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> For more information refer parent task.
> Migrate from Junit 4 to 5 in the example module.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-13393) Tracing: Atomic cache read/write flow.

2021-01-22 Thread Alexander Lapin (Jira)


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

Alexander Lapin commented on IGNITE-13393:
--

[~ascherbakov]
>Current _ASYNC tracing semantics seems questionable to me. What's the point in 
>tracing future creation? IMO sync and async ops should be traced similarly. I 
>would remove _ASYNC scopes at all, instead use async=true tag to differentiate 
>between sync and async contexts.
 Fixed.
>What about other "update" operation, like invokes and filtered updates ? I 
>think the tracing implementaion should be unified with puts, using methods 
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache#update0
> and 
>org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache#updateAll0
> as entry points.
Fixed. Implemented for all operations.
>removeAll is a distributed operation. It's entry point in 
>GridDistributedCacheAdapter#removeAll. Looks like it's not traced properly.
>In addition to removeAll a cache can be cleared using clear(), which uses jobs 
>for local clearing. Should it be traced as well ?
Agreed, however currently it's not possible to trace specified operations 
properly cause we don't have compute tracing. I've create ticket for that. 
[IGNITE-14036|https://issues.apache.org/jira/browse/IGNITE-14036]
*One more iteration of review required.*

> Tracing: Atomic cache read/write flow.
> --
>
> Key: IGNITE-13393
> URL: https://issues.apache.org/jira/browse/IGNITE-13393
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Alexander Lapin
>Assignee: Alexander Lapin
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Implement tracing for atomic cache operations:
>  * put
>  * putAll
>  * putAsync
>  * putAllAsync
>  * remove
>  * removeAll
>  * removeAsync
>  * removeAllAsync
>  * get
>  * getAll
>  * getAsync
>  * getAllAsync
> Also add ability to include root cache read/write operations to tx tracing 
> flow.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14036) Tracing: add ability to trace compute operations.

2021-01-22 Thread Alexander Lapin (Jira)
Alexander Lapin created IGNITE-14036:


 Summary: Tracing: add ability to trace compute operations.
 Key: IGNITE-14036
 URL: https://issues.apache.org/jira/browse/IGNITE-14036
 Project: Ignite
  Issue Type: Bug
Reporter: Alexander Lapin
Assignee: Alexander Lapin


After implementing update and check whether removeAll() and clear() traced 
properly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-13991) Add checkstyle test suite for pom files on TC.

2021-01-22 Thread Peter Ivanov (Jira)


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

Peter Ivanov commented on IGNITE-13991:
---

Check run: 
https://ci.ignite.apache.org/buildConfiguration/ignite3_Tests_SanityChecks_Maven/5838093

> Add checkstyle test suite for pom files on TC.
> --
>
> Key: IGNITE-13991
> URL: https://issues.apache.org/jira/browse/IGNITE-13991
> Project: Ignite
>  Issue Type: Improvement
>  Components: build
>Reporter: Andrey Mashenkov
>Assignee: Peter Ivanov
>Priority: Major
>  Labels: ignite-3
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Create separate test suite for TC that should check that there are violations 
> of dependencyManagement/pluginManagement approach.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14027) Switching Auto-adjust on does not trigger including existent nodes(which are not in BLT) to the BLT

2021-01-22 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-14027:


{panel:title=Branch: [pull/8679/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8679/head] Base: [master] : New Tests 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#8b}Basic 1{color} [[tests 
2|https://ci.ignite.apache.org/viewLog.html?buildId=5836086]]
* {color:#013220}IgniteBasicTestSuite: 
BaselineAutoAdjustTest.testJoinBltExistingNode - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: 
BaselineAutoAdjustInMemoryTest.testJoinBltExistingNode - PASSED{color}

{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5836146buildTypeId=IgniteTests24Java8_RunAll]

> Switching Auto-adjust on does not trigger including existent nodes(which are 
> not in BLT) to the BLT
> ---
>
> Key: IGNITE-14027
> URL: https://issues.apache.org/jira/browse/IGNITE-14027
> Project: Ignite
>  Issue Type: Bug
>  Components: general
>Affects Versions: 2.9.1
>Reporter: Semyon Danilov
>Assignee: Semyon Danilov
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Steps to reproduce:
>  * Start cluster with AA on
>  * Disable AA
>  * Start new node - it joins topology, not the BL
>  * Enable AA
> Expected:
>  * As _softTimeout_ passes, the node joins the BLT
> Actual:
>  * The node remains out of BLT
> With that new note won't join BLT until either another new node started or AA 
> disabled and the node is included in the BLT manually



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-14035) Table access public API.

2021-01-22 Thread Andrey Mashenkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov reassigned IGNITE-14035:
-

Assignee: Andrey Mashenkov

> Table access public API.
> 
>
> Key: IGNITE-14035
> URL: https://issues.apache.org/jira/browse/IGNITE-14035
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Andrey Mashenkov
>Assignee: Andrey Mashenkov
>Priority: Major
>
> Create table access API (incl. Record and KV concepts).
> Cover the next cases with Examples of how API can be used:
> * Simple Record case.
> * Simple KV case.
> * Truncated classes.
> * Custom serialization and  BinaryObject concept.
> * Conditional serialization.
> * Inheritance mapping single table strategy (wide table schema vs conditional 
> serialization)
> * Transition from "schemaless" (pure binary KV case) to a schema powered.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14035) Table access public API.

2021-01-22 Thread Andrey Mashenkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-14035:
--
Summary: Table access public API.  (was: Table access public API)

> Table access public API.
> 
>
> Key: IGNITE-14035
> URL: https://issues.apache.org/jira/browse/IGNITE-14035
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Andrey Mashenkov
>Priority: Major
>
> Create table access API (incl. Record and KV concepts).
> Cover the next cases with Examples of how API can be used:
> * Simple Record case.
> * Simple KV case.
> * Truncated classes.
> * Custom serialization and  BinaryObject concept.
> * Conditional serialization.
> * Inheritance mapping single table strategy (wide table schema vs conditional 
> serialization)
> * Transition from "schemaless" (pure binary KV case) to a schema powered.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14035) Table access public API

2021-01-22 Thread Andrey Mashenkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-14035:
--
Parent: (was: IGNITE-13616)
Issue Type: Improvement  (was: Sub-task)

> Table access public API
> ---
>
> Key: IGNITE-14035
> URL: https://issues.apache.org/jira/browse/IGNITE-14035
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Andrey Mashenkov
>Priority: Major
>
> Create table access API (incl. Record and KV concepts).
> Cover the next cases with Examples of how API can be used:
> * Simple Record case.
> * Simple KV case.
> * Truncated classes.
> * Custom serialization and  BinaryObject concept.
> * Conditional serialization.
> * Inheritance mapping single table strategy (wide table schema vs conditional 
> serialization)
> * Transition from "schemaless" (pure binary KV case) to a schema powered.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14035) Table access public API

2021-01-22 Thread Andrey Mashenkov (Jira)
Andrey Mashenkov created IGNITE-14035:
-

 Summary: Table access public API
 Key: IGNITE-14035
 URL: https://issues.apache.org/jira/browse/IGNITE-14035
 Project: Ignite
  Issue Type: Sub-task
Reporter: Andrey Mashenkov


Create table access API (incl. Record and KV concepts).
Cover the next cases with Examples of how API can be used:
* Simple Record case.
* Simple KV case.
* Truncated classes.
* Custom serialization and  BinaryObject concept.
* Conditional serialization.
* Inheritance mapping single table strategy (wide table schema vs conditional 
serialization)
* Transition from "schemaless" (pure binary KV case) to a schema powered.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-5427) Add cluster activation/deactivation lifecycle events

2021-01-22 Thread Sergey Dorozhkin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Dorozhkin reassigned IGNITE-5427:


Assignee: (was: Sergey Dorozhkin)

> Add cluster activation/deactivation lifecycle events
> 
>
> Key: IGNITE-5427
> URL: https://issues.apache.org/jira/browse/IGNITE-5427
> Project: Ignite
>  Issue Type: Improvement
>  Components: general
>Affects Versions: 2.0
>Reporter: Alexey Goncharuk
>Priority: Major
>
> We should add AFTER_ACTIVATE and BEFORE_DEACTIVATE lifecycle event types.
> Add methods for these event to LifecycleListener interface.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (IGNITE-8377) Add cluster (de)activation LifecycleBean callbacks

2021-01-22 Thread Sergey Dorozhkin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-8377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Dorozhkin reassigned IGNITE-8377:


Assignee: (was: Sergey Dorozhkin)

> Add cluster (de)activation LifecycleBean callbacks
> --
>
> Key: IGNITE-8377
> URL: https://issues.apache.org/jira/browse/IGNITE-8377
> Project: Ignite
>  Issue Type: Improvement
>Reporter: Alexey Goncharuk
>Priority: Major
>  Labels: newbie
> Fix For: 2.10
>
>
> I suggest to add new {{LifecycleEventType}}, {{BEFORE_CLUSTER_ACTIVATE}}, 
> {{AFTER_CLUSTER_ACTIVATE}}, {{BEFORE_CLUSTER_DEACTIVATE}}, 
> {{AFTER_CLUSTER_DEACTIVATE}} and fire corresponding lifecycle events along 
> with regular events.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-13566) Calcite integration. Table size statistics for cost planer

2021-01-22 Thread Konstantin Orlov (Jira)


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

Konstantin Orlov commented on IGNITE-13566:
---

Hi, [~zstan]! Good in general, but I left a few comment, please see PR.

> Calcite integration. Table size statistics for cost planer
> --
>
> Key: IGNITE-13566
> URL: https://issues.apache.org/jira/browse/IGNITE-13566
> Project: Ignite
>  Issue Type: New Feature
>  Components: sql
>Reporter: Yury Gerzhedovich
>Assignee: Stanilovsky Evgeny
>Priority: Critical
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Calcite planner doesn't know about the size of the tables and could make the 
> wrong decision about join order. Need to add such knowledge.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (IGNITE-13839) TeamCity release assembly git issue

2021-01-22 Thread Peter Ivanov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-13839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Ivanov closed IGNITE-13839.
-
Ignite Flags:   (was: Docs Required,Release Notes Required)

> TeamCity release assembly git issue
> ---
>
> Key: IGNITE-13839
> URL: https://issues.apache.org/jira/browse/IGNITE-13839
> Project: Ignite
>  Issue Type: Bug
>Reporter: Yaroslav Molochkov
>Assignee: Peter Ivanov
>Priority: Critical
>
> Currently there is a problem with script "vote_1[git]create_rc_tag" execution:
> {code}
> error: object directory /opt/buildagent/system/git/git-BF1D6845.git/objects 
> does not exist; check .git/objects/info/alternates
> error: refs/heads/ignite-2.9 does not point to a valid object!
> error: refs/remotes/origin/ignite-2.9 does not point to a valid object!
> error: refs/tags/1.1.3 does not point to a valid object!
> {code} 
> The problem is with mirroring option for TC VCS root.
> Possible solution: redesign release build to require native checked out 
> repository, not mirrored one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-14034) Calcite integration. IndexCondition refactoring

2021-01-22 Thread Konstantin Orlov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Orlov updated IGNITE-14034:
--
Summary: Calcite integration. IndexCondition refactoring  (was: Calcite 
integration. indexCondition refactoring)

> Calcite integration. IndexCondition refactoring
> ---
>
> Key: IGNITE-14034
> URL: https://issues.apache.org/jira/browse/IGNITE-14034
> Project: Ignite
>  Issue Type: Improvement
>  Components: sql
>Reporter: Konstantin Orlov
>Priority: Major
>
> Currently IndexCondition is quite cumbersome and hard to understand. The 
> difference between bounds and conditions is unclear as well as unclear what 
> should be used to estimate a selectivity and what should be used to estimate 
> a self cost.
> Thus I suggest to change it in a follow way:
>  * remove [lower|upper]Cond
>  * bounds remains as is
>  * self cost estimation of an AbstractIndex should be calculated with regard 
> to bounds
>  * selectivity should be calculated with regards to whole condition that is 
> member of ProjectableFilterableTableScan



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14034) Calcite integration. indexCondition refactoring

2021-01-22 Thread Konstantin Orlov (Jira)
Konstantin Orlov created IGNITE-14034:
-

 Summary: Calcite integration. indexCondition refactoring
 Key: IGNITE-14034
 URL: https://issues.apache.org/jira/browse/IGNITE-14034
 Project: Ignite
  Issue Type: Improvement
  Components: sql
Reporter: Konstantin Orlov


Currently IndexCondition is quite cumbersome and hard to understand. The 
difference between bounds and conditions is unclear as well as unclear what 
should be used to estimate a selectivity and what should be used to estimate a 
self cost.

Thus I suggest to change it in a follow way:
 * remove [lower|upper]Cond
 * bounds remains as is
 * self cost estimation of an AbstractIndex should be calculated with regard to 
bounds
 * selectivity should be calculated with regards to whole condition that is 
member of ProjectableFilterableTableScan



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (IGNITE-14027) Switching Auto-adjust on does not trigger including existent nodes(which are not in BLT) to the BLT

2021-01-22 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-14027:


{panel:title=Branch: [pull/8679/head] Base: [master] : Possible Blockers 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Continuous Query 2{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5836057]]
* IgniteCacheQuerySelfTestSuite4: 
CacheContinuousQueryAsyncFailoverMvccTxSelfTest.testMultiThreaded - Test has 
low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/8679/head] Base: [master] : New Tests 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#8b}Basic 1{color} [[tests 
2|https://ci.ignite.apache.org/viewLog.html?buildId=5836086]]
* {color:#013220}IgniteBasicTestSuite: 
BaselineAutoAdjustTest.testJoinBltExistingNode - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: 
BaselineAutoAdjustInMemoryTest.testJoinBltExistingNode - PASSED{color}

{panel}
[TeamCity *-- Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5836146buildTypeId=IgniteTests24Java8_RunAll]

> Switching Auto-adjust on does not trigger including existent nodes(which are 
> not in BLT) to the BLT
> ---
>
> Key: IGNITE-14027
> URL: https://issues.apache.org/jira/browse/IGNITE-14027
> Project: Ignite
>  Issue Type: Bug
>  Components: general
>Affects Versions: 2.9.1
>Reporter: Semyon Danilov
>Assignee: Semyon Danilov
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Steps to reproduce:
>  * Start cluster with AA on
>  * Disable AA
>  * Start new node - it joins topology, not the BL
>  * Enable AA
> Expected:
>  * As _softTimeout_ passes, the node joins the BLT
> Actual:
>  * The node remains out of BLT
> With that new note won't join BLT until either another new node started or AA 
> disabled and the node is included in the BLT manually



--
This message was sent by Atlassian Jira
(v8.3.4#803005)