[storm] How to set isolation level in storm
Gustavo Niemeyer
gustavo at niemeyer.net
Fri Jun 19 19:26:05 BST 2009
> On Fri, Jun 19, 2009 at 10:33 AM, Tres Seaver<tseaver at palladion.com> wrote:
>> A store is a per-thread wrapper around a database, right? And the
>> database is what is created from the db_uri? So the properties are
>> properties of the database, rather than the store.
Indeed.
(...)
> I'm not 100% sure what will happen if you create two stores in the
> same thread, using different database objects returned by
> create_database, though...?
Nothing surprising will happen. What may be surprising is that
depending on what is done, the *database* may cause the thread to
deadlock (or at least wait for a timeout) because it's waiting for the
"other connection" to finish and, if both connections are on the same
thread, the other connection will of course not finish. That's all
independent of Storm, though.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the storm
mailing list