|
Hi all, A simple
question. I have an
app where everything is readonly operations against
castor. I load and query everything in Database.READ_ONLY-mode. My question is –
sometimes during extreme load I still get “…doesn't exist or no
lock exceptions” on a lot of objects I have read. I have tried both with db.rollback()
and db.commit before close but both seems to want to
lock the objects for some reason. Is it ok to skip both
rollbacks and commits in such a situation and only do db.close
on the db? Would that help me? Is there any other tips
on the issue on read locks. This mostly happens when I do a cache-eviction and
a read simultaneously (uuhh, is that spelling right).
In there a way to stop cache eviction and read to occur concurrently? Regards
[EMAIL PROTECTED]
www.modul1.se |
- [castor-user] Readonly-Transactions and locks Bogeblad Mattias
- Re: [castor-user] Readonly-Transactions and locks Ralf Joachim
- [castor-user] How to get off this mailing list??... Matthew Menefee
- Re: [castor-user] How to get off this mailin... Werner Guttmann
- Re: [castor-user] How to get off this mailin... Bruce Snyder
- SV: [castor-user] Readonly-Transactions and locks Bogeblad Mattias

