Alex, Can you add this excellent explanation as a part of the method Javadoc? That will simplify a lot the life of future contributors.
— Denis > On May 18, 2017, at 1:05 PM, Alexey Goncharuk <alexey.goncha...@gmail.com> > wrote: > > Hi Aleksey, > > The main purpose of this method is to wait for all ongoing updates > (transactional and atomic), initiated on the previous topology version, to > finish to prevent inconsistencies during rebalancing and to prevent two > different simultaneous owners of the same lock. > > We will be adding documentation pages on Apache Ignite wiki which will > explain transactions mechanics in greater detail. > > Hope this helps, > AG > > 2017-05-18 16:50 GMT+03:00 ALEKSEY KUZNETSOV <alkuznetsov...@gmail.com>: > >> Hi Igntrs! >> What is the point of waiting partition release in the end of >> GridDhtPartitionsExchangeFuture#init() method ? >> In what scenarious do we need it ? >> -- >> >> *Best Regards,* >> >> *Kuznetsov Aleksey* >>