ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ozerov <voze...@gridgain.com>
Subject Re: Data loader "allowOverwrite" flag default value.
Date Fri, 27 Feb 2015 09:02:21 GMT
Agree, ticket is filed.

On Thu, Feb 26, 2015 at 4:49 PM, Dmitriy Setrakyan <dsetrakyan@apache.org>
wrote:

> I would print out a warning only the first time any data loader is used.
> This way user will see in the log that the updates will be ignored.
>
> Most data loader use-cases are used for populating caches and overwriting
> values is not needed.
>
> D.
>
> On Thu, Feb 26, 2015 at 8:14 AM, Vladimir Ozerov <vozerov@gridgain.com>
> wrote:
>
> > Hi,
> >
> > IgniteDataLoader has "allowOverwrite" property which is set to "false" by
> > default. It means that in case some entries are already in cache, their
> > updates initiated in data loader will be ignored silently.
> >
> > I understand that we set it to "false" by default for performance
> reasons,
> > but I think this behavior is too counterintuitive for user, so that it
> > outweights performance gain. If I update an entry through data loader I
> > expect that it will be updated, unless I explicitly set something else.
> >
> > Thoughts?
> >
> > Vladimir.
> >
>

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