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 <[email protected]>
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.
>

Reply via email to