You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/05/19 10:23:14 UTC

[GitHub] [ignite] ivandasch edited a comment on pull request #9044: IGNITE-13810 append expire policy info into log of started cache

ivandasch edited a comment on pull request #9044:
URL: https://github.com/apache/ignite/pull/9044#issuecomment-843963900


   I suppose that constantly running python tests doesn't help.
   
   If you look at logs, you will see NPE 
   ```
   [2021-05-19T11:17:57,828][ERROR][exchange-worker-#118][GridDhtPartitionsExchangeFuture] Failed to initialize cache(s) (will try to rollback) [exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=3, minorTopVer=8], discoEvt=DiscoveryCustomEvent [customMsg=DynamicCacheChangeBatch [id=3f923b38971-7e2b344a-a560-4e74-a44e-8798a26c073a, reqs=ArrayList [DynamicCacheChangeRequest [cacheName=expiry_cache, hasCfg=true, nodeId=b2f50d47-946d-49cd-82f4-a869a3b542bd, clientStartOnly=false, stop=false, destroy=false, disabledAfterStart=false]], exchangeActions=ExchangeActions [startCaches=[expiry_cache], stopCaches=null, startGrps=[expiry_cache], stopGrps=[], resetParts=null, stateChangeRequest=null], startCaches=false], affTopVer=AffinityTopologyVersion [topVer=3, minorTopVer=8], super=DiscoveryEvent [evtNode=TcpDiscoveryNode [id=b2f50d47-946d-49cd-82f4-a869a3b542bd, consistentId=srv_1, addrs=ArrayList [127.0.0.1], sockAddrs=HashSet [/127.0.0.1:48500], discPort=48500, order
 =1, intOrder=1, lastExchangeTime=1621412227458, loc=true, ver=2.11.0#20210519-sha1:00000000, isClient=false], topVer=3, msgTemplate=null, span=o.a.i.i.processors.tracing.NoopSpan@695cee68, nodeId8=b2f50d47, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1621412277807]], nodeId=b2f50d47, evt=DISCOVERY_CUSTOM_EVT], caches=[o.a.i.i.processors.cache.ExchangeActions$CacheGroupActionData@3b5d0f91]]
   java.lang.NullPointerException: null
     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.buildExpirePolicyInfo(GridCacheProcessor.java:2410) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.onCacheStarted(GridCacheProcessor.java:2311) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1977) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCaches$55a0e703$1(GridCacheProcessor.java:1841) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCachesIfPossible$14(GridCacheProcessor.java:1811) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCaches(GridCacheProcessor.java:1838) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCachesIfPossible(GridCacheProcessor.java:1809) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:999) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:885) ~[classes/:?]
     at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1449) [classes/:?]
     at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:947) [classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:3379) [classes/:?]
     at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:3201) [classes/:?]
     at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120) [classes/:?]
     at java.lang.Thread.run(Thread.java:748) [?:1.8.0_261]
   ```
   
   And everything works ok on master :) I suppose that you patch breaks something


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org