Dmitry Yemanov
eef8ef82ca
Make lock key prints a bit more user-friendly
2017-03-17 14:51:28 +03:00
2fdb281759
Backported fix for CORE-5472: Problems with dbcrypt key transfer
2017-03-16 12:17:17 +03:00
40f782ae3e
Backported fix for 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:54 +03:00
hvlad
52d9a05a0f
Backport from master:
...
Optimized hash function for lock manager and hash join
Notes:
- lock print extension is not backported
- Alex, please review linux build. I did not include changes in builds/posix/make.rules here as i'm not sure it is required
2016-12-30 02:11:24 +02:00
hvlad
1abb10f36d
Please MSVC14:
...
-add space before XXXFORMAT macros to not confuse it with user-defined literals
-use existing snprintf
This should fix part of the issues at CORE-5099 and CORE-5120
2016-03-17 23:55:20 +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
dimitr
dd738c7f80
Reverted back to the single-pass algorithm used in v2.x. This should work around the issue with non-zero-timeout shutdown in SC.
2016-01-24 21:02:31 +00:00
dimitr
139513291c
Misc.
2015-12-01 12:24:05 +00:00
dimitr
bf7951b259
Second round of my checkout/rescheduling changes.
2015-12-01 12:23:43 +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
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
alexpeshkoff
e420019cd4
Fixed CORE-4871: Merge SharedDatabase/SharedCache into single parameter ServerMode, affecting the way how server is started
2015-07-10 13:41:10 +00:00
alexpeshkoff
1b6632ac8b
Fixed CORE-4811: Make user names behave according to SQL identifiers rules
2015-06-03 13:57:18 +00:00
asfernandes
d685754794
Revert "Remove duplicate lck enums." - broke Windows build as per Dmitry.
2015-04-12 21:05:26 +00:00
asfernandes
cc2ce9df3a
Remove duplicate lck enums.
2015-04-08 15:12:38 +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
e7663b6bc0
Use status interface instead plain status vector when working with exceptions.
...
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
alexpeshkoff
dcc5dfbba9
cleanup
2015-01-27 10:21:36 +00:00
hvlad
a0cee158a0
Make shared memory header same size independent on OS.
...
Introduce shared memory header version.
2015-01-22 10:35:57 +00:00
alexpeshkoff
c14a1210b0
Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec()
2014-12-17 14:31:02 +00:00
dimitr
aa2711626f
Fixed CORE-4631: Lock manager "out of room" error hides the real cause of this problem.
2014-12-02 20:14:37 +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
dimitr
3722fedb4b
Misc.
2014-08-10 15:14:27 +00:00
alexpeshkoff
e4b3587188
comment
2014-08-04 08:13:24 +00:00
alexpeshkoff
d8304742c2
Fixed Darwin port
2014-08-04 08:02:56 +00:00
dimitr
b71d4417e7
Follow-up.
2014-07-29 05:51:56 +00:00
dimitr
cb90a3ac5e
Trivial fix for CORE-4500: Firebird crashes after unsuccessful remapping of the lock table's shared memory.
2014-07-29 05:50:16 +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
e2e901939c
Fix GCC warnings
2014-07-17 21:17:15 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
robocop
66af445e2e
Misc.
2014-03-22 20:51:24 +00:00
dimitr
601a50af29
Changed the code to be better understandable (PVS-Studio).
2014-02-22 18:34:08 +00:00
alexpeshkoff
d6297bebd4
Fixed some gcc warnings
2013-11-19 13:19:11 +00:00
alexpeshkoff
83db69c849
Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type.
2013-11-18 12:20:23 +00:00
dimitr
2a21263d7d
Warnings.
2013-08-19 15:46:34 +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
dimitr
bc1edae943
Added the initialization timestamp to shmem regions. Modified the lock print output to report this timestamp. This is useful to know as all the counters inside the lock table are incremental and a baseline is required to make any time-based estimations.
2012-12-06 08:13:45 +00:00
asfernandes
6a0a6f2d13
Misc.
2012-11-05 01:14:04 +00:00
alexpeshkoff
57e5936d44
Avoid use of namespace Jrd in common file isc_sync
2012-11-02 16:27:12 +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
robocop
f601bbdb8b
Misc.
2012-08-08 02:20:30 +00:00
asfernandes
a9324d3733
Misc.
2012-07-19 01:52:38 +00:00
hvlad
ea123ce328
Fixed AV in LM after remapping of shared memory
2012-07-14 21:26:14 +00:00
hvlad
cbcbdeb1f6
Improvement CORE-3879 : Make fb_lock_print a bit more handy
2012-06-28 07:49:14 +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