Re: Synchronous tx entries unlocking in discovery\exchange threads.

2018-08-23 Thread Andrey Mashenkov
Would someone please review a PR for IGNITE-9290 [1] ? I've add some fixes to PR #4556 [2] and TC looks fine [3]. Now, * Explicit lock unlocking moved to background system pool thread. * Exchange future doesn't care for unlocking at all. * MvccManager discovery listener is responsible for

Re: Synchronous tx entries unlocking in discovery\exchange threads.

2018-08-16 Thread Alexey Goncharuk
Andrey, I agree that most likely this can be done in an async way. There are some nuances, though, because if a node leaves during an ongoing exchange, we should remove the locks in the context of the ongoing exchange and not wait for the next exchange event. I will take a look at your PR

Synchronous tx entries unlocking in discovery\exchange threads.

2018-08-15 Thread Andrey Mashenkov
Hi Igniters, I've found Ignite node tries to unlock tx entries when a node left the grid. Ignite do this synchronously in GridCacheMvccManager.removeExplicitNodeLocks() in discovery and exchange threads. Looks like this can be done in ascync way. I've made a PR #4565 and seems there is no new