How does Omid implement the two phase commit protocol?

29 views
Skip to first unread message

鄭凱元

unread,
Oct 30, 2013, 3:40:33 AM10/30/13
to omid-p...@googlegroups.com

Daniel Gómez Ferro

unread,
Oct 30, 2013, 5:25:06 AM10/30/13
to 鄭凱元, omid-project
Hi,

Omid doesn't implement the two phase commit protocol, it uses the Optimistic Concurrency Control approach. The algorithm Omid uses is explained here: https://github.com/yahoo/omid/wiki

Basically, a centralized Status Oracle keeps record of modified rows by all transactions and aborts some of them in case of write-write conflict. Transactions proceed independently of each other but might have to abort at commit time.

Regards,
Daniel


On Wed, Oct 30, 2013 at 8:40 AM, 鄭凱元 <nowitz...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Omid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omid-project...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Message has been deleted

鄭凱元

unread,
Oct 30, 2013, 11:05:28 PM10/30/13
to omid-p...@googlegroups.com, 鄭凱元


鄭凱元於 2013年10月31日星期四UTC+8上午10時44分49秒寫道:
If  transaction has many put operations and will execute on several regionserver, one of put operation fail, How Omid solve this situation? abort this transaction?   

Daniel Gómez Ferro於 2013年10月30日星期三UTC+8下午5時25分06秒寫道:

Daniel Gómez Ferro

unread,
Oct 31, 2013, 4:03:02 AM10/31/13
to 鄭凱元, omid-project
Yes, that's right, the transaction will abort.
Reply all
Reply to author
Forward
0 new messages