robocop
ae4c8c2f2e
Style.
2008-12-25 06:30:01 +00:00
dimitr
2208b35814
Fixed the regression for CORE-1926 reported by Philippe.
2008-12-24 13:34:12 +00:00
robocop
95292d1731
Style.
2008-12-20 08:12:19 +00:00
dimitr
78037bfe40
Fix for big-endian machines, it follows Alex's set of fixes.
2008-12-19 14:58:16 +00:00
dimitr
2b87e94242
Use explicit iterators instead of the implicit (built-in) ones due to the thread-safety requirements.
...
This change affects GenericMap only, as it's used globally in a few places and we have a proven crash there.
I have a more complete solution (total cleanup of default accessors from BePlusTree and SparseBitmap) in my local tree (thanks to Dmitry Kovalenko), but it's incomplete (requires more changes inside the engine) and IMHO risky (~20 core modules are affected), so I'd like to defer finalization of this cleanup till v3.0.
All objects of these types seem being protected by dbb_sync, so they shouldn't cause us any problems currently.
2008-12-19 14:57:01 +00:00
asfernandes
d03b6ede7f
Misc
2008-12-18 01:24:58 +00:00
dimitr
cbae058950
Sync with B2_1_Release.
2008-12-17 12:08:52 +00:00
dimitr
6ca82e4754
Misc.
2008-12-16 11:02:25 +00:00
robocop
7076ca77c6
Correction to my own code.
2008-12-15 06:11:49 +00:00
robocop
183cc9e0df
Make the common code a new member function.
2008-12-14 08:55:39 +00:00
asfernandes
6f4886b9cf
Fix syntax error
2008-12-13 17:46:05 +00:00
robocop
38bd660bb2
Style, assertions and some minor fixed. To be reviewed by Dmitry.
2008-12-13 09:19:55 +00:00
dimitr
40d041d628
Fixed the issue reported by Philippe. To be backported after more testing.
2008-12-12 16:04:57 +00:00
dimitr
25dc79dce2
Fixed CORE-2209: Very slow procesing of the monitoring requests under high load and blocking other activity during that time.
...
The new code is expected to work 100-200 times faster. To be field-tested.
Implemented CORE-2233: Allow non-SYSDBA users to monitor not only their current attachment but other their attachments as well.
Sorry for mixing two fixes inside a single commit, but they're somewhat related.
2008-12-11 11:58:50 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
dimitr
9cbe1287c7
Better diagnostics in firebird.log.
2008-12-04 10:44:16 +00:00
dimitr
be26f125ad
Misc.
2008-11-15 09:31:06 +00:00
asfernandes
c51af68ff9
Misc
2008-11-09 22:42:11 +00:00
dimitr
091d7d75ed
Fixed CORE-2171: Column MON$CALLER_ID of table MON$CALL_STACK reports invalid ID.
2008-11-06 17:09:02 +00:00
dimitr
c4c496b79c
Fixed CORE-2017: I/O statistics for stored procedures is not accounted in monitoring tables.
...
This patch adds lazy statistics increments to the whole request call stack.
2008-11-06 16:04:20 +00:00
dimitr
eb9ad2aa1b
Implemented CORE-1583: Enhance MON$STATEMENTS / MON$STATE to represent real CPU consumption.
2008-08-25 06:58:35 +00:00
dimitr
609f466ad3
1) Fixed the layering, as dbb_lock shouldn't belong to PIO.
...
2) Passed tdbb to some engine routines that were dealing with TLS.
3) Got rid of fil_length and some minor cleanup.
2008-07-09 08:40:31 +00:00
robocop
915783bf8e
Misc:
...
Updating legacy message
Adding a message
Fixing some typos
2008-07-06 10:56:34 +00:00
alexpeshkoff
5ac5869661
CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come.
2008-07-03 12:02:54 +00:00
robocop
8a77b30645
Cleanup: get rid of useless third param in ISC_unmap_file
2008-06-26 11:23:40 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
alexpeshkoff
99f17b4d00
1. Frontported fix for CORE-1944: Monitoring tables contain wrong data
...
2. Added new methods to Clumplet classes - date, time and floating point support.
3. Avoid endianess #ifdef's in Clumplet classes.
2008-06-24 13:07:12 +00:00
dimitr
2279fde6e7
Fixed CORE-1926: MON$DATABASE returns outdated transaction counters.
2008-06-07 11:37:39 +00:00
dimitr
e02469bd1b
Fixed CORE-1890.
2008-05-08 11:26:31 +00:00
dimitr
d55e7eb6b3
Fixed CORE-1881.
2008-05-06 09:06:04 +00:00
dimitr
0a9e8c8382
Implemented CORE-1751. The changes include:
...
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
robocop
83d3ddd6cb
Replace custom code by helper class ThreadStatusGuard.
2008-04-26 10:29:52 +00:00
dimitr
a355c60d02
1) Implemented CORE-793. More work is required to terminate idle CS processes, this will be done the next week.
...
2) Fixed the "lock conflict" error for the CS monitoring in v2.5.
2008-04-23 08:00:27 +00:00
robocop
61662f5b5b
Constness and style.
2008-04-19 09:42:01 +00:00
asfernandes
d75951e8e5
Misc
2008-04-18 01:37:44 +00:00
roman-simakov
a202daf6bb
Replaced nbackup dirty pages locking with RAII classes
2008-04-16 08:46:13 +00:00
dimitr
7e518ced60
Make sure that ODS is handled properly.
2008-03-26 14:04:04 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
dimitr
253765389a
Done CORE-1750.
2008-02-20 13:13:22 +00:00
dimitr
38ba8d34c8
Fixed CORE-1729.
2008-02-06 13:47:08 +00:00
dimitr
132176a475
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:52:51 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
db7d3ecd4c
The merge continued.
2008-01-16 08:31:31 +00:00
dimitr
48ec3bd270
1) Make the class members more readable.
...
2) Add two methods: release() and reset() (accordingly to the ISO/IEC 14882 standard re. auto_ptr).
3) Utilize release() in DatabaseSnapshot.
2007-12-17 13:49:29 +00:00
asfernandes
aedbe5f2b1
Fix GCC build
2007-12-11 01:16:25 +00:00
dimitr
d29ab14143
Fixed CORE-1642 and some const'ness.
2007-12-10 06:31:04 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
dimitr
8ffc12be9d
Fixed CORE-1567.
2007-11-06 09:45:47 +00:00
dimitr
25097215b0
Added MON$STAT_GROUP into the statistics tables.
...
This allows to join backwards from a particular statistics record.
2007-09-28 12:59:14 +00:00
dimitr
d904787c92
Misc.
2007-09-15 06:02:52 +00:00