I want to understand the internal locking mechanism used by Apache Ignite for Cache and PME updates:
Scenario 1 : Persistent cache
For a persistent cache, it requires lock during checkpointing and put operation. I am trying to understand at what level ignite takes this lock and if it is read or write lock. Is it for whole cache on all objects or across all caches or just on the object/objects being updated by checkpointing and cache updates.
Scenario 2 : In memory Cache
For In memory cache, there will be no checkpointing. So only locking will happen during cache updates. Is this lock taken at cache level or across all caches or just on the object/objects being updated by cache updates. If it is read or write lock?
As PME requires write lock across all caches, I am trying to get clarity on locking due to cache operations.
Any pointers on above points will be helpful.