ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Roman.Koria...@t-systems.com>
Subject RE: When Cache Metrics are switched on (statisticsEnabled = true) the empty cache events arrive to the client nodes
Date Thu, 26 Dec 2019 07:52:29 GMT
Hi Ivan,
Does it mean that the problem is gone and I should close the JIRA IGNITE-12445 ?


-----Original Message-----
From: Ivan Pavlukhin <vololo100@gmail.com> 
Sent: Monday, December 16, 2019 11:05 PM
To: dev <dev@ignite.apache.org>
Subject: Re: When Cache Metrics are switched on (statisticsEnabled = true) the empty cache
events arrive to the client nodes

I also checked the reproducer with current master. It seems that the problem is fixed there.

пн, 16 дек. 2019 г. в 19:36, Ilya Kasnacheev <ilya.kasnacheev@gmail.com>:
>
> Hello!
>
> Is there a chance you are using Zk?
>
> I believe it's https://issues.apache.org/jira/browse/IGNITE-6564
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> пт, 13 дек. 2019 г. в 12:24, <Roman.Koriakov@t-systems.com>:
>
> > Hi Community,
> >
> > I’d like to ask you about the following behavior of Apache Ignite:
> >
> >
> > If we want to react on some PUT or READ cache operations first of 
> > all we need to turn on the appropriate cache events on the server 
> > node and catch those events on the client nodes using remote approach with two listeners.
> > It works well until we switch on statisticsEnabled on the server 
> > node, it will lead to the situation when we get empty CacheEvent objects.
> >
> > The example that demonstrates this issue is in the attachments. This 
> > example is consists of three nodes:  1 server node with cache and 2 
> > clients.  One client is filling the cache and the second one is 
> > listening PUT operations. When we turn on Cache Metrics on the server node:
> > cacheConfig.setStatisticsEnabled(true); in EventServerCache.java we 
> > get empty events (Sometimes CacheEvent objects with null fields. 
> > Sometimes there are no events at all)
> >
> > My suppose is there is some Exception in 
> > GridCacheEventManager.addEvent() when Cache Metrics is turned on.
> >
> > catch (Exception e) {
> >   if
> > (!cctx.cacheObjectContext().kernalContext().cacheObjects().isBinaryEnabled(cctx.config()))
> >     throw e;  if (log.isDebugEnabled())
> >      log.debug("Failed to unmarshall cache object value for the 
> > event
> > notification: " + e);
> >
> >   if (!forceKeepBinary)
> >     LT.warn(log, "Failed to unmarshall cache object value for the 
> > event notification " +
> >              "(all further notifications will keep binary object 
> > format).");
> >
> >   forceKeepBinary = true;
> >
> >   key0 = cctx.cacheObjectContext().unwrapBinaryIfNeeded(key, true, 
> > false);
> >
> >   val0 = cctx.cacheObjectContext().unwrapBinaryIfNeeded(newVal, 
> > true, false);
> >
> >   oldVal0 = cctx.cacheObjectContext().unwrapBinaryIfNeeded(oldVal, 
> > true, false);
> >
> > }
> >
> > Can public this point in JIRA?
> >
> > Best regards,
> >
> > T-Systems RUS
> > Point of Production
> > Roman Koriakov
> > Software Developer
> > Kirova 11, Voronezh, Russia
> > Tel: + 7 473 200 15 30
> > E-mail: 
> > Roman.Koriakov@t-systems.com<mailto:Roman.Koriakov@t-systems.com>
> > http://www.t-systems.com<http://www.t-systems.ru/>
> >
> >
> >
> > -----Original Message-----
> > From: Ilya Kasnacheev <ilya.kasnacheev@gmail.com>
> > Sent: Thursday, December 12, 2019 6:35 PM
> > To: dev <dev@ignite.apache.org>
> > Subject: Re: joining
> >
> >
> >
> > Hello!
> >
> >
> >
> > You will need to register on https://issues.apache.org/jira/ first.
> >
> >
> >
> > Please tell me when you do.
> >
> >
> >
> > Regards,
> >
> > --
> >
> > Ilya Kasnacheev
> >
> >
> >
> >
> >
> > чт, 12 дек. 2019 г. в 18:09, <Roman.Koriakov@t-systems.com<mailto:
> > Roman.Koriakov@t-systems.com>>:
> >
> >
> >
> > > Hi Ilya,
> >
> > >
> >
> > > it’d be nice if it were rkoriakov
> >
> > >
> >
> > >
> >
> > >
> >
> > > Best regards,
> >
> > >
> >
> > > T-Systems RUS
> >
> > > Point of Production
> >
> > > Roman Koriakov
> >
> > > Software Developer
> >
> > > Kirova 11, Voronezh, Russia
> >
> > > Tel: + 7 473 200 15 30
> >
> > > E-mail: 
> > > Roman.Koriakov@t-systems.com<mailto:Roman.Koriakov@t-systems.com
> > <mailto:Roman.Koriakov@t-systems.com%3cmailto:Roman.Koriakov@t-syste
> > ms.com
> > >>
> >
> > > http://www.t-systems.com<http://www.t-systems.ru/<
> > http://www.t-systems.com%3chttp:/www.t-systems.ru/>>
> >
> > >
> >
> > >
> >
> > >
> >
> > > -----Original Message-----
> >
> > > From: Ilya Kasnacheev <ilya.kasnacheev@gmail.com<mailto:
> > ilya.kasnacheev@gmail.com>>
> >
> > > Sent: Thursday, December 12, 2019 5:25 PM
> >
> > > To: dev <dev@ignite.apache.org<mailto:dev@ignite.apache.org>>
> >
> > > Subject: Re: joining
> >
> > >
> >
> > >
> >
> > >
> >
> > > Hello!
> >
> > >
> >
> > >
> >
> > >
> >
> > > I will need an Apache JIRA username to add you to contributors. 
> > > Can you
> >
> > > provide it?
> >
> > >
> >
> > >
> >
> > >
> >
> > > Regards,
> >
> > >
> >
> > > --
> >
> > >
> >
> > > Ilya Kasnacheev
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > > чт, 12 дек. 2019 г. в 17:20, <Roman.Koriakov@t-systems.com<mailto:
> >
> > > Roman.Koriakov@t-systems.com<mailto:Roman.Koriakov@t-systems.com>>>:
> >
> > >
> >
> > >
> >
> > >
> >
> > > > Hi everyone,
> >
> > >
> >
> > > > I'd like to participate in this  project!
> >
> > >
> >
> > > >
> >
> > >
> >
> > > > Best regards,
> >
> > >
> >
> > > >
> >
> > >
> >
> > > > T-Systems RUS
> >
> > >
> >
> > > > Point of Production
> >
> > >
> >
> > > > Roman Koriakov
> >
> > >
> >
> > > > Software Developer
> >
> > >
> >
> > > > Kirova 11, Voronezh, Russia
> >
> > >
> >
> > > > Tel: + 7 473 200 15 30
> >
> > >
> >
> > > > E-mail: Roman.Koriakov@t-systems.com<mailto:
> > Roman.Koriakov@t-systems.com<mailto:Roman.Koriakov@t-systems.com%
> > 3cmailto:Roman.Koriakov@t-systems.com>
> >
> > > <mailto:Roman.Koriakov@t-systems.com%
> > 3cmailto:Roman.Koriakov@t-systems.com
> >
> > > >>
> >
> > >
> >
> > > > http://www.t-systems.com<http://www.t-systems.ru/<<
> > http://www.t-systems.com%3chttp:/www.t-systems.ru/%3c>
> >
> > > http://www.t-systems.com%3chttp:/www.t-systems.ru/>>
> >
> > >
> >
> > > >
> >
> > >
> >
> > > >
> >
> > >
> >



--
Best regards,
Ivan Pavlukhin
Mime
View raw message