[storm] Something more than store.add()

Piotr Jackowski jackowski.piotr at gmail.com
Fri Dec 5 22:32:23 GMT 2008


Hi

Thanks Jamu. Indeed it was my application.
This was also useful:
https://lists.ubuntu.com/archives/storm/2008-November/000794.html

Peter


On Fri, Dec 5, 2008 at 2:29 PM, Jamu Kakar <jkakar at kakar.ca> wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20081205/c1ccd236/attachment.htm 


More information about the storm mailing list