Antonio Andelic
e64436fef3
Fix typos with new codespell
2022-09-02 08:54:48 +00:00
Kseniia Sumarokova
ba4dfe8308
Update MaterializedPostgreSQLConsumer.cpp
2022-08-25 00:23:59 +02:00
Kseniia Sumarokova
38c4094f89
Update MaterializedPostgreSQLConsumer.h
2022-08-24 12:25:03 +02:00
Kseniia Sumarokova
de9d254290
Update MaterializedPostgreSQLConsumer.cpp
2022-08-24 12:24:44 +02:00
Kseniia Sumarokova
4486f26d51
Update MaterializedPostgreSQLConsumer.cpp
2022-08-24 12:23:08 +02:00
Maksim Buren
0827e87d45
delete miss log
2022-08-23 14:20:32 +03:00
maks-buren630501
b2b97e53ea
Fix bug whith wrong postgresql answer
2022-08-23 14:13:16 +03:00
Kseniia Sumarokova
4711f57763
Update PostgreSQLReplicationHandler.cpp
2022-08-23 10:43:12 +02:00
Maksim Buren
9e54792359
Troubleshooting racing
...
consumer_task use replication_handler_initialized in thread start in method assertInitialized(), by this sometimes assertInitialized throw error because replication_handler_initialized was still "false".
2022-08-23 09:34:03 +03:00
kssenii
9f1d6814fc
Fix
2022-07-15 18:01:54 +02:00
Alexander Tokmakov
7c37079a96
Merge branch 'master' into deprecate_ordinary_database
2022-06-27 14:46:59 +02:00
kssenii
bc9b56096f
Fix
2022-06-23 21:52:57 +02:00
Alexander Tokmakov
2c5a88faba
deprecate Ordinary database
2022-06-23 10:20:14 +02:00
Nikolai Kochetov
56feef01e7
Move some resources
2022-05-20 19:49:31 +00:00
Robert Schulze
777b5bc15b
Don't let storages inherit from boost::noncopyable
...
... IStorage has deleted copy ctor / assignment already
2022-05-03 09:07:08 +02:00
Robert Schulze
330212e0f4
Remove inherited create() method + disallow copying
...
The original motivation for this commit was that shared_ptr_helper used
std::shared_ptr<>() which does two heap allocations instead of
make_shared<>() which does a single allocation. Turned out that
1. the affected code (--> Storages/) is not on a hot path (rendering the
performance argument moot ...)
2. yet copying Storage objects is potentially dangerous and was
previously allowed.
Hence, this change
- removes shared_ptr_helper and as a result all inherited create() methods,
- instead, Storage objects are now created using make_shared<>() by the
caller (for that to work, many constructors had to be made public), and
- all Storage classes were marked as noncopyable using boost::noncopyable.
In sum, we are (likely) not making things faster but the code becomes
cleaner and harder to misuse.
2022-05-02 08:46:52 +02:00
Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
Robert Schulze
b24ca8de52
Fix various clang-tidy warnings
...
When I tried to add cool new clang-tidy 14 warnings, I noticed that the
current clang-tidy settings already produce a ton of warnings. This
commit addresses many of these. Almost all of them were non-critical,
i.e. C vs. C++ style casts.
2022-04-20 10:29:05 +02:00
kssenii
846faa51d8
Fix bug
2022-04-06 14:35:19 +02:00
kssenii
c4832f7633
Fix
2022-03-28 09:28:02 +02:00
Anton Popov
0ba78c3c3a
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-16 15:28:09 +00:00
Maksim Kita
2fdcf53a76
Fix clang-tidy warnings in Server, Storages folders
2022-03-14 18:17:35 +00:00
Anton Popov
36ec379aeb
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-14 16:28:35 +00:00
Maksim Kita
ad6b3693e1
Merge pull request #35123 from zhanghuajieHIT/fix_build_fail_with_gcc
...
fix build fail with gcc
2022-03-14 10:36:15 +01:00
zhanghuajie
53a8987b3b
fix build fail with gcc --fix warnings without disabling some parameters
2022-03-11 21:59:19 +08:00
Kseniia Sumarokova
3fc399b6e9
Merge pull request #35158 from kssenii/fix-materialized-postgresql
...
Fix materialised postrgesql adding new table after manually removing it
2022-03-10 17:02:32 +01:00
kssenii
1dc3f36a11
Better
2022-03-10 12:19:20 +01:00
kssenii
3cd1da1e11
Fix
2022-03-10 11:11:59 +01:00
kssenii
af9d8d278e
Fix
2022-03-09 19:25:43 +01:00
Anton Popov
df3b07fe7c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-03 22:25:28 +00:00
Maksim Kita
1f5837359e
clang-tidy check performance-noexcept-move-constructor fix
2022-03-02 18:15:27 +00:00
Anton Popov
18940b8637
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-09 23:38:38 +03:00
kssenii
9f2628b8f2
Fix
2022-02-08 16:41:55 +01:00
Anton Popov
836a348a9c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-01 15:23:07 +03:00
Azat Khuzhin
3b3635c6d5
Fix formatting error in logging messages
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:04 +03:00
Maksim Kita
5ef83deaa6
Update sort to pdqsort
2022-01-30 19:49:48 +00:00
Anton Popov
e8ce091e68
Merge remote-tracking branch 'upstream/master' into HEAD
2022-01-21 20:11:18 +03:00
kssenii
1984a80750
Merge remote-tracking branch 'upstream/master' into materialized-postgresql-better-startup
2022-01-09 21:23:49 +03:00
Kseniia Sumarokova
d0a847befc
Merge pull request #33200 from kssenii/fix-materialized-postgresql-ddl-validation
...
materialized postgresql fix ddl validation
2022-01-09 21:12:13 +03:00
kssenii
8f9920dd4d
One more fix
2022-01-09 17:46:33 +03:00
kssenii
6639a93735
Better
2022-01-09 12:16:12 +03:00
kssenii
61f85e9afc
More fixes
2022-01-08 20:44:17 +03:00
kssenii
c94f4163f7
Merge remote-tracking branch 'upstream/master' into fix-materialized-postgresql-ddl-validation
2022-01-08 15:56:46 +03:00
kssenii
adaeb96b6d
Fix
2022-01-08 15:46:22 +03:00
kssenii
64538cf20f
Merge remote-tracking branch 'upstream/master' into materialized-postgresql-better-startup
2022-01-08 00:49:08 +03:00
kssenii
90972e3752
Fix race
2022-01-08 00:27:29 +03:00
Kseniia Sumarokova
5fd952fe1b
Merge branch 'master' into materialized-postgresql-fix-cleanup
2021-12-27 17:25:51 +03:00
kssenii
9f17e7bad0
Fix ddl validation
2021-12-26 20:56:31 +03:00
kssenii
2bcb122cd0
Clean up unused replication slots
2021-12-26 10:15:03 +03:00
kssenii
ef22ebad85
Better startup
2021-12-25 21:30:36 +03:00