Hey Paris!

As far as I know it's not possible at the moment and not planned. Does
not sound to hard to add though. @Stefan: correct?

You can currently only clear the state via #clear in the scope of the
key for keyed state or the whole operator when used with operator
state. In case of keyed state it's indeed hard to clear all state for
operator state it's slightly better. I'm curious what your use case
is?

– Ufuk


On Fri, Jan 20, 2017 at 5:59 PM, Paris Carbone <par...@kth.se> wrote:
> Hi folks,
>
> I have a little question regarding the managed store operator backend, in 
> case someone can help.
>
> Is there some convenient way (planned or under development) to completely 
> unregister a state entry (e.g. a ListState) with a given id from the backend?
> It is fairly easy to register new states dynamically (i.e. with 
> getOperatorState(…)), why not being able to discard it as well?
>
> I would find this feature extremely convenient to a fault tolerance related 
> PR I am working on but I can think of many use cases that might need it.
>
>
> Paris
>

Reply via email to