8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00
Commit Graph

1166 Commits

Author SHA1 Message Date
Dmitry Yemanov
b20924c339 Simplified Jrd::Trigger a little 2023-11-11 11:45:00 +03:00
Vlad Khorsun
f3f231a0a3 Improvement #7814 : Don't update database-level statistics on every page cache operation. 2023-10-23 20:16:01 +03:00
Adriano dos Santos Fernandes
f8ed006057 Ressurect TriState, replace Nullable<bool> by TriState, remove Nullable. 2023-09-18 20:38:33 -03:00
Adriano dos Santos Fernandes
5d47a0ba7c Replace throw() by noexcept. 2023-09-18 20:27:13 -03:00
Dmitry Yemanov
e276c222aa
Add COMPILE trace events for procedures/functions/triggers (#7466)
* Add COMPILE trace events for procedures/functions/triggers

* Fixed missing elapsed time for COMPILE_TRIGGER events
2023-08-15 12:34:20 +03:00
AlexPeshkoff
aecbdd6c21 Fixed #7626: Segfault when new attachment is done to shutting down database
All checks were successful
continuous-integration/drone/push Build is passing
(cherry picked from commit 6749faa584)
2023-07-06 13:38:47 +03:00
Vlad Khorsun
333be4bfd4 Change error by warning in the case when isc_dpb_parallel_workers value is not at valid range.
gbak's restore now shows warnings after create database.
2023-04-03 16:37:42 +03:00
Vlad Khorsun
7f2609836b Add missed break. 2023-03-03 15:42:10 +02:00
Dmitry Yemanov
d7d16682cf More reliable cleanup for the applier. This should fix replicator crashes after replica shutdown. 2023-02-03 20:16:31 +03:00
Dmitry Yemanov
3faf54812a Merge branch 'master' into ods-upgrade 2023-01-10 18:04:32 +03:00
Dmitry Yemanov
f0382fad9d Commit Vlad's patch (with minor adjustments) for #7385: Broken lock of statements cache during multithreaded index activation 2022-12-20 19:47:35 +03:00
Adriano dos Santos Fernandes
09deb7b96e Fix warning. 2022-11-25 22:06:54 -03:00
Dmitry Yemanov
e1c0747593 Allow different formats of system tables to co-exist in the metadata cache. Some related cleanup. Fixed remaining issues with using the current connection after isc_dpb_upgrade_db processing. 2022-11-25 13:16:05 +03:00
Dmitry Yemanov
baa1dc79be Fixed invalid switch ID. Proper error reporting. Make upgrade revertable in the case of error. 2022-11-25 13:16:05 +03:00
Dmitry Yemanov
f7f98b661d Basic implementation of the ODS upgrade 2022-11-25 13:16:05 +03:00
AlexPeshkoff
3de8a01891 Fixed #7393: Access violation after double fault in attachDatabase(). 2022-11-22 19:28:49 +03:00
Vlad Khorsun
57218a90a7
Merge pull request #7339 from hvlad/PageCache/HashTable_PR
Hash table based on lock-free list for page cache.
2022-11-22 00:00:21 +02:00
AlexPeshkoff
abb314f63a Fixed #7366: setEngineReleaseDelay uses wrong type for the local variable maxLinger 2022-10-28 17:26:07 +03:00
Dmitry Yemanov
89087e0e10 Misc 2022-10-18 20:40:55 +03:00
Vlad Khorsun
82ba27fd5d Hash table based on lock-free list (implemented in libcds). 2022-10-08 20:54:55 +03:00
AlexPeshkoff
24f6d92f45 Fixed hang on CS found by regular testing process
(cherry picked from commit b0b0cdcf6a)
2022-09-26 19:09:23 +03:00
AlexPeshkoff
3fe6a46fa8 This comment not needed any more 2022-09-21 14:41:49 +03:00
AlexPeshkoff
bc2e4dfda0 Posfix for #7304: Events in system attachments (like garbage collector) are not traced, do not attempt to attach database from unwindAttach when it failed before complete DBB initialization 2022-09-20 12:49:57 +03:00
AlexPeshkoff
d8b9282f47 Revert "Fixed #7299: gfix hangs on disconnect when transactions trace active"
This reverts commit dd2c92f068.
2022-09-19 17:10:01 +03:00
AlexPeshkoff
711eb3e02b Fixed #7304: Events in system attachments (like garbage collector) are not traced 2022-09-15 19:46:32 +03:00
GitHub Action
8e33ca97a2 Misc. 2022-09-14 10:23:43 +00:00
AlexPeshkoff
dd2c92f068 Fixed #7299: gfix hangs on disconnect when transactions trace active
(cherry picked from commit 1ffe59ff47)
(cherry picked from commit 24bc8caced)
2022-09-13 17:22:55 +03:00
AlexPeshkoff
aaebdc9375 comment 2022-09-02 18:35:53 +03:00
AlexPeshkoff
c3be5edecb Fixed #7281: Concurrent NBackup crashes server on Linux
(cherry picked from commit c442eb63cf)
2022-09-02 17:22:48 +03:00
Vlad Khorsun
3344263e62 Correct usage of time units in waitForShutdown(). 2022-09-01 10:16:58 +03:00
Adriano dos Santos Fernandes
581795ed78 Merge branch 'work/profiler-plugin' into work/profiler-plugin-merge 2022-08-10 22:26:38 -03:00
AlexPeshkoff
dd1593b67d Fixed issues with shutdown thread, reported by Ilya Eremin privately 2022-07-21 14:47:12 +03:00
Vlad Khorsun
97447ecc01 Restore correct order of trace events when attempt to attach failed.
Ensure there is no double ATTACH or DETACH events for the same connection.
It also should fix FBT test bugs.core_4337.
2022-07-04 18:09:34 +03:00
GitHub Action
c7db6dc207 Misc. 2022-06-30 10:25:44 +00:00
Alexander Peshkov
95759d5b82
Fix for #7147: Problems with use of big timeout (or no timeout at all) in trace service (#7148) 2022-06-22 18:01:29 +03:00
Vlad Khorsun
6325174cfc
Merge pull request #7212 from FirebirdSQL/work/parallel_v5
Work/parallel v5
2022-06-21 11:46:49 +03:00
AlexPeshkoff
34fbf4c71c Postfix for #7165: Provide ability to see in the trace log events related to missing security context; fixed deadlock in CS found with regular tests run 2022-06-20 20:10:39 +03:00
Vlad Khorsun
5edefaba91 Merge branch 'master' into work/parallel_v5 2022-06-17 10:41:29 +03:00
AlexPeshkoff
fda4859a50 Reworked (hopefully became better) fix for #7165: Provide ability to see in the trace log events related to missing security context 2022-06-16 21:32:58 +03:00
AlexPeshkoff
7a3adffde7 Fix for #7165: Provide ability to see in the trace log events related to missing security context 2022-06-15 11:10:30 +03:00
Adriano dos Santos Fernandes
35ba33592f Add procedure SET_FLUSH_INTERVAL.
Add parameter FLUSH_INTERVAL to START_SESSION.
2022-06-06 21:52:00 -03:00
AlexPeshkoff
31807ead87 Fixed #7200: DROP DATABASE lead FB to hang if it is issued while DB encrypting/decrypting is in progress 2022-06-06 19:54:55 +03:00
Adriano dos Santos Fernandes
a0ade0c8f9 Move EngineContextHolder (and AttachmentHolder) to jrd.h. 2022-06-04 15:00:42 -03:00
AlexPeshkoff
4a3649dd9f Fixed #7197: Segfault in linux CS after successful detach from database 2022-06-02 11:25:43 +03:00
Vlad Khorsun
fa90269460 Parallel backup, restore and sweep. 2022-05-31 20:29:36 +03:00
AlexPeshkoff
5d658cfba5 Fixed #7138: Problems accessing database, copied from another host. 2022-05-19 14:31:30 -03:00
Dmitry Yemanov
4c8f31fc73 Merge remote-tracking branch 'origin/master' into cursor-info 2022-04-22 19:29:01 +03:00
Dmitry Yemanov
1a453a4591 Disable the annoying assertion 2022-04-08 17:04:17 +03:00
Ilya Eremin
ddec610a08 Print ON DISCONNECT trigger exceptions (including cancelling) to trace if log_errors = true 2022-04-06 19:44:51 +03:00
Ilya Eremin
040db0e05a Add OnDisconnectTriggerTimeout parameter to firebird.conf 2022-04-06 19:44:51 +03:00