ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Gura <ag...@gridgain.com>
Subject Re: Cache metrics not updated if data loaded via IgniteDataStreamer
Date Thu, 07 May 2015 16:20:21 GMT
I think it's possible. If allowOverwrite isn't set then entry updates
through initialValue method. All we need it is just update metrics from
this method.

On Wed, Apr 29, 2015 at 5:13 PM, Dmitriy Setrakyan <dsetrakyan@apache.org>
wrote:

> On Wed, Apr 29, 2015 at 5:30 AM, Vladimir Ozerov <vozerov@gridgain.com>
> wrote:
>
> > Alexey,
> >
> > By default data streamer use optimized path and does not perform ordinary
> > puts and removes. I believe you will see metrics updates if you set
> > IgniteDataStreamer.allowOverwrite() to true.
> >
>
> This seems to be inconsistent behavior. I remember Alexey G. working on it.
> Is it possible to get metric updates even if the allowOverwrite flag is
> false?
>
>
> >
> > On Wed, Apr 29, 2015 at 1:24 PM, Alexey Kuznetsov <
> akuznetsov@gridgain.com
> > >
> > wrote:
> >
> > > Just found that if I load data into cache via IgniteDataStreamer then
> > > CacheMetrics.getCachePuts() is not updated.
> > >
> > > Is this a bug or feature?
> > >
> > > --
> > > Alexey Kuznetsov
> > > GridGain Systems
> > > www.gridgain.com
> > >
> >
>



-- 
Andrey Gura
GridGain Systems, Inc.
www.gridgain.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message