[storm] problem with commit() and store record missing
Gustavo Niemeyer
gustavo at niemeyer.net
Mon Aug 20 18:38:18 BST 2007
> i have everything in MySQL MyIASm tables. rats !
> there is just way too much for me to start to restructure everything, so i
> will endeavor to find some code
> alternative.
One thing that *might* help you, depending on your specific issues, is
tagging objects that might not be present in the database with
"store.invalidate(obj)". This way Storm will try to prevent problems if
you try to use an object that went away.
Even if that works, in the long term, it might be a good idea to change
that. Depending on the isolation level you're using, things as simple
as "obj.attr += 1" might turn out to be serious bugs.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the storm
mailing list