You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mike Matrigali (Commented) (JIRA)" <ji...@apache.org> on 2012/02/08 22:56:59 UTC

[jira] [Commented] (DERBY-1913) storetests/st_reclaim_longcol.java fails intermittently

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

Mike Matrigali commented on DERBY-1913:
---------------------------------------

i don't think statistics are the problem, at least not the main issue. It looks like if the background task does not get a chance to run early in the test, then the assumptions on total
number of pages are wrong, and waiting at the end does not help.  The problem is most likely on machines with enough other work running such that the
background thread does not get a chance to run.  I think we are seeing a lot of these now in the ibm runs 10.8 runs because we have switched to running multiple jvms concurrently leaving less spare cpu cycles for background threads to run.  

Unfortunately I am not having luck reproducing in my environment, but I think i understand at least the Test 1 problems - so will code and submit and see if nighltys work better.
                
> storetests/st_reclaim_longcol.java fails intermittently
> -------------------------------------------------------
>
>                 Key: DERBY-1913
>                 URL: https://issues.apache.org/jira/browse/DERBY-1913
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.3.1.4, 10.8.2.3
>         Environment: Seen on Solaris 10, 11, jdk1.4, jdk1.5 and jdk 1.6
>            Reporter: Knut Anders Hatlen
>            Assignee: Mike Matrigali
>            Priority: Minor
>              Labels: derby_triage10_5_2
>
> I saw this diff when running derbyall:
> ********* Diff file derbyall/storeall/storetests/st_reclaim_longcol.diff
> *** Start: st_reclaim_longcol jdk1.5.0_07 storeall:storetests 2006-10-02 18:11:13 ***
> 1a2,4
> > Test failed, expected less than 32 pages - count is:
> > free pages     : 25
> > allocated pages: 20
> Test Failed.
> *** End:   st_reclaim_longcol jdk1.5.0_07 storeall:storetests 2006-10-02 18:13:35 ***
> A similar diff has also been seen in the nightlies: http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/testlog/SunOS-5.10_i86pc-i386/441833-derbyall_diff.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira