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

Mike Matrigali updated DERBY-3323:
----------------------------------


depending on isolation level and the state of the open results set it would 
totally be expected that this would stop 
a drop from happening.  It gets confusing with the various row caches around, 
but from the bottom up what is expected for read committed:

while a result set is open store will hold a IS table intent lock until the 
result set is closed.  This lock will conflict
with drop table and thus will cause the drop table to block until the result 
set is closed.  It will usually hold one
read committed row lock with is the "current" row in the scan.  From store 
point of view the result set can get closed 
in one of 2 ways, either by explicitly closing it or by "nexting" past the last 
row in the result set.  Correlating the second condition is hard from the 
client side as multiple level of caching (drda and internal "group fetch") make 
it to tell
the relationship between the "current" row in the application and the actual 
last row that has been fetched from store.

> ComparisonFailure in derbyStress
> --------------------------------
>
>                 Key: DERBY-3323
>                 URL: https://issues.apache.org/jira/browse/DERBY-3323
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>         Environment: jvm1.4 lin
> jvm1.5 lin, linN+1
> vm1.6 sles,sol, solN+1
> jvm1.5 w2003
>            Reporter: Ole Solberg
>            Assignee: Kathey Marsden
>            Priority: Minor
>
> See 
> jvm1.4 lin : 
> http://dbtg.thresher.com/derby/test/Daily/jvm1.4/FailReports/612516_bySig.html
> jvm1.5 lin, jvm1.5 linN+1 : 
> http://dbtg.thresher.com/derby/test/Daily/jvm1.5/FailReports/612516_bySig.html
> jvm1.6 sles, jvm1.6 sol, jvm1.6 solN+1: 
> http://dbtg.thresher.com/derby/test/Daily/jvm1.6/FailReports/612516_bySig.html
> jvm1.5 w2003: 
> http://dbtg.thresher.com/derby/test/10.3Branch/jvm1.5/FailReports/612526_bySig.html
> 1) 
> derbyStress(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure:
>  Output at line 6 expected:<[Test derbyStress finished.]> but was:<[FAIL -- 
> unexpected exception ****************]>
>       at 
> org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
>       at 
> org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:91)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:96)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)

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

Reply via email to