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 "Øystein Grøvlen (JIRA)" <ji...@apache.org> on 2007/10/05 11:45:50 UTC

[jira] Created: (DERBY-3107) On client, Clob.free() does not release locators.

On client, Clob.free() does not release locators.
-------------------------------------------------

                 Key: DERBY-3107
                 URL: https://issues.apache.org/jira/browse/DERBY-3107
             Project: Derby
          Issue Type: Bug
          Components: Network Client
    Affects Versions: 10.3.1.4
         Environment: All
            Reporter: Øystein Grøvlen
            Priority: Minor


On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.


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


[jira] Assigned: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen reassigned DERBY-3107:
--------------------------------------

    Assignee: Øystein Grøvlen

> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Minor
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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


[jira] Commented: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534044 ] 

Knut Anders Hatlen commented on DERBY-3107:
-------------------------------------------

The patch looks good to me (but it adds two lines with trailing spaces). +1 to commit.

> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Minor
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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


[jira] Updated: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen updated DERBY-3107:
-----------------------------------

    Fix Version/s:     (was: 10.4.0.0)
                   10.3.1.5

Merged patch into 10.3 branch as 584756.

> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Minor
>             Fix For: 10.3.1.5
>
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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


[jira] Resolved: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen resolved DERBY-3107.
------------------------------------

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

Thanks for the review, Knut Anders, I have committed the fix, but by accident, I ended up removing  all trailing spaces from the file, not just from the lines added by me.

I will also port this fix to 10.3 (without the white space noise).

> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Minor
>             Fix For: 10.4.0.0
>
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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


[jira] Closed: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen closed DERBY-3107.
----------------------------------


> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Minor
>             Fix For: 10.3.1.5, 10.3.2.0, 10.4.0.0
>
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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


[jira] Updated: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen updated DERBY-3107:
-----------------------------------

    Derby Info: [Patch Available]

Existing tests succeed with this patch.

It is bit difficult to write tests for this, but the locking tests that are added to jdbc4/ClobTest as part of DERBY-3098 fails for client-server without this fix.

> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Minor
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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


[jira] Updated: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen updated DERBY-3107:
-----------------------------------

    Attachment: derby-3107.diff

Attached patch, derby-3107.diff, makes sure Clob.free() releases the associated locator.

I also added tracing of Clob.free() since that was missing.

> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Priority: Minor
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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


[jira] Updated: (DERBY-3107) On client, Clob.free() does not release locators.

Posted by "Øystein Grøvlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Øystein Grøvlen updated DERBY-3107:
-----------------------------------

    Fix Version/s: 10.4.0.0
                   10.3.2.0

> On client, Clob.free() does not release locators.
> -------------------------------------------------
>
>                 Key: DERBY-3107
>                 URL: https://issues.apache.org/jira/browse/DERBY-3107
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>         Environment: All
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Minor
>             Fix For: 10.3.1.5, 10.3.2.0, 10.4.0.0
>
>         Attachments: derby-3107.diff
>
>
> On client, Clob.free() does not call the stored procedure to release the locator associated with the Clob. Hence, server-side Clob objects are not freed until the transaction terminates.

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