要指出的是,在此情况下,对时间的估计悲观一些可能实际上非常重要。
One thing to point out is that pessimism can actually be very important in this situation.
预计要花上十多年时间这些变化才会发生可能太悲观了。
To predict that it will take over ten years for these changes to happen is probably pessimistic.
本例中的模式是当第一个事务读取某个数据行时,它将加上时间戳和用户标识,这类似于悲观会话锁定的处理方式(稍后讨论)。
The pattern in this case is that when the first transaction reads a row it will "stamp" it with the identity of the user, similarly to how pessimistic session locking is handled (covered next).
The pessimism sort of surprised me. So I spent some time looking for sort of a deeper positive message.
这其中的悲观主义某种程度上使我感到惊讶,我花了些时间寻找蕴含其中的深层的积极信条。
应用推荐