On Fri, Dec 4, 2009 at 6:50 AM, Sergey Didenko <sergey.dide...@gmail.com>wrote:

> Without the global transaction counter another problem arises.
>
> Suppose transaction B depends on ( results of ) transaction A. And they are
> executed from different threads. However they have the right order when
> executing the first time.
>
> How to guarantee that the execution order is the same when transactions are
> replayed?
>

Use System/currentTimeMillis as a component in the transaction ID, along
with a thread-local component, perhaps.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to