[storm] Consistent multithreaded operations
Jamu Kakar
jkakar at kakar.ca
Fri Sep 5 18:07:36 BST 2008
Hi,
NeedBenzyn NeedBenzyn wrote:
> The problem I think is there is no lock put on the selected row after
> the first thread has read it - On Mysql it'is handled with running the
> query with "SELECT ... FOR UPDATE" or "SELECT ... LOCK IN SHARE MODE"
>
> Any idea on how to make storm using this behaviour ?
Which table engine are you using? I believe only one of them,
InnoDB, has proper transaction support. This may be the issue. By
default, Storm will attempt to run your statements in a transaction.
Thanks,
J.
More information about the storm
mailing list