[storm] Something more than store.add()
Jamu Kakar
jkakar at kakar.ca
Fri Dec 5 22:29:08 GMT 2008
Hi Piotr,
On Fri, Dec 5, 2008 at 10:52 AM, Piotr Jackowski
<jackowski.piotr at gmail.com> wrote:
> I'm using store in my tool. I have several process updating the same table.
> Each process updates one dedicated column.
> Processes generate also unique key. I use store.add() and I have some kind
> of race situation, often get
> "Duplicate entry '114931' for key 1".
> Does store offer something like store.update_or_create() functionality (
> which could use REPLACE )?
There is no Store.update_or_create(); you need to deal with that
problem in your application.
Thanks,
J.
More information about the storm
mailing list