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

Kristian Waagan updated DERBY-4833:
-----------------------------------

    Issue & fix info:   (was: [Patch Available])

The initial istat related problems seen with the updatelocksX were solved by 
changing the threshold values (i.e. upping the minimum number of rows required 
before the istat daemon considers an update). This means patch 2a probably 
doesn't need to be committed.
In any case, there are still problems with the updatelocksX tests, but it is my 
impression that they're not caused by the istat feature. Keeping this issue 
open a little while longer, hoping we figure out what the underlying problem is.

> Prepare existing JUnit tests for running with automatic index statistics 
> generation
> -----------------------------------------------------------------------------------
>
>                 Key: DERBY-4833
>                 URL: https://issues.apache.org/jira/browse/DERBY-4833
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.7.1.1
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: 
> derby-4833-1a-orderbyandsortavoidancetest_adjustment.diff, 
> derby-4833-2a-updatelocks_disable_autostats.diff
>
>
> During prototyping of a mechanism to create and update index statistics 
> automatically (see DERBY-4771) it turned out that some of the tests fail due 
> to the presence of [improved] index statistics.
> Where appropriate the tests should be adjusted to cope with this background 
> activity, and where not appropriate it should be noted such that the feature, 
> when introduced, can be disabled.
> As part of this effort I will introduce a utility class for dealing with 
> index statistics in tests. These will be used by some existing tests and also 
> the new tests that will be written for the new feature.
> At this point two tests requiring adjustments have been identified 
> (OrderByAndSortAvoidance, UpdateStatisticsTest), and one is under 
> investigation (AutoIncrementTest). More may surface as the work on the 
> feature progress.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to