Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
serxa
7e220182eb
better
2023-11-03 16:41:32 +00:00
serxa
a2f8f6bf29
working on review comments
2023-09-07 13:21:43 +00:00
Sergei Trifonov
e4ae2ece7c
Merge branch 'master' into async-loader-integration
2023-08-01 13:04:11 +02:00
Azat Khuzhin
8013cb1f78
Remove skip_startup_tables from IDatabase::loadStoredObjects()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-23 08:47:50 +02:00
serxa
4dd026e1ef
do not use table uuid in TablesLoader
2023-06-05 20:12:30 +00:00
serxa
87a16d852f
fix tidy build
2023-05-23 17:07:30 +00:00
serxa
a9db6bd830
refactoring
2023-05-23 17:04:40 +00:00
serxa
9bf5292415
refact
2023-05-12 19:49:47 +00:00
serxa
a7f514e66e
fix startup of database w/o tables
2023-05-11 09:09:32 +00:00
serxa
3327c0fa1e
fix style, get rid of DatabaseOrdinaryThreads* metrics
2023-05-03 19:00:58 +00:00
serxa
6eda6e8585
implement async loading interface in database engines
2023-05-02 09:18:50 +00:00
serxa
0f6ff8d381
fix link error
2023-05-01 12:39:17 +00:00
serxa
abaf73268b
integrate with Server and TablesLoader
2023-05-01 11:56:00 +00:00
serxa
37ee4db421
working on async loading in TablesLoader
2023-04-27 14:51:24 +00:00
serxa
879a6e0405
fix build
2023-04-26 18:34:01 +00:00
serxa
3546699c95
wip async tables loading
2023-04-26 18:25:39 +00:00
Robert Schulze
7a21d5888c
Remove -Wshadow suppression which leaked into global namespace
2023-04-13 08:46:40 +00:00
Azat Khuzhin
f38a7aeabe
ThreadPool metrics introspection
...
There are lots of thread pools and simple local-vs-global is not enough
already, it is good to know which one in particular uses threads.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 10:46:59 +02:00
Vitaly Baranov
4869d3806c
Add setting check_referential_table_dependencies to check referential dependencies on DROP TABLE.
2023-02-08 23:56:59 +01:00
Vitaly Baranov
e1f7f04752
Referential dependencies for RESTORE ( #43834 )
...
* Rename DDLDependencyVisitor -> DDLLoadingDependencyVisitor.
* Move building a loading graph to TablesLoader.
* Implement referential dependencies for tables and use them
when restoring tables from a backup.
* Remove StorageID::operator < (because of its inconsistency with ==).
* Add new tests.
* Fix test.
* Fix memory leak.
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2022-12-02 15:05:46 +01:00
Alexander Tokmakov
6e77155dc8
fix
2022-07-20 23:11:35 +02:00
alesapin
62e7a89f26
Proper fix for ipv4/ipv6 conversion error
2022-06-29 17:53:08 +02:00
Alexander Tokmakov
dc1f596326
fix
2022-06-22 00:50:16 +02:00
Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
Alexander Tokmakov
7797a72907
fix false-positive ciclyc dependency with XML dict
2021-12-06 16:35:43 +03:00
tavplubix
7a43a87f5b
Use shard and replica name from Replicated
database arguments ( #31488 )
...
* fix another issue
* use shard and replica name from Replicated database
* fix
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-23 12:41:54 +03:00
Alexander Tokmakov
2b566c5bdf
basic check for dependencies on drop table
2021-11-01 22:20:18 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Alexander Tokmakov
df56e99b87
fixes after review
2021-09-13 22:11:16 +03:00
Alexander Tokmakov
666a3aee99
add another test
2021-09-02 16:34:46 +03:00
Alexander Tokmakov
024a24aaf7
better code, moar logging
2021-09-02 12:19:37 +03:00
Alexander Tokmakov
c8d8f0a38c
fix
2021-08-31 15:07:00 +03:00
Alexander Tokmakov
b387f05d9c
resolve table dependencies on metadata loading
2021-08-30 22:29:22 +03:00