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

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

Commit 1535273 from [email protected] in branch 'code/branches/10.9'
[ https://svn.apache.org/r1535273 ]

DERBY-6320 Log a page dump to derby.log if ERROR nospc: nospc.U is returned to 
the user

backported change #1535206 from 10.10 to 10.9 branch, merge was clean.

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-4923_1010.diff, 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)

Reply via email to