Issue Details (XML | Word | Printable)

Key: DERBY-4165
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Kathey Marsden
Reporter: Kathey Marsden
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Document the effect of shutdown on in progress transactions and open connections.

Created: 16/Apr/09 08:12 PM   Updated: 16/Jul/09 09:24 PM
Component/s: Documentation
Affects Version/s: 10.6.0.0
Fix Version/s: 10.5.2.0, 10.6.0.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works derby-4165_diff.txt 2009-07-10 11:55 PM Kathey Marsden 0.8 kB
Text File Licensed for inclusion in ASF works derby-4165_diff.txt 2009-07-01 11:07 PM Kathey Marsden 0.8 kB
HTML File Licensed for inclusion in ASF works tdevdvlp40464.html 2009-07-10 11:55 PM Kathey Marsden 6 kB
HTML File Licensed for inclusion in ASF works tdevdvlp40464.html 2009-07-01 11:07 PM Kathey Marsden 6 kB
Issue Links:
Reference
 

Urgency: Urgent
Issue & fix info: Newcomer, Patch Available
Resolution Date: 13/Jul/09 06:44 PM
Labels:


 Description  « Hide
I have noticed if the database is shutdown various operations on open connections can cause NullPointerExceptions, assertion failures and other issues. The documentation should recommend that existing open connections be closed before shutting down the database or the engine and that unexpected behavior may occur if connections are reused after shutdown.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dag H. Wanvik made changes - 30/Jun/09 04:06 PM
Field Original Value New Value
Issue & fix info [Newcomer]
Kathey Marsden made changes - 01/Jul/09 10:01 PM
Assignee Kathey Marsden [ kmarsden ]
Kathey Marsden added a comment - 01/Jul/09 11:07 PM
Attached is a patch for this issue. Please review.

Kathey Marsden made changes - 01/Jul/09 11:07 PM
Attachment derby-4165_diff.txt [ 12412339 ]
Attachment tdevdvlp40464.html [ 12412340 ]
Kathey Marsden made changes - 01/Jul/09 11:07 PM
Issue & fix info [Newcomer] [Newcomer, Patch Available]
Kim Haase added a comment - 02/Jul/09 02:34 PM
Thanks again, Kathey. This looks great.

You might want to break the new paragraph into lines of up to 80 characters.

Also, the phrase "erroneous errors" seems redundant -- would just "errors" convey the meaning intended?

Kathey Marsden made changes - 06/Jul/09 03:16 PM
Link This issue is related to DERBY-3237 [ DERBY-3237 ]
Kathey Marsden added a comment - 08/Jul/09 04:55 PM
Marking urgent for 10.5.2. I plan to fix this.

Kathey Marsden made changes - 08/Jul/09 04:55 PM
Urgency Urgent
Kathey Marsden added a comment - 10/Jul/09 10:27 PM
Thanks Kim for reviewing the patch. By "erroneous errors" I wanted to convey that we can't begin to predict what you are going to get, but it is certain to be bad. I think maybe just "errors" seems to soft. Can you think of a better word than erroneous?

Kathey Marsden added a comment - 10/Jul/09 11:55 PM
I spoke with Laura Stewart who agreed with Kim that "erroneous" was redundant and suggested an attention <note> tag for emphasis instead. Here is a new patch and html file with the recommended changes from Kim and Laura.

Kathey Marsden made changes - 10/Jul/09 11:55 PM
Attachment derby-4165_diff.txt [ 12413176 ]
Attachment tdevdvlp40464.html [ 12413177 ]
Kim Haase added a comment - 13/Jul/09 03:36 PM
Laura's suggestion of using an Attention note works perfectly. Thanks for breaking up the lines, too. From a writing standpoint, +1 to commit, I'd say.

Repository Revision Date User Message
ASF #793635 Mon Jul 13 17:32:00 UTC 2009 kmarsden DERBY-4165 Document the effect of shutdown on in progress transactions and open connections.
Files Changed
MODIFY /db/derby/docs/trunk/src/devguide/tdevdvlp40464.dita

Repository Revision Date User Message
ASF #793658 Mon Jul 13 18:43:44 UTC 2009 kmarsden DERBY-4165 Document the effect of shutdown on in progress transactions and open connections.
Files Changed
MODIFY /db/derby/docs/branches/10.5/src/devguide/tdevdvlp40464.dita

Kathey Marsden added a comment - 13/Jul/09 06:44 PM
Committed revision 793658 to 10.5. I don't plan to backport further.

Kathey Marsden made changes - 13/Jul/09 06:44 PM
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 10.5.1.2 [ 12313870 ]
Fix Version/s 10.6.0.0 [ 12313727 ]
Resolution Fixed [ 1 ]
Kathey Marsden made changes - 16/Jul/09 09:24 PM
Fix Version/s 10.5.2.0 [ 12314116 ]
Fix Version/s 10.5.1.2 [ 12313870 ]