Dmitriy, I've added new GridDhtPartitionState.LOST state for partitions that were lost, and also new CacheConfiguration property - DataLossPolicy. If DataLossPolicy is FAIL_OPS, then all lost partitions get LOST state, and all actions for any keys on those lost partitions throw exception, until lost partition state is not reset by *resetLostPartitions*.
On Wed, Jan 13, 2016 at 7:42 PM, Dmitriy Setrakyan <[email protected]> wrote: > Vladimir, > > Can you please describe what this method will be doing? I am note sure I > understand what resetting state of the lost partition means. > > D. > > On Wed, Jan 13, 2016 at 5:23 AM, Vladimir Ershov <[email protected]> > wrote: > > > Igniters! > > > > Since we are going to add stronger data loss check IGNITE-1605 > > <https://issues.apache.org/jira/browse/IGNITE-1605> I'm about to add new > > method for the manual resetting state of the lost partition in > IgniteCache > > IgniteFuture<?> *resetLostPartitions*(); > > just near #rebalance(). > > > > And would like to ask the community: Does *resetLostPartitions *naming > > sound good? > > Thoughts appreciated, > > Thanks! > > >
