8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-29 06:43:03 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
robocop
2ffa844d2a Misc. 2009-06-08 09:57:29 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
asfernandes
a6d88154ee Misc 2009-03-18 02:43:15 +00:00
roman-simakov
1a4949891b Refactored NBackup subsystem.
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
hvlad
264409467b Misc 2009-02-10 08:59:55 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
alexpeshkoff
e79f55708d 1. Cleanup - use Firebird::Semaphore instead of local events, removed code
related with local events from isc_sync.cpp.

2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().

3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).

4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).

5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
dimitr
07e0133f2b Simplified the dbb_sync handling. This becomes possible because of the prior commit.
With checkouts being allowed for ASTs, the AstInhibit code also becomes redundant.
2008-06-04 13:38:40 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
robocop
e2a56ed383 Misc. 2008-04-16 10:59:21 +00:00
roman-simakov
dda2676ba5 1. Fixed unlocking header page while CCH_release. Thanks to Vlad.
2. Fixed writing page while nbackup merge state is stalled.
3. Fixed using dead dbb in AST handler while somebody is changing cached lock of the GlobalRWLock.
2008-04-16 09:16:45 +00:00
dimitr
ef7ed91670 Misc. 2008-04-01 09:54:51 +00:00
robocop
7096c6a25b const and check. 2008-03-29 14:01:48 +00:00
asfernandes
3aca6f92b1 Misc 2008-03-21 02:42:24 +00:00
dimitr
1f22e3e1c1 1) Added proper handle validation for dbb.
2) Changed dbb_sync lifestyle handling.
3) Sync'ed access to the att_long_locks.
4) Put in a temporary workaround for nbackup deadlocks.
2008-03-20 16:42:29 +00:00
asfernandes
de8771570f Misc 2008-01-29 01:36:41 +00:00
dimitr
43594ed53a Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 13:17:19 +00:00
dimitr
e08c5da397 The merge continued. 2008-01-16 09:07:24 +00:00
asfernandes
89f1e09d69 Misc 2007-11-24 00:12:17 +00:00
alexpeshkoff
a8916780e8 Patch from Roman Simakov for deadlock using GlobalRWLock 2007-11-19 13:30:18 +00:00
robocop
bc5d45e62e The lock_string argument can be const. 2007-09-22 08:34:28 +00:00
alexpeshkoff
adfa8facf7 Use AstInhibit in GlobalRWLock 2007-08-10 13:57:25 +00:00
alexpeshkoff
c156b03e14 some more gcc warnings 2007-05-24 12:49:06 +00:00
aafemt
20022be402 Warnings 2007-05-11 06:44:14 +00:00
robocop
52f1b15e0c Misc. 2007-05-02 06:57:18 +00:00
skidder
20eacb95fa Fix typos in comments 2007-04-24 17:40:42 +00:00
skidder
f4c4f9f493 NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues 2007-04-24 15:44:43 +00:00