dimitr
b100b395eb
Being a little bit more paranoid doesn't hurt.
2011-09-22 18:15:21 +00:00
asfernandes
26392cae53
Misc.
2011-09-22 01:40:38 +00:00
dimitr
031339406c
Methinks it's more correct from the scoping POV.
2011-09-21 17:49:49 +00:00
dimitr
17f39f77f9
Slightly reworked the cache writer thread:
...
- it doesn't make sense to return -1, as the result is void* with PTHREADS
- a single try-catch block looks better
- cross-helping between GC and CW/CR threads is agreed to be a bad idea
2011-09-21 07:45:09 +00:00
hvlad
82fc475600
Missed lock
2011-06-24 08:44:33 +00:00
robocop
5ad96271e6
Misc.
2011-06-24 06:34:16 +00:00
hvlad
b202c0573a
Try to correctly handle IO errors in cache and avoid some internal deadlocks.
2011-06-15 12:44:44 +00:00
hvlad
757ac2923c
Additional fix for correct Nbackup state lock accounting. See also CORE-3465
2011-06-15 11:59:28 +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
81cec16f83
Fixed leak of SysAttachment instance. Noted by Claudio.
2011-06-13 11:09:19 +00:00
hvlad
00af466e84
Fixed mistake noted by Claudio
2011-06-03 08:25:04 +00:00
asfernandes
2c9dd7e1ff
Misc.
2011-05-28 02:05:45 +00:00
hvlad
99c9c8e2db
Enabled background threads (garbage collector and cache writer).
...
Introduced special kind of system attachments used in this threads and show its activity in monitoring.
2011-05-27 07:57:16 +00:00
asfernandes
7b72429210
Misc.
2011-05-13 01:15:18 +00:00
asfernandes
3800177568
Misc.
2011-05-12 00:42:40 +00:00
asfernandes
d0c2265105
Misc.
2011-05-10 01:12:14 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
asfernandes
7915153e51
Misc.
2011-05-07 19:33:46 +00:00
hvlad
d57814996f
Fixed bug CORE-3466 : Some changes could be lost during the merge of delta file into main database file.
...
Removed BDB_merge flag and related code.
2011-05-05 18:11:22 +00:00
hvlad
5bbff34ac1
FiFixed bug CORE-3465 : Nbackup state lock could be not released after cache error. It results in "Can't lock state for write" bugcheck when backup state is going to be changed.
2011-05-05 17:40:54 +00:00
hvlad
dc30e39fd7
Fixed bug CORE-3464.
...
Correct error reporting - bugcheck's 215 and 216 was confused with each other.
2011-05-05 14:33:50 +00:00
asfernandes
0193d90f6c
Fix definition and usages of fb_assert.
2011-02-26 16:03:36 +00:00
hvlad
aa77d27743
Fixed problem with GTT's reported by Adriano in fb-devel
2011-02-14 08:47:09 +00:00
dimitr
d5b24b77fb
Removed the supposedly wrong checkout (it was added in v2.0), as theoretically it can lead to race conditions in the page cache.
2011-02-03 08:01:22 +00:00
dimitr
e3831d1061
Fixed the cache logic (manifested itself as infinite loops) after Alex's SLONG->ULONG changes for page numbers. There's still room for further changes. While being there, performed some related cleanup.
2011-02-02 17:47:11 +00:00
asfernandes
ffb28dfc3d
Misc
2011-01-22 17:15:52 +00:00
alexpeshkoff
f89ac854ef
Getting ready to use 32 (not 31) page and transaction numbers
2011-01-21 17:55:04 +00:00
asfernandes
5c7e5ce634
Misc
2010-10-22 01:24:31 +00:00
hvlad
f223086fdd
Corrections for new build system. Work in progress...
2010-10-18 17:23:36 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
83d6a2f88c
Restored a lot of changes, rolled back by me unintentionally
2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
robocop
98a2c6822d
Warnings.
2010-09-24 09:53:51 +00:00
asfernandes
3940feef1f
Port from CVS Vlad's fixes for CORE-3015, CORE-3016 and CORE-3017
2010-06-05 00:48:06 +00:00
asfernandes
0762519962
Misc
2010-04-09 00:53:31 +00:00
dimitr
e0179c672d
Cleanup. Let's finally use a single (and standard) behavior of the allocator.
2010-04-08 09:35:39 +00:00
asfernandes
f9154aca75
Misc
2010-04-07 02:04:22 +00:00
asfernandes
e1ba33a2ae
Fix problem of the system transaction storing pointer to random or already deallocated attachment. Full build (or kind of) required.
2010-04-02 21:48:15 +00:00
dimitr
e5a732d782
Cleanup the dead code remaining from the legacy scrollable cursors feature.
2010-03-16 06:21:28 +00:00
alexpeshkoff
e5017f1a12
Extend format of firebird configuration file with a set of additional parameters for any parameter.
...
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
alexpeshkoff
255f088785
Frontported fix for CORE-2842: Timeout with latchs in CCH does not work
2010-02-04 15:28:33 +00:00
hvlad
bf7464bc69
Cleanup : remove tree of dirty pages in favor of list based implementation.
2010-01-06 17:38:54 +00:00
hvlad
a2af0c8e9e
ODS change : implemented SCN inventory pages to make diffrential backup faster not reading pages which was not changed since previous backup.
...
Corresponding nbackup and validation code changes also done.
PAG code refactored a bit.
2009-12-20 23:13:01 +00:00
hvlad
19f5a8b76e
Misc
2009-12-14 11:41:47 +00:00
dimitr
c9fd9c5732
Cleanup.
2009-12-14 11:33:13 +00:00
hvlad
559494bfd3
A couple of ODS changes :
...
- abandon page checksums and use page number for validation
- PIP have now pip_used field to track number of allocated pages
- two more flag bits per data page is now reserved on pointer page. One is for the swept flag and second is still not used but makes calculations easy
- misc changes
Don't forget to rebuild your DBs !
2009-12-14 09:46:16 +00:00
robocop
00c5d74904
Cleanup.
2009-12-13 13:49:43 +00:00
robocop
d5fc87e0d2
Make checksum deterministic in all platforms (it was already in Windows and UNIX).
2009-11-29 07:09:41 +00:00
robocop
409ab220b0
- Eliminate the LOG page.
...
- Eliminate the useless bumped transaction
- Close the gaps in flags related to indices (btr_* in ods.h)
- Close the gaps in header page clumplets types (HDR_* in ods.h)
- Close the gaps in header page flags (hdr_* in ods.h)
Please do a full rebuild.
2009-11-28 08:04:04 +00:00
robocop
6b58626584
Cleanup.
2009-11-27 06:57:17 +00:00