Can you clarify what you mean by "isn't executing"? What is actually
happening?

In any case, your way of testing looks too complicated for me. As I
mentioned earlier, instead of starting a separate process you can simply
start a new thread and execute a new transaction there using the same cache
instance. From the point of your test case there will be no difference.

Also note that cache iteration is not a transactional operation. This means
that it does not lock any entries and therefore can read something that is
not in the database yet. Also it will not do read-through, so I'm not sure
that your test is correct.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-perform-lazy-write-to-database-tp4002p4028.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to