[
https://issues.apache.org/jira/browse/DERBY-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501559
]
Kristian Waagan commented on DERBY-2646:
----------------------------------------
I was planning to use it to ensure visibility of the variable without having to
obtain a lock. This it achieves, but since release() is closing the store
stream as well, I need to obtain a lock to ensure the stream is not closed
while an operation is being performed on it. Thus the volatile modifier must go
away (I will fix this at once).
And the reason why you don't understand much of the synchronization policy, is
because it is not yet in place :)
The task grew a bit bigger than expected, and I need to push it out to "get
things done". It is also bad to track all these things under this issue.
I have created DERBY-2762 to track the synchronization issue. There are also
some related issues already filed, and I hope we can link them up soon.
Even though there are important things not yet addressed regarded to Clob, all
our tests passes...
As a little warning, we might see some instabilities related to Clobs. There
are two reasons; this rewrite on the embedded side, and the enabling of locator
support on the client side. I think we should get these improvements into trunk
ASAP and then address the remaining issues.
> Cleanup of Clob control/support structures
> ------------------------------------------
>
> Key: DERBY-2646
> URL: https://issues.apache.org/jira/browse/DERBY-2646
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC
> Affects Versions: 10.3.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Fix For: 10.3.0.0
>
> Attachments: derby-2646-01a_trailing_space.diff,
> derby-2646-01a_trailing_space.stat, derby-2646-02a-clob-reorg.diff,
> derby-2646-02a-clob-reorg.stat, derby-2646-03a-internalclob.diff,
> derby-2646-04a-storestreamclob_utf8util.diff,
> derby-2646-04a-storestreamclob_utf8util.stat,
> derby-2646-04b-storestreamclob_utf8util.diff, derby-2646-05a-tests.diff,
> derby-2646-05a-tests.stat, derby-2646-05b-tests.diff
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.