hvlad
df109c3bd8
Bug CORE-5707 : Begin and end of physical backup in the same transaction could crash engine
...
Crash fixed.
2018-01-21 11:48:29 +02:00
hvlad
953c753588
Improvement CORE-5614 : Physical backup merge stage could run too long, especially with huge page cache
2017-09-16 11:24:34 +03:00
Adriano dos Santos Fernandes
e5b1a902c7
Misc.
2016-08-23 22:23:33 -03:00
hvlad
61a7560fe6
Reworked nbackup state lock handling to avoid performance penalty on every fetch
2016-08-17 16:44:33 +03:00
f06a8c30a9
Code cleanup
2016-07-15 18:46:44 +03:00
Dmitry Starodubov
6347882209
Simplified passing variables to sub-make. Move functions from "fb_io" namespace to "os_utils" ( #30 )
2016-05-30 17:50:02 +03:00
Dmitry Starodubov
c3722be6de
Added LSB compliance ( #28 )
2016-05-25 15:14:01 +03:00
hvlad
50c23d16ed
Let nbackup skip another tags on header page and limit search by page boundaries
2016-03-22 20:11:17 +02:00
alexpeshkoff
926e3d903e
Fixed some asserts and segfaults in crypto manager
...
Disable simultaneous nbackup & encrypt/decrypt operation
2016-02-26 12:55:34 +00:00
asfernandes
6259b1b1e0
Misc.
2016-02-15 02:53:24 +00:00
alexpeshkoff
08d4a3ed45
Fixed CORE-5044: Pages are encrypted for each shadow separately
2016-02-01 16:16:42 +00:00
alexpeshkoff
0891bc723d
Fixed CORE-5041: Database may get corrupted after ALTER DATABASE ENCRYPT/DECRYPT issued multiple times per database open time
2015-12-10 16:58:58 +00:00
dimitr
dc7aad88ed
1) Slightly refactored recheduling and checkout logic.
...
2) Re-enabled checkouts in PIO routines, this resolves CORE-4179. Windows build may be broken, please validate.
3) Implemented faster reaction on asynchronous cancellation/shutdown requests.
4) Avoided locking dbb_sync in AST. This change also solves races during massive attachment shutdown.
2015-11-29 15:12:31 +00:00
alexpeshkoff
139331c7e3
Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
...
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
dimitr
02120b05d1
Put some order to the page size macros and their usage. Changed the default page size to 8KB.
2015-09-01 07:24:10 +00:00
asfernandes
336456d140
Misc.
2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d
Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry
2015-03-27 17:51:19 +00:00
alexpeshkoff
6c5f9b77fe
Cleanup - avoid automatic type conversion in FbLocalStatus as suggested by Claudio
2015-03-23 11:06:51 +00:00
alexpeshkoff
c4c9daf132
Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods.
2015-03-20 18:02:30 +00:00
alexpeshkoff
f5645faaa0
Fixed windows build
2014-09-30 14:21:44 +00:00
asfernandes
6a864ad949
Misc.
2014-09-07 19:37:00 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
asfernandes
08f3a00cb0
Misc.
2014-06-20 02:28:22 +00:00
hvlad
1d18b9cefc
Front ported:
...
fix for bug CORE-4444 : Engine could hung and block all attachments in out of disk space condition during physical backup,
improvement CORE-4445 : Extend main database file faster when physical backup state changed from stalled to merge
2014-06-10 11:33:59 +00:00
robocop
6728c37dbf
Misc.
2014-05-24 08:12:34 +00:00
asfernandes
bb735cb5a2
Misc.
2014-05-23 02:12:56 +00:00
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
alexpeshkoff
82f1524800
Fixed some more warnings
2013-11-18 14:56:14 +00:00
dimitr
fe23598a23
Separated shutdown (mostly for locks) from destruction.
2013-11-13 07:44:50 +00:00
dimitr
0355720670
We're quite lucky this implicit conversion worked correctly. Fixed.
2013-11-12 16:56:05 +00:00
asfernandes
dc99961e8b
Misc.
2013-10-13 23:44:57 +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
alexpeshkoff
c7454a49a5
Work in progress (committed due to SF upgrade). Checked only on SS.
...
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
alexpeshkoff
4ca6e669fe
1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
...
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
dimitr
61baa568c2
Fixed the refactoring error spotted by Claudio.
2012-08-08 03:31:59 +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
alexpeshkoff
9af385d031
Some changes in CryptoManager, discussed with Vlad and Adriano
2012-06-05 10:06:31 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +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
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
alexpeshkoff
12cf01d608
Cleanup unneeded parameter (was used in nbackup, where PIO is replaced with OS function calls)
2012-02-28 11:08:30 +00:00
asfernandes
1bb24e6c08
Fixed CORE-3238 - Makes GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC.
2011-12-20 14:30:41 +00:00
asfernandes
80f022faef
Warnings.
2011-07-16 20:15:53 +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
9f94f41e4e
Fixed bug CORE-3521 : Delta file contents is not flushed to disk
2011-06-15 11:43:42 +00:00