You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/03/26 19:19:00 UTC

[jira] [Commented] (IGNITE-7641) Add CacheEntry#ttl method

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

Ignite TC Bot commented on IGNITE-7641:
---------------------------------------

{panel:title=Branch: [pull/8780/head] Base: [master] : Possible Blockers (21)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Cache 5{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5936597]]
* IgniteCacheTestSuite5: GridExchangeFreeCellularSwitchComplexOperationsTest.testComplexOperationsRecoveryOnCellularSwitch[Isolation = OPTIMISTIC, Concurrency = REPEATABLE_READ, Started from = PRIMARY] - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Cache 1{color} [[tests 0 TIMEOUT , Out Of Memory Error , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5936593]]

{color:#d04437}Queries 2{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5936563]]
* IgniteBinaryCacheQueryTestSuite2: SqlDataTypesCoverageTests.testRealDataType[atomicityMode=ATOMIC, cacheMode=PARTITIONED, ttlFactory=null, backups=2, evictionFactory=null, onheapCacheEnabled=false, writeSyncMode=FULL_ASYNC, persistenceEnabled=false] - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Queries 1{color} [[tests 11|https://ci.ignite.apache.org/viewLog.html?buildId=5936618]]
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedSnapshotEnabledQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheAtomicQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheAtomicNearEnabledQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedQueryP2PDisabledSelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedQueryEvtsDisabledSelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheLocalQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheLocalAtomicQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheReplicatedQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheReplicatedQueryP2PDisabledSelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCacheReplicatedQueryEvtsDisabledSelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
* IgniteBinaryCacheQueryTestSuite: IgniteCachePartitionedQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky
... and 0 tests blockers

{color:#d04437}ZooKeeper (Discovery) 4{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5936620]]
* ZookeeperDiscoverySpiTestSuite4: IgniteCacheReplicatedQuerySelfTest.testClientQueryExecutedEvents - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Compute (Grid){color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5936546]]
* IgniteBinaryObjectsComputeGridTestSuite: GridJobStealingSelfTest.testTwoJobsTaskNameNullPredicate - Test has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}Platform .NET{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5936612]]
* exe: CacheAbstractTest.TestCacheConfigurationExpiryPolicy - History for base branch is absent.

{color:#d04437}Cassandra Store{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5936625]]
* org.apache.ignite.testsuites.cassandra.store.IgniteCassandraStoreTestSuite: org.apache.ignite.tests.IgnitePersistentStoreTest. - History for base branch is absent.

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

{color:#d04437}JCache TCK 1.1{color} [[tests 0 TIMEOUT , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5936579]]

{color:#d04437}[Javadoc]{color} [[tests 0 BuildFailureOnMessage |https://ci.ignite.apache.org/viewLog.html?buildId=5936580]]

{panel}
{panel:title=Branch: [pull/8780/head] Base: [master] : New Tests (925)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Platform .NET{color} [[tests 626|https://ci.ignite.apache.org/viewLog.html?buildId=5936612]]
* {color:#013220}exe: ClientClusterDiscoveryTestsBase.TestClientWithOneEndpointDiscoversAllServers - PASSED{color}
* {color:#013220}exe: ClientClusterDiscoveryTestsBase.TestClientDiscoversJoinedServersAndRemovesDisconnected - PASSED{color}
* {color:#013220}exe: ClientClusterDiscoveryTestsBase.TestClientWithOneEndpointDiscoversAllServers - PASSED{color}
* {color:#013220}exe: ClientClusterDiscoveryTestsBase.TestClientDiscoversJoinedServersAndRemovesDisconnected - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestNestedGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGenericCacheTypes - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGroupByWithReverseJoinAndProjection - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGroupByWithReverseJoinAndProjectionWithRename - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGroupByWithReverseJoin - PASSED{color}
* {color:#013220}exe: CacheLinqTest.TestGroupByWithReverseJoinAndAnonymousProjectionWithRename - PASSED{color}
... and 615 new tests

{color:#00008b}Cache (Expiry Policy){color} [[tests 7|https://ci.ignite.apache.org/viewLog.html?buildId=5936583]]
* {color:#013220}IgniteCacheExpiryPolicyTestSuite: IgniteCacheTxWithStoreExpiryPolicyTest.testTtlMethods - PASSED{color}
* {color:#013220}IgniteCacheExpiryPolicyTestSuite: IgniteCacheTxReplicatedExpiryPolicyTest.testTtlMethods - PASSED{color}
* {color:#013220}IgniteCacheExpiryPolicyTestSuite: IgniteCacheAtomicExpiryPolicyTest.testTtlMethods - PASSED{color}
* {color:#013220}IgniteCacheExpiryPolicyTestSuite: IgniteCacheTxLocalExpiryPolicyTest.testTtlMethods - PASSED{color}
* {color:#013220}IgniteCacheExpiryPolicyTestSuite: IgniteCacheTxExpiryPolicyTest.testTtlMethods - PASSED{color}
* {color:#013220}IgniteCacheExpiryPolicyTestSuite: IgniteCacheAtomicWithStoreExpiryPolicyTest.testTtlMethods - PASSED{color}
* {color:#013220}IgniteCacheExpiryPolicyTestSuite: IgniteCacheAtomicReplicatedExpiryPolicyTest.testTtlMethods - PASSED{color}

{color:#00008b}Spring{color} [[tests 41|https://ci.ignite.apache.org/viewLog.html?buildId=5936564]]
* {color:#013220}IgniteSpringTestSuite: GridSpringCacheManagerSpringBeanSelfTest.testComplexKeyPut - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: GridSpringCacheManagerSpringBeanSelfTest.testEvictAll - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: GridSpringCacheManagerSpringBeanSelfTest.testSimpleKeyPutNullValue - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: GridSpringCacheManagerSpringBeanSelfTest.testDynamicCache - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: GridSpringCacheManagerSpringBeanSelfTest.testDynamicCacheEvictAll - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: GridSpringCacheManagerSpringBeanSelfTest.testComplexKeyEvict - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: GridSpringCacheManagerSpringBeanSelfTest.testComplexKeyNullValue - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: SpringCacheManagerContextInjectionTest.testBeanInjectionUsingConfiguration - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: SpringCacheManagerContextInjectionTest.testBeanInjectionUsingConfigPath - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: SpringCacheTest.testGetByKey - PASSED{color}
* {color:#013220}IgniteSpringTestSuite: SpringCacheTest.testPut - PASSED{color}
... and 30 new tests

{color:#00008b}JCache TCK 1.1{color} [[tests 251|https://ci.ignite.apache.org/viewLog.html?buildId=5936579]]
* {color:#013220}org.apache.ignite.testframework.test.ConfigVariationsTestSuiteBuilderTest$NoopTestExtendsIgnored.test1 - PASSED{color}
* {color:#013220}IgniteCacheReadThroughEvictionsVariationsSuite: IgniteCacheReadThroughEvictionSelfTest_84.testReadThroughEvictionPolicy - PASSED{color}
* {color:#013220}IgniteCacheReadThroughEvictionsVariationsSuite: IgniteCacheReadThroughEvictionSelfTest_85.testReadThroughEvictionPolicy - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTest_77.test1 - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTest_76.test1 - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTest_79.test1 - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTest_78.test1 - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTestIgnored_81.test1 - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTestIgnored_80.test1 - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTestIgnored_83.test1 - PASSED{color}
* {color:#013220}ConfigVariationsTestSuiteBuilderTest$TestSuiteWithIgnored: NoopTestIgnored_82.test1 - PASSED{color}
... and 240 new tests

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

> Add CacheEntry#ttl method
> -------------------------
>
>                 Key: IGNITE-7641
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7641
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: 2.3
>            Reporter: Valentin Kulichenko
>            Assignee: Stephen Darlington
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Ignite provides a way to specify an expiry policy on per entry level, but there is no way to know the current TTL for a particular key.
> We can add {{CacheEntry#ttl()}} and/or {{IgniteCache#ttl(K key)}} method that will provide this information. Looks like it's already available via {{GridCacheMapEntry#ttl()}}, so we just need to properly expose it to public API.
> Here is the user forum discussion about this: http://apache-ignite-users.70518.x6.nabble.com/Get-TTL-of-the-specific-K-V-entry-td19817.html



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