logoalt Hacker News

nkzdtoday at 6:12 PM1 replyview on HN

Have you ever seen anyone changing transaction isolation levels in code? I think pessimistic or optimistic locking is preferred way to handle transaction concurrency.


Replies

sgarlandtoday at 9:40 PM

I have recommended that various teams drop down to READ-COMMITTED (MySQL) for various actions to avoid gap locks being taken, but AFAIK no one has done so yet.