hvlad
ca71a54609
Merge branch 'master' into read_consistency
2018-07-16 16:16:22 +03:00
hvlad
f8370c2bc8
Rework fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
2018-06-21 16:19:51 +03:00
hvlad
91b7436451
More strict fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
2018-06-18 13:52:46 +03:00
hvlad
111a04675e
Another fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
2018-06-13 14:50:56 +03:00
hvlad
85272ba789
Replace AtomicPointer by std::atomic
2018-02-20 14:12:25 +02:00
hvlad
315767d8cd
Fixed bug CORE-5720 : Sweep in Firebird 3 in CS mode could run too slow when there is big load on server
2018-01-21 11:52:54 +02:00
Adriano dos Santos Fernandes
bfcc37e7eb
Misc.
2018-01-01 12:38:34 -02:00
hvlad
d5f73f8018
Improvement CORE-5660 : Make flash of big number of dirty pages faster
2017-11-14 16:27:56 +02:00
hvlad
a60b19f881
Fixed bug CORE-5613 : SuperServer could hung when changing physical backup state under high load
2017-09-16 11:23:44 +03:00
hvlad
56b25b544e
This should fix bug CORE-2853 : page 14194, page type 5 lock conversion denied (215)
2017-05-10 12:02:48 +03:00
33f5b0f69e
Better names - suggested by Dmitry and Vlad
2017-01-13 14:56:42 +03:00
d88c5ac3cb
Fixed CORE-5452: Segfault when engine's dynamic library is unloaded right after closing worker threads (GC and/or cache writer)
2017-01-13 14:29:27 +03:00
Adriano dos Santos Fernandes
937cb8dafd
Misc.
2016-10-07 11:09:43 -03:00
Adriano dos Santos Fernandes
19788ff96d
Misc.
2016-10-03 22:33:31 -03:00
hvlad
f38854a3a2
Fixed assertions (BDB_nbak_state_lock is not set for temporary page space)
2016-09-01 00:12:47 +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
hvlad
97aead186a
Avoid hangup in SS when error happens at system attachment initialization time
2016-08-17 15:45:30 +03:00
7ad99b795e
Added support for system privileges
2016-05-31 20:07:08 +03:00
Adriano dos Santos Fernandes
c31769c46a
Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/
2016-05-11 13:16:24 -03:00
Dmitry Yemanov
f2d0b64ba2
Misc adjustments after CORE-5232 and more encapsulation for the Lock
...
class.
2016-05-10 10:44:30 +03:00
James Clarke
0dc0a4b595
Fix locking on big-endian architectures
...
4e4d8002e5
extended locks to have 64-bit
keys in most cases, but some were left as 32-bit. However, code using
these 32-bit locks assumed that the significant bytes of the key's long
value started from lck_string[0], which is false on big-endian
architectures. This commit adds Lock::getKeyString(), which gets a
pointer to the first used byte of lck_string, and should be used in
place of accessing lck_string directly.
2016-05-07 22:09:09 +01:00
asfernandes
6259b1b1e0
Misc.
2016-02-15 02:53:24 +00:00
alexpeshkoff
e7270beacd
Postfix for CORE-5100: avoid races caused by temporary changed bdb_buffer
2016-02-05 15:13:47 +00:00
hvlad
0719958901
Fixed bug CORE-5101 : Backup restore is slow in FB3 when the database contains many small tables with indices
2016-02-04 10:33:02 +00:00
alexpeshkoff
08d4a3ed45
Fixed CORE-5044: Pages are encrypted for each shadow separately
2016-02-01 16:16:42 +00:00
dimitr
99ad42ab82
This should fix the races while accessing the relation statistics inside dbb_stats. Reads/writes/fetches/marks are incremented (CCH) and read (INF) unprotected, as it's crash safe and read skews are acceptable. Other counters (both global and relation wise) are protected with a mutex. They're incremented on demand based on the attachment counters (via diffs). While being there, cleaned up the currently unused performance counters.
2016-01-24 21:14:18 +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
roman-simakov
ce8d458e46
Fixed CORE-4978: Improved validation and fix of lost data pages. Thanks to Vlad for help.
2015-11-26 09:28:31 +00:00
hvlad
a6d615c0cd
Fix one of the reason for AV in the engine (see CORE-4680, test by Pavel Zotov at 18 Nov 2015).
...
The race when gone attachment released database object while another attachment is initialized and uses same database object.
Could happens with shared cache (former SS) only.
2015-11-20 10:17:54 +00:00
dimitr
647bad2d61
Fixed attachment lock usage. Minimized chances for races during database shutdown.
2015-11-04 06:06:26 +00:00
dimitr
4e4d8002e5
CORE-4965: Extend the transaction ID space beyond 2^32 transactions. Initially developed in the v2.5 custom branch, then reworked and now merged into v3.0.
2015-10-19 13:32:02 +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
asfernandes
224025ff7d
Misc.
2015-10-05 01:25:39 +00:00
hvlad
79e9404d50
Fixed bug CORE-4952 : SuperServer could hung on database shutdown
2015-10-03 13:07:17 +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
robocop
939feab036
Misc.
2015-03-13 15:26:22 +00:00
hvlad
79b760b4ac
Memory leak (CORE-4683)
2015-02-16 13:57:28 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
dimitr
11a9b5fc36
Change the status handling a little.
2015-02-11 09:20:51 +00:00
hvlad
a07e2ff547
Frontportred fix for bug CORE-2848 : "lock conversion denied" or "lock denied" error
2015-01-24 11:49:18 +00:00
hvlad
8216554413
Fixed my error at patch for CORE-4565. It was the reason of false "lock denied" errors.
2015-01-21 09:18:18 +00:00
hvlad
f8969d22ca
Improved page cache performance a bit.
...
The case when page buffer is evicted and re-assigned to another page.
2014-10-21 14:53:23 +00:00
alexpeshkoff
1f83c3b1ae
Fixed CORE-4582: Within linger period one can not change some database properties
2014-10-16 11:31:48 +00:00
hvlad
c3a181148a
Fixed bug CORE-4576 : Cache Writer thread could not start
2014-10-10 10:12:23 +00:00
dimitr
7ad1fa43a3
Refactored cache shutdown. This should also fix CORE-4568: Server may crash while disconnecting from the database under load.
2014-10-04 20:10:14 +00:00
hvlad
871830123f
Fixed bug CORE-4565 : GDSCODE can have value = 0 in WHEN-section under some concurrent env., only in SC or CS (not in SS)
2014-10-01 18:17:04 +00:00