[storm] Error - Database is locked
Brad Allen
ballen at zeomega.com
Wed Mar 11 20:34:53 GMT 2009
On Wed, Mar 11, 2009 at 2:34 PM, Shaun McCance <shaunm at gnome.org> wrote:
<snip>
> Bear in mind that flush could be called implicitly.
>
> The problem is that Storm leaves the ResultSet open,
> fetching results as you iterate over it. This causes
> any updates in that iterator to fail.
>
> Not sure if this is the problem you're having, but it
> seems like a pretty easy problem to run across.
I've tripped over it too; in my situation I had to exhaust the
ResultSet to get past the lock. One way to do that is convert it to a
list, as in list(my_result_set).
More information about the storm
mailing list