8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 13:23:02 +01:00
Commit Graph

242 Commits

Author SHA1 Message Date
asfernandes
077f8360a0 Misc 2008-07-31 00:45:43 +00:00
hvlad
c1b161fc2d Fixed bug CORE-2000 : Lock manager reported false deadlocks under high load 2008-07-28 21:21:21 +00:00
roman-simakov
cf37531005 Add missed que changing in LockManager::setOwnerHandle 2008-07-23 16:14:54 +00:00
robocop
a302401357 Misc. 2008-07-09 12:34:43 +00:00
hvlad
6ce4216ba3 Fixed bug CORE-1984 : Lock manager reported false deadlocks if one of deadlock participants waits with permitted timeout 2008-07-09 07:57:50 +00:00
hvlad
40f3722373 Fixed bug CORE-1985 : Lock manager code may create 100% CPU load for some time 2008-07-09 07:52:50 +00:00
robocop
8a77b30645 Cleanup: get rid of useless third param in ISC_unmap_file 2008-06-26 11:23:40 +00:00
asfernandes
7fc608346a Misc 2008-06-21 02:25:39 +00:00
skidder
f3bd98b5d8 In firebird 2.1/2.5 fb_lock_print was corrupting (truncating) lock table if run against non-working engine or when -F option is used. This was a regression from Firebird 2.0 for Unix platforms 2008-06-20 03:52:59 +00:00
dimitr
f1907db32d Fixed a deadlock which could occur during the shared memory region remapping. This bug has been introduced by myself along with the LM rework. 2008-06-12 07:34:50 +00:00
asfernandes
7bb0ae3616 Misc 2008-06-11 01:41:42 +00:00
robocop
7d58d35e15 Misc. 2008-06-10 12:10:03 +00:00
robocop
017d04dbfc Misc. 2008-06-10 10:11:39 +00:00
dimitr
cb2e3f0f61 Misc. 2008-06-10 04:18:50 +00:00
dimitr
19717fa63f Misc. 2008-06-09 09:10:55 +00:00
dimitr
1c885a3679 Worked around the compiler warnings. 2008-06-09 08:11:14 +00:00
alexpeshkoff
5b465f4159 fixed gcc build 2008-06-09 07:58:15 +00:00
asfernandes
26a79e3c6e Misc 2008-06-09 01:34:33 +00:00
dimitr
ec1d5a91b4 1) Encapsulated the lock manager and integrated it into the engine.
2) Replaced "early" (before LM) checkouts with "late" (inside LM) ones.
3) Removed the mutex protection that's no longer necessary.
Note: the new LM contains some future code (currently commented out) which will be enabled and tested after the Alpha release.
2008-06-07 09:08:16 +00:00
dimitr
92fb3f0b7a Misc. 2008-05-21 07:32:39 +00:00
alexpeshkoff
f0cb8afa8b cleanup 2008-04-18 09:44:36 +00:00
roman-simakov
db1c8760c3 Completed HTML format output for fb_lock_print. Added links to que. 2008-04-05 14:55:16 +00:00
roman-simakov
2b408da73a Added HTML format output for fb_lock_print 2008-04-04 14:15:59 +00:00
hvlad
259fafa647 Implement CORE-1819 : More efficient solution for CORE-1300 2008-04-02 23:46:59 +00:00
dimitr
6180c37e8d Extra protection to avoid races at the server shutdown. 2008-03-26 15:01:02 +00:00
dimitr
3d47e0c21e Added thread ID to the owner block (mostly for debugging purposes). 2008-03-25 10:39:29 +00:00
dimitr
9e1d388535 Fixed unexpected crashed in purge_process(). 2008-03-21 07:36:11 +00:00
dimitr
83cebeea26 Fixed server crash during memory remapping. 2008-03-18 11:34:50 +00:00
dimitr
ff090e6a7b Cleanup. 2008-03-12 16:42:51 +00:00
robocop
2912e6a5be Cleanup and misc. 2008-03-10 08:44:07 +00:00
asfernandes
6f91a0f18d Misc 2008-03-05 02:51:42 +00:00
dimitr
0a3826d5e6 Defer the process block cleanup till its death. This is dumber but more robust. It avoids races at LCK_fini() and fixes a rare deadlock there. 2008-03-04 19:07:55 +00:00
alexpeshkoff
ad53e24dc5 cleanup 2008-03-03 14:31:48 +00:00
asfernandes
c979d91901 Misc 2008-02-19 02:34:55 +00:00
dimitr
dc4390981c Sync declaration with definition. 2008-02-14 07:33:50 +00:00
dimitr
b7a575e43f Cleanup. 2008-02-13 16:47:34 +00:00
dimitr
49d23b6d22 Major changes in the lock manager, targeted to allow mixed in-process/cross-process working modes. Namely, they are:
1) Separate process and owner blocks. Multiplex blocking signals via single blocking thread.
2) Enable direct in-process AST delivery.
3) Drop PREVENT_OWNER_STARVATION code as not compatible with the new LM structure.
4) Synchronize LM using its own mutex instead of SCH.
5) Implement wakeup'n'remap code for waiting owners.
6) Add more debugging points for memory remaps.
7) Cleanup and style.
Hopefully, this attempt is more POSIX-friendly than my previous one.
2008-02-11 17:30:23 +00:00
robocop
83dc6bde8f Constness 2008-02-02 17:07:37 +00:00
robocop
dc74571185 Use a native, two dimensional array. 2008-02-02 17:06:24 +00:00
dimitr
44be88ad53 Cleanup. singnal_owner() is able to handle the direct call itself. 2008-01-31 13:39:30 +00:00
dimitr
01df1923ec Misc. 2008-01-30 10:34:28 +00:00
dimitr
95e6b3f5f9 More complete temporary rollback to the old logic. We don't need 64-bit owner IDs at this point. 2008-01-30 10:33:53 +00:00
dimitr
132176a475 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:52:51 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
956da93e27 Cleanup. 2008-01-17 13:40:35 +00:00
dimitr
83a070b17a Misc. 2008-01-17 13:10:28 +00:00
alexpeshkoff
bfdf145879 Fixing merge 2008-01-16 13:07:46 +00:00
dimitr
48e81dd58a The merge is being fixed. 2008-01-16 12:22:11 +00:00
dimitr
1dd06bb484 The merge continued. 2008-01-16 07:40:12 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00