IgniteDataStreamer#removeData should throw exception when allowOverwrite is false

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IgniteDataStreamer#removeData should throw exception when allowOverwrite is false

Pavel Tupitsyn
Igniters,

IgniteDataStreamer#removeData does not work by default,
when allowOverwrite is not set to true.

I think we should throw an exception from the streamer in this case.
Thoughts, objections?

Pavel
Reply | Threaded
Open this post in threaded view
|

Re: IgniteDataStreamer#removeData should throw exception when allowOverwrite is false

Ilya Kasnacheev
Hello!

I think it makes sense to throw an exception there, if there is no valid
scenario when it can be called.

Regards,
--
Ilya Kasnacheev


ср, 5 мая 2021 г. в 12:49, Pavel Tupitsyn <[hidden email]>:

> Igniters,
>
> IgniteDataStreamer#removeData does not work by default,
> when allowOverwrite is not set to true.
>
> I think we should throw an exception from the streamer in this case.
> Thoughts, objections?
>
> Pavel
>