db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6320) Log a page dump to derby.log if ERROR nospc: nospc.U is returned to the user
Date Wed, 23 Oct 2013 17:07:45 GMT

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

ASF subversion and git services commented on DERBY-6320:
--------------------------------------------------------

Commit 1535075 from mikem@apache.org in branch 'code/trunk'
[ https://svn.apache.org/r1535075 ]

DERBY-6320 Log a page dump to derby.log if ERROR nospc: nospc.U is returned to the user
This patch adds the ability to dump a page in an insane build, and adds 2 calls to do so in
2 outstanding nospc error cases. In those two cases a new user
level error is thrown and nests the nospc.U error so that we still know the
original stack trace where the lowest error was thrown.  
The patch passes all tests and the specific errors were hand tested, one of 
them using the test case filed in DERBY-4923 and in the other case just by hand forcing the
codepath.

> Log a page dump to derby.log if ERROR nospc: nospc.U  is returned to the user
> -----------------------------------------------------------------------------
>
>                 Key: DERBY-6320
>                 URL: https://issues.apache.org/jira/browse/DERBY-6320
>             Project: Derby
>          Issue Type: Improvement
>          Components: Store
>    Affects Versions: 10.8.2.2
>            Reporter: Kathey Marsden
>            Assignee: Mike Matrigali
>         Attachments: DERBY-6320.diff
>
>
> ERROR nospc: nospc.U  should only be an internal error that is caught and handled.  If
returned to the user, it is likely a bug. It would be useful if this occurs to have a page
dump printed to derby.log.  Care should be taken to only do this if the error is returned
to the user and not for the internal variety.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message