dimitr
8033131d18
Fixed possible server crash + minor refactoring.
2013-11-17 14:24:17 +00:00
hvlad
88a470d22c
Fixed two more reasons for CORE-4235 : Deadlock is possible while accessing the monitoring tables under concurrent load.
2013-10-19 08:09:51 +00:00
asfernandes
dc99961e8b
Misc.
2013-10-13 23:44:57 +00:00
hvlad
0babf2d372
Lets not return isc_att_shutdown error when some of the attachments in monitoring snapshot are gone while dump was creating
2013-10-02 12:39:19 +00:00
dimitr
c235774864
Attempted to fix CORE-4235: Deadlock is possible while accessing the monitoring tables under concurrent load.
...
Refactored the list of reference counted attachments to be useful in other cases.
Some minor adjustments in the monitoring code.
2013-09-22 16:10:06 +00:00
dimitr
3821ec9d41
Implemented CORE-4218 (database owner in MON$DATABASE) and CORE-4222 (auth method in MON$ATTACHMENTS).
2013-09-18 09:37:13 +00:00
dimitr
ce70c3c980
Misc.
2013-08-26 09:50:23 +00:00
alexpeshkoff
89d2d8bbd3
Fixed assertion in classic mode
2013-08-21 11:56:27 +00:00
dimitr
99b1b17f27
Minor refactoring and support for records longer than 64KB (not really actual, but just in case).
2013-08-21 07:41:39 +00:00
dimitr
ea7423210a
Code simplification.
2013-08-20 06:11:12 +00:00
dimitr
597a562514
Minor optimization.
2013-08-19 18:51:55 +00:00
dimitr
a18788a0cf
Fixed CORE-4176: Monitoring tables return incomplete information in SC/CS configurations.
2013-08-09 15:51:13 +00:00
dimitr
15e4367810
Small refactoring.
2013-03-17 17:35:53 +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
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
9f2a992078
Implemented:
...
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +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
dimitr
baf67f019e
Misc.
2012-06-19 18:28:13 +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
70d5ebdfdf
- Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
...
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +00:00
dimitr
0eb5957c73
Fixed the broken monitoring code.
2012-03-20 10:10:31 +00:00
asfernandes
dd46c387fb
Misc.
2012-03-17 02:26:59 +00:00
dimitr
2ac95b9982
Fixed CORE-3625: MON$IO_STATS doesn't report page writes performed asynchronously (at the AST level).
2012-03-15 09:29:33 +00:00
dimitr
d6c745b83d
Fixed CORE-2286: Selecting from MON$CALL_STACK within a Trigger or SP sometimes return 0 rows.
2012-03-14 15:26:06 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
dimitr
444d5302e1
Refactored the tdbb initialization, especially in AST and BG threads.
...
Replaced dbb_use_count with a list of active requests (to be utilized later).
Misc cleanup.
2011-10-18 18:02:57 +00:00
hvlad
dc4abc05e4
Protect system attachments list with dedicated sync object. It prevents deadlocks with common sync object on process shutdown.
2011-10-02 10:19:06 +00:00
dimitr
c5c557c3ba
Front ported recent commits.
2011-07-22 07:00:09 +00:00
robocop
5ad96271e6
Misc.
2011-06-24 06:34:16 +00:00
hvlad
c9be5c00b8
try\catch to always restore original attachment in tdbb. Noted by Claudio.
2011-06-13 19:02:08 +00:00
dimitr
be635fd1db
Fixed CORE-3508: MON$DATABASE_NAME and MON$ATTACHMENT_NAME fields contain question marks instead of non-ASCII characters regardless of the connection charset.
2011-06-02 14:19:31 +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
d0c2265105
Misc.
2011-05-10 01:12:14 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
dimitr
b1a74121d1
Front ported CORE-3138: Internal error or crash occurs when accessing any MON$ table after altering its structure.
2011-02-15 08:47:51 +00:00
dimitr
86ea2ddb00
Front ported:
...
Refactored the shared counter to support multiple number spaces.
Changed att_id and tra_id to be generated sequentially (without caching), as agreed with Vlad privately.
Fixed CORE-2305: Make mon$statement_id value constant among monitoring snapshots.
2011-02-15 07:16:57 +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
173b23109c
1) Better organization between request and statement. 2) Consts.
2010-08-05 15:55:49 +00:00
dimitr
da183a98ed
Reworked the SEC$USERS implementation so that no new physical table type and data access method would be required. More changes are likely to follow soon.
2010-07-13 12:31:35 +00:00
alexpeshkoff
88db8b2fbc
ODS change: made RDB$USERS system table, added virtual table SEC$USERS
2010-07-09 12:51:05 +00:00
alexpeshkoff
6cbefa1f46
Introduced class SharedMemory - base class for everything, using IPC. Related to CORE-3035.
2010-06-25 11:55:11 +00:00
alexpeshkoff
b6c0bbcd41
frontported fix for CORE-3021: Segfault in DEV_BUILD
2010-06-17 07:34:15 +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
dimitr
9c47abfa96
Correction.
2010-05-21 08:51:41 +00:00