Kseniia Sumarokova
09c9dd489b
Update StorageRabbitMQ.cpp
2021-09-01 13:28:34 +03:00
kssenii
335b6f12fd
Fix
2021-08-30 20:59:03 +03:00
Vitaly Baranov
ff1fad8521
Use setSetting() with implicit conversion true/false -> Field.
2021-08-23 08:57:00 +03:00
Nikolai Kochetov
61d8f880cd
Rename some files.
2021-07-26 19:48:25 +03:00
Nikolai Kochetov
2dc5c89b66
Update Storage::write
2021-07-23 17:25:35 +03:00
alexey-milovidov
3bcef76a9d
Merge pull request #26529 from kssenii/fixing-rabbitmq
...
Fix rabbitmq shutdown in case rabbitmq setup was not started
2021-07-20 16:41:25 +03:00
kssenii
63c05e6e14
Fix rabbitmq shutdown in case rabbitmq setup was not started
2021-07-19 21:06:10 +00:00
Alexey Milovidov
261a220227
Remove some code
2021-07-17 21:06:46 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
kssenii
53ce22ae65
Exponencial backoff if queues are empty
2021-05-22 09:44:57 +00:00
kssenii
e524d11222
Remove setting
2021-05-16 20:16:10 +00:00
kssenii
55c573f920
Fix
2021-05-14 07:11:32 +00:00
kssenii
7115045317
Tiny changes
2021-05-13 09:39:57 +00:00
kssenii
0cb0bd48f7
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbitmq-fixes
2021-05-13 06:36:51 +00:00
Alexey Milovidov
e23a0d8f7e
Fix warnings by PVS-Studio
2021-05-08 23:57:08 +03:00
Alexey Milovidov
367f7fe6c9
Fix warnings by PVS-Studio
2021-05-08 23:57:08 +03:00
Alexey Milovidov
ad88819ee4
Fix a bunch of warnings from PVS-Studio
2021-05-08 19:13:10 +03:00
Azat Khuzhin
c18ed16699
Make StorageRabbitMQ.cpp self compilable (missing AbstractConfiguration.h)
2021-05-06 09:07:58 +03:00
kssenii
0b6fb7660b
Fix checks
2021-05-05 09:15:56 +00:00
kssenii
973ee4e9c4
Remove strange code, some fixes
2021-05-04 20:24:57 +00:00
kssenii
2112521304
Allow all RabbitMQ setup to be done only by user
2021-05-04 19:54:16 +00:00
kssenii
a3feaa48f4
Allow user to define specific queue settings
2021-05-04 18:57:49 +00:00
kssenii
13ba5287e3
Add cleanup in case of drop table
2021-05-04 16:26:47 +00:00
kssenii
4aad69dc90
Better commnets
2021-05-04 13:03:53 +00:00
kssenii
2e6c753add
Allow separate vhost for each table
2021-04-21 15:51:05 +00:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Maksim Kita
f077a25a7a
StorageRabbitMQ added UVLoop
2021-02-25 17:02:34 +03:00
Kseniia Sumarokova
20ff183549
Merge branch 'master' into rabbit-format-settings
2021-02-17 19:01:53 +03:00
kssenii
29362bb483
Support vhost
2021-02-16 22:05:14 +00:00
kssenii
2a887b9772
Add missing format factory settings
2021-02-15 22:06:10 +00:00
Azat Khuzhin
acde56ff8a
Add separate pool for message brokers (RabbitMQ and Kafka)
...
background_message_broker_schedule_pool_size was introduced in #13939 ,
but never used actually, use it for RabbitMQ and Kafka.
2021-01-27 21:08:41 +03:00
Azat Khuzhin
5b3ab48861
More forward declaration for generic headers
...
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)
And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)
Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).
Approx results (How much units will be recompiled after changing file X?):
- ConnectionTimeouts.h
- mainline: 100
- Context.h:
- mainline: ~800
- patched: 415
- Settings.h:
- mainline: 900-1K
- patched: 440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
kssenii
8f1ed36897
Fix races
2020-12-06 00:24:49 +00:00
kssenii
448463ebe0
Better
2020-12-04 14:50:42 +00:00
kssenii
f16d6a4128
Better
2020-12-03 14:11:35 +00:00
kssenii
ebab21178e
Fix, add test
2020-12-02 18:45:30 +00:00
kssenii
8d3a538629
Better startup
2020-12-02 01:17:50 +00:00
alesapin
7e014967db
Less broken ugly hack
2020-11-25 00:07:56 +03:00
alesapin
b28fc3d4f6
Ugly fix for dangling reference
2020-11-24 19:24:36 +03:00
Amos Bird
1d9d586e20
Make global_context consistent.
2020-11-20 18:23:14 +08:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
alexey-milovidov
f4ba5f1f9a
Merge pull request #16772 from ClickHouse/fix-stringstream
...
Fix "server failed to start" error
2020-11-08 14:27:08 +03:00
Alexey Milovidov
5314185e25
Merge branch 'master' into azat-optimize_skip_unused_shards-optimization
2020-11-08 00:17:59 +03:00
Alexey Milovidov
fd84d16387
Fix "server failed to start" error
2020-11-07 03:14:53 +03:00
alesapin
617e42ddb4
Merge branch 'master' into rabbit-optimize
2020-10-28 10:24:05 +03:00
kssenii
4b59882c30
Remove redundant, add virt col
2020-10-27 20:34:31 +00:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
kssenii
db03cd7dd7
Much more optimal queues setup
2020-10-27 11:00:01 +00:00
kssenii
7beddceadd
Fix bug that caused awful CPU usage
2020-10-27 10:02:27 +00:00
kssenii
cd0dbcb9d8
Minimize event loop lifetime
2020-10-27 10:01:39 +00:00