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] Assigned: (DERBY-4447) Add internal block mechanism to reject new database connections
Date Thu, 29 Apr 2010 12:13:53 GMT

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

Kristian Waagan reassigned DERBY-4447:
--------------------------------------

    Assignee:     (was: Kristian Waagan)

Not working on this now.

Remember to consider enabling the test contributed under DERBY-4436 if the feature is implemented.

> Add internal block mechanism to reject new database connections
> ---------------------------------------------------------------
>
>                 Key: DERBY-4447
>                 URL: https://issues.apache.org/jira/browse/DERBY-4447
>             Project: Derby
>          Issue Type: Task
>          Components: Miscellaneous
>    Affects Versions: 10.6.1.0
>            Reporter: Kristian Waagan
>         Attachments: DatabaseAccessBlocking_r2_0.txt
>
>
> When performing certain database operations, it would be useful if Derby
> automatically blocked new connections to the database. Examples of such
> operations are dropping a database and shutting down a database.
> The block access feature would allow for:
>  - More graceful shutdowns.
>    New connections are rejected, and one could also implement a feature
>    for waiting until all existing connections are disconnected.
> -  Better error reporting for the clients.
>    Instead of getting potentially "random" exceptions, a more
>    well-defined set of exceptions can be expected. For instance, getting
>    messages about NullPointerExceptions, container X not found,
>    and database boot failed should occur more seldom (if at all). Instead the
>    clients will get one of the following messages:
>     * Database not found (only if the database is dropped).
>     * Shutdown exception (comes in two flavors).
>     * Access blocked due to reason X.
> See the thread http://markmail.org/message/ik7zgxsizg6gnyw6 (posted on derby-dev).
> Also, see the attached spec.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message