在两种情况下,事务的结果在回滚事务之前都是不明确的,但是这种不明确性的持续时间在一种情况下为数毫秒,在另一种情况下可能长达数分钟。
In both cases, the outcome of the transaction is ambiguous until the transaction is rolled back, but the duration of the ambiguity is milliseconds in one case and possibly many minutes in the other.
某些合法的事情遭到失败是一种情况,另一种完全不同的情况是你的承诺跟不上你的表现。
It is one situation when something legitimately goes awry, and an entirely different one when you anticipate that your promises will not equal your performance.
如果事务具有严格的时效性,则上述的其中一种情况是可接受的,另一种情况是不可接受的,但是对社区中的许多人来说,这两种情况在功能上是等价的。
If the transactions are time sensitive, one of these cases is acceptable and one is not, but to much of the community these are treated as functionally equivalent.
So one case to think about is what if the other firm, you're Coke, what if Pepsi is pricing below cost?
一种情况是如果另一家公司,假如说你是可口可乐,如果百事可乐定价低于成本怎么办
In another situation, you could be at a casual lunch setting with friends, eating pizza.
在另一种情况中,你可能正与朋友一起吃一顿便饭,你们吃的是披萨。
In one case you decided to order in terms of energy and in one case you decided to order in terms of how it fills up.
第一种情况中你们决定,用能量排序,另一种情况中你们决定用它,如何填充排序。
应用推荐