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

53 Commits

Author SHA1 Message Date
hvlad
6a806677fd Front ported:
1. Improvement CORE-4431 : Reduce contention for allocation table lock while database is in stalled physical backup state
2. Improvement CORE-4432 : Let attachments to not block others when allocation table is read first time
3. On Windows, file can not be deleted while system writes cached data into it, even if file is not open by anyone.
Therefore flush delta file implicitly before closing it.
2014-05-16 12:07:08 +00:00
hvlad
1614813c97 Additional fix for bug CORE-2648 : Nbackup's delta file ignored Forced Writes database setting 2013-09-29 09:09:10 +00:00
robocop
b235c00282 Misc. 2012-08-18 08:52:03 +00:00
dimitr
7e3c4075bc Corrected the arguments. Luckily, their binary values are the same. 2012-08-15 15:24:49 +00:00
dimitr
42a4c93b97 1) Removed the no longer actual "parent lock" concept from both the lock and event managers.
2) Reworked the lock manager synchronization: added the RAII mutex holders and avoided dirty reads for the shared memory.
3) Encapsulated lck_length into the Lock class + small related  refactoring.
4) Front ported recent fixes from the v2.x branches.
5) Misc cleanup.
2012-06-21 15:37:38 +00:00
robocop
844b15bd13 Misc and style. 2012-05-20 10:00:52 +00:00
hvlad
ec6c21f244 Fixed bug CORE-3814 : SuperClassic server crashes when performing a database shutdown (FW=OFF) 2012-05-03 14:05:47 +00:00
asfernandes
47489fa71b Misc. 2011-06-26 18:48:00 +00:00
hvlad
d00d66aeef Fixed bug CORE-3535 : Write target of dirty page could be undefined if error happens when nbackup state is changed.
Also prevent overwriting of first page of allocation table by data page contents.
2011-06-24 08:39:34 +00:00
hvlad
045a3d39ec Additional patch for CORE-3521.
When CCH_flush() is called after last disconnect there is no attachment.
2011-06-24 07:55:47 +00:00
hvlad
9f94f41e4e Fixed bug CORE-3521 : Delta file contents is not flushed to disk 2011-06-15 11:43:42 +00:00
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
robocop
06a4224d0b Put class Attachment in its own files by brute force. 2009-12-25 09:55:05 +00:00
robocop
c3b5fb6bea Misc. 2009-09-29 10:17:39 +00:00
hvlad
29174d9bc9 Fixed bug CORE-2646 : After change of physical backup state an engine process writes every page change on disk 2009-09-29 08:13:48 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
robocop
4480c7c405 Misc. 2009-04-01 10:49:54 +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
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
robocop
e44a99f339 Style and minor cleanup. 2008-05-10 03:44:57 +00:00
asfernandes
d75951e8e5 Misc 2008-04-18 01:37:44 +00:00
roman-simakov
a202daf6bb Replaced nbackup dirty pages locking with RAII classes 2008-04-16 08:46:13 +00:00
robocop
5b31f0aca7 const. 2008-03-29 14:01:18 +00:00
alexpeshkoff
a1f3f10493 1. Renamed info parameter.
2. Clearly separated PIP logic and IO, as was requested by Vlad.
2007-11-12 17:24:22 +00:00
alexpeshkoff
0bbb3fd34c Fix for CORE-1581: Support for doing physical backups when database is located on raw device. 2007-11-09 15:47:48 +00:00
alexpeshkoff
edc03201ca Fixed CORE-1537: NBackup creates difference file in bad place 2007-10-26 13:21:16 +00:00
alexpeshkoff
c156b03e14 some more gcc warnings 2007-05-24 12:49:06 +00:00
skidder
20eacb95fa Fix typos in comments 2007-04-24 17:40:42 +00:00
skidder
04b9ec818b NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues 2007-04-24 14:05:46 +00:00
alexpeshkoff
dfef55e991 Fix for CORE-968 - Assertion failure in posix/isc_ipc.cpp 2007-02-22 16:47:39 +00:00
dimitr
5c9c0e58c4 Fixed possibly trashed memory plus small cleanup. 2007-02-08 14:32:07 +00:00
asfernandes
90337587ff Misc 2007-02-08 00:03:36 +00:00
dimitr
f042dc9f8f Fixed CORE-1121. This time the fix itself is separated from the cleanup to make the reviewers happy.
The changes are identical to my previous commit into B2_0_Release.
2007-02-06 07:47:59 +00:00
robocop
471b139173 Misc. 2006-02-23 07:22:52 +00:00
robocop
10cb928ddc More cleanup. 2006-02-23 06:52:25 +00:00
hvlad
9d6b361f69 Eliminate unnecessary JRD_get_thread_data call in nbak.
Checked against B2_0_BV_Stable3 branch
2005-11-21 23:33:20 +00:00
skidder
593fc58ccb Change license for source files which I wrote 2004-06-30 01:45:18 +00:00
brodsom
b485996fa8 Macro cleaning 2004-05-13 23:20:50 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
skidder
abdbec6f84 Switch to Firebird container templates for request resource tracking. This significantly reduces CPU time any memory consumption for databases with complex metadata 2004-04-18 02:50:38 +00:00
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
skidder
1c870a7426 Fix issues in my code spotted by Claudio 2004-03-12 20:19:41 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
robocop
5c3c8abd9a Big cleanup.
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
skidder
2d3d855c9f Make NBACKUP work on Windows 2003-09-13 18:35:39 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00