db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5088) ShutdownException raised in istat thread during factory call
Date Thu, 03 Mar 2011 21:38:41 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002238#comment-13002238

Kristian Waagan commented on DERBY-5088:

Sorry Lily, I didn't see your comment before after I committed the fix to trunk with revision

I don't quite understand what you mean with "From looking at the code, I don't see much."
Can you please clarify?
Note that if you reuse the database between runs it will quickly grow very large and may appear
to hang while it is inserting data.

The expected behavior for the fix is that you won't see the error / stacktrace reported by
Knut when ij is exiting (which it will do when it has executed all the SQL commands in the
script file). Since the bug is intermittent, it is not that easy to "prove" that it will never
happen again.
If you see it now, the stacktrace should be different.

> ShutdownException raised in istat thread during factory call
> ------------------------------------------------------------
>                 Key: DERBY-5088
>                 URL: https://issues.apache.org/jira/browse/DERBY-5088
>             Project: Derby
>          Issue Type: Bug
>          Components: Services, Store
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-5088-1a-shutdownexception_refactor.diff
> Reported by Knut Anders in DERBY-5082:
> ---
> While running the repro script, I've also seen this exception printed to the console:
> Exception in thread "index-stat-thread" org.apache.derby.iapi.error.ShutdownException:
> at org.apache.derby.iapi.services.context.ContextService.getFactory(ContextService.java:210)
> at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(IndexStatisticsDaemonImpl.java:700)
> at java.lang.Thread.run(Thread.java:619)
> ij didn't error out in that case, though.
> ---
> This happens when the database is shut down before the istat worker thread has been initialized.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message