Project

General

Profile

Bug #5377

H2 might block in certain conditions

Added by Ovidiu Maxiniuc almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

History

#2 Updated by Ovidiu Maxiniuc almost 3 years ago

The investigations from #4479 proved that some methods were not correctly handling locking on its internal meta table which lead to a state where the table remained locked indefinitely, causing the application to hang, perform incorrectly or abend with a timeout exception.

The very specific location was fixed in #4479 but at a quick look over H2 code, there might be other places where the same table could remain locked as well because the incorrect balancing of the lock/unlock nested methods.

The span of this task is to investigate these locations, construct testcases which demonstrate the flaw of respective method and adjust the H2 code so that the block is avoided.

Also available in: Atom PDF