db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-3601) Optimize LOBStateTracker for non-locator servers
Date Thu, 02 Oct 2008 15:31:44 GMT

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

Kristian Waagan resolved DERBY-3601.

       Resolution: Fixed
    Fix Version/s:
       Derby Info:   (was: [Patch Available])

Committed patch 2a to trunk with revision 701156.
I'll leave the issue open for a while and backport it if no problems are detected.

> Optimize LOBStateTracker for non-locator servers
> ------------------------------------------------
>                 Key: DERBY-3601
>                 URL: https://issues.apache.org/jira/browse/DERBY-3601
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Client, Newcomer
>    Affects Versions:,
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Trivial
>             Fix For:
>         Attachments: derby-3601-1a-comments_and_renaming.diff, derby-3601-2a-non_locator_optimization.diff,
> The following comments posted for DERBY-3571 should be addressed if we choose to allow
multiple calls to the various getter methods on LOB columns, except for the getter methods
returning streams:
> ----- Knut Anders wrote:
> 've tried out the 2a patch and it seems to work as intended. My only nits are:
>   - LOBStateTracker.checkCurrentRow(): couldn't Arrays.fill() be moved inside the if
>   - should discardState() and markAccessed() check the release flag?
>   - should ResultSet.createLOBColumnTracker() use LOBStateTracker.NO_OP_TRACKER instead
of allocating a new when serverSupportsLocators() returns false?
> -----
> Note that it is a requirement that we allow multiple calls to the getter methods, otherwise
we need to maintain the state for non-locator LOB columns as well to track the number of accesses.
Another options is to rely on a different mechanism to track accesses.

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

View raw message