db-derby-dev mailing list archives

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

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

Lily Wei commented on DERBY-5088:
---------------------------------

That's okay. I understand. Thank Kristian for getting back to me so quickly.
I meant when I was looking at the code, the code seems to do the right thing. My only concern
is whether daemonLCC.getDatabase().isActive() at IndexStatisticDaemonImpl.isShuttingDown()
always reflects reality. Will isActive() method only return true when database is up and running.
However, I couldn't come out with a case that the value does not reflect reality. 

You are right about the database grow very large. After running ij with more memory, I can
see the row grow to more than millions. It is still running after 20 minutes. If I do see
stacktrace, I will post them. Thanks!

> 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: 10.8.0.0
>            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

        

Mime
View raw message