> On Fri, Jun 19, 2009 at 10:33 AM, Tres Seaver<[email protected]> 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 -- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
