ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentin Kulichenko <valentin.kuliche...@gmail.com>
Subject Read-only mode for transactional cache
Date Thu, 21 May 2015 05:40:53 GMT

As we all know, transactional cache updates persistence store from a client
node, while loads are still done on primary node. But it's not always
possible to have a database connection on client. There is a workaround -
send a closure to server node and start a transaction there. You can do the
same with gets, but what if you want to utilize near cache?
Now it's achievable only by disabling consistency check and removing store
from client.

The use case looks more than valid for me, so I suggest to improve
usability here and add a special read-only mode for transactional cache. In
this mode updates are not allowed, but we do not create the store and we
fix consistency check appropriately.

And in addition: currently if we disable consistency check on one of the
nodes, other nodes still check it - this looks incorrect. I think it should
be excluded everywhere.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message