[storm] How to set isolation level in storm

Jamu Kakar jkakar at kakar.ca
Fri Jun 19 18:57:02 BST 2009


Hi Tres,

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.

That's right, yes.  Each store will create its own connection to the
physical database, using the properties defined in the URI you
passed to create_database.  If you want to connect two stores to the
same physical database with different settings you need to use two
different create_database calls.

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...?

Thanks,
J.



More information about the storm mailing list