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] Updated: (DERBY-5088) ShutdownException raised in istat thread during factory call
Date Thu, 03 Mar 2011 00:39:36 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Waagan updated DERBY-5088:
-----------------------------------

    Attachment: derby-5088-1a-shutdownexception_refactor.diff

Attaching patch 1a for review.
Refactors the exception handling code somewhat, and moves the factory call inside the try-catch.

> 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