[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12763113#action_12763113
]
Rick Hillegas commented on DERBY-700:
-
Thanks Kathey and Myrna. The release note looks
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12759061#action_12759061
]
Knut Anders Hatlen commented on DERBY-700:
--
I think 10.1 is supposed to work with
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12750601#action_12750601
]
Mamta A. Satoor commented on DERBY-700:
---
Rick, I was wondering if you knew the
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744938#action_12744938
]
Knut Anders Hatlen commented on DERBY-700:
--
ManagementMBeanTest started failing in
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744946#action_12744946
]
Knut Anders Hatlen commented on DERBY-700:
--
I noticed this in the new test
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12745098#action_12745098
]
Rick Hillegas commented on DERBY-700:
-
Committted derby-700-02-aa-testCleanup.diff at
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12745229#action_12745229
]
Myrna van Lunteren commented on DERBY-700:
--
I backported the change to
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744479#action_12744479
]
Rick Hillegas commented on DERBY-700:
-
The tests ran cleanly for me except for an error
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744548#action_12744548
]
Rick Hillegas commented on DERBY-700:
-
Committed
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744557#action_12744557
]
Rick Hillegas commented on DERBY-700:
-
Ported 805448 from trunk to 10.5 branch at
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744593#action_12744593
]
Rick Hillegas commented on DERBY-700:
-
Ported 805448 from trunk to 10.3 branch at
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744592#action_12744592
]
Rick Hillegas commented on DERBY-700:
-
Ported 805448 from trunk to 10.4 branch at
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744657#action_12744657
]
Rick Hillegas commented on DERBY-700:
-
At this point I have ported the patch to all
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12743395#action_12743395
]
Rick Hillegas commented on DERBY-700:
-
Thanks, Mike. I will add that comment. I will
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12743447#action_12743447
]
Kathey Marsden commented on DERBY-700:
--
There was a test in the earlier patches that
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740552#action_12740552
]
Rick Hillegas commented on DERBY-700:
-
Hi Kathey. I'm now aware of a spec clarification
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740588#action_12740588
]
Rick Hillegas commented on DERBY-700:
-
I have confirmed the following with Alan Bateman,
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740623#action_12740623
]
Kathey Marsden commented on DERBY-700:
--
This is indeed excellent news.
I tried on SuSE
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740635#action_12740635
]
Rick Hillegas commented on DERBY-700:
-
Hi Kathey. The bug id is 6332756. See
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740641#action_12740641
]
Kathey Marsden commented on DERBY-700:
--
Thanks Rick for the reference. Was there
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740660#action_12740660
]
Rick Hillegas commented on DERBY-700:
-
Was there consideration given to bakcporting the
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740669#action_12740669
]
Kathey Marsden commented on DERBY-700:
--
If for 1.5 the property default is the current
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12740673#action_12740673
]
Rick Hillegas commented on DERBY-700:
-
I think it's a good idea to clean up how we
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12706621#action_12706621
]
Kathey Marsden commented on DERBY-700:
--
I did some testing with the thread name idea
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12688145#action_12688145
]
Kathey Marsden commented on DERBY-700:
--
I have been thinking about this issue and
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509163
]
Daniel John Debrunner commented on DERBY-700:
-
With the changes made for DERBY-2737 it might be wise to
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506228
]
Kathey Marsden commented on DERBY-700:
--
Dan asked:
Could the problem (needing to expand) with the
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505957
]
Kathey Marsden commented on DERBY-700:
--
I am working to move the intraJVM lock into StorageFile,
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505976
]
Kathey Marsden commented on DERBY-700:
--
If I try to keep the interface the same and incorporate the intrajvm
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505980
]
Daniel John Debrunner commented on DERBY-700:
-
Could the problem (needing to expand) with the
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505310
]
Kathey Marsden commented on DERBY-700:
--
Dan, based on what Suresh said, does the solution to add a new call,
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505330
]
Daniel John Debrunner commented on DERBY-700:
-
Thanks Suresh, that was very useful. The piece of missing
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504735
]
Daniel John Debrunner commented on DERBY-700:
-
Couple of minor additonal comments:
- The code would be
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504721
]
Daniel John Debrunner commented on DERBY-700:
-
Note I'm reviewing the patch called;
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504902
]
Daniel John Debrunner commented on DERBY-700:
-
Simple question is why is a new method needed on
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504943
]
Suresh Thalamati commented on DERBY-700:
I agree with Dan, getLockedFile() is confusing and should not be
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504352
]
Kathey Marsden commented on DERBY-700:
--
Thanks Dan for the comment.
getExclusiveLock() and getLockedFile() are
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504446
]
Daniel John Debrunner commented on DERBY-700:
-
I think there is a lock file per open file. I will change
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504471
]
Daniel John Debrunner commented on DERBY-700:
-
-1 on this patch (now applied as 547042 547046):
The
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503950
]
Kathey Marsden commented on DERBY-700:
--
I have been unable to figure out exactly what the permission issue is
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503967
]
Daniel John Debrunner commented on DERBY-700:
-
From a very quick look at the code two things jumped out
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502848
]
Kathey Marsden commented on DERBY-700:
--
Run without security manager the test passes with jars. So I will try
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499134
]
Kathey Marsden commented on DERBY-700:
--
Suresh said
2) Currently dataDirectory path string is is used for
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499137
]
Daniel John Debrunner commented on DERBY-700:
-
The issue with the path is that the canonical path would
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498037
]
Kathey Marsden commented on DERBY-700:
--
Thanks Suresh for the patch! I was wondering, why do we need
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498050
]
Suresh Thalamati commented on DERBY-700:
[ Show ยป ] Kathey Marsden [22/May/07 03:22 PM] Thanks Suresh for the
Overall I prefer your proposal to mine, assuming it works. Have you
had a chance to prototype this on a non-windows system? I couldn't
find a problem in the pseudo-code from reading it.
My concerns are:
1) Can we count on class finalizers? What, if any situations are there
that should have
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484998
]
Suresh Thalamati commented on DERBY-700:
Thanks a lot for summarizing the problems and possible solutions
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484550
]
Suresh Thalamati commented on DERBY-700:
While reading comments for this issue yet again, noticed Rick
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484565
]
Daniel John Debrunner commented on DERBY-700:
-
if you alluding to this comment:
rick One Derby object
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484586
]
Suresh Thalamati commented on DERBY-700:
Thanks for confirming , Dan. I was referring to the commnet you
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483798
]
Suresh Thalamati commented on DERBY-700:
There does not seem to be any way to get process id info that can
[
https://issues.apache.org/jira/browse/DERBY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482927
]
Suresh Thalamati commented on DERBY-700:
I took a quick looks at fixes for LUCENE-305 and LUCENE-635 ,
[
http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12425259 ]
Rick Hillegas commented on DERBY-700:
-
Where can Derby store VM-global state? It has been pointed out that System
properties are an awkward kind of VM-global
[
http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12424948 ]
Daniel John Debrunner commented on DERBY-700:
-
Using system properties will require that every user running with the security
manager grant a new
[
http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12424951 ]
Daniel John Debrunner commented on DERBY-700:
-
LUCENE-305 and LUCENE-635 may be worth looking at, lucene is re-factoring their
locking (similar
I think pid's are unique at a given moment, so using the process id
might work if Java provides a way to get a PID of process.
But I am not so sure how to generate such a unique id store it in
system property/any where else without hitting classical race
condition problems. I don't think it
Mike Matrigali wrote:
2) determine if the existing lock is false, ie. the creating process
exited without cleaning up the lock file.
Is the reason that this is hard because File.deleteOnExit() is not reliable?
thanks,
bryan
yes, I believe it does not work if you kill the JVM. I think it also
did not work if you call System.exit(), but I am don't remember that
exactly. At least that use to be the case.
Bryan Pendleton wrote:
Mike Matrigali wrote:
2) determine if the existing lock is false, ie. the creating
In addition to that, there is also a jvm bug related to this call,
which can lead to memory leaks.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513817
I had too much fun tracking that leak a while ago.
-suresh
Mike Matrigali wrote:
yes, I believe it does not work if you kill the JVM.
For the generic 2 JVM problem we considered a process id scheme, but
gave up when we could not find encough pure java support. There
are actually 2 issues:
1) enforce the lock
2) determine if the existing lock is false, ie. the creating process
exited without cleaning up the lock file.
Until
Suresh Thalamati wrote:
Any ideas to fix this problem ?
What if you included some additional information in the lock files,
and then changed the locking algorithm so that it considered more
than just the presence or absence of the lock file, and whether it
could be locked successfully or not.
Do you happen to know why it works on windows? Is the file lock
behavior different, or is the old windows-only locking method
automatically kicking in?
Suresh Thalamati (JIRA) wrote:
[ http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12363492 ]
Suresh Thalamati
On windows old lock mechanism(if a file is open, it can not be deleted
until it is closed..) is used always to prevent the dual boot of the
same database, that is why it works fine even with multiple class
loaders. Java File lock mechanism is used only on systems where one
can delete the
[
http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12363492 ]
Suresh Thalamati commented on DERBY-700:
After doing bit of testing realized checking for OverlappingFileLockException
does not work. This exception is reliable
[
http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12363295 ]
Suresh Thalamati commented on DERBY-700:
Hi Kathy ,
I am attempting to fix this bug, just realized I may not be able to add the
repro in jira into the functional
[
http://issues.apache.org/jira/browse/DERBY-700?page=comments#action_12357312 ]
Suresh Thalamati commented on DERBY-700:
My guess is , currently Derby seems to catch the IO exception and turn it into
a readonly db , when file lock fails with
67 matches
Mail list logo