Vitaly Baranov
ff1fad8521
Use setSetting() with implicit conversion true/false -> Field.
2021-08-23 08:57:00 +03:00
Azat Khuzhin
b60e5ac801
Fix incorrect assertion during writing to StorageRabbitMQ
2021-08-20 07:14:20 +03:00
Anton Popov
3a0d4807a5
Merge branch 'async-insert' of git://github.com/abyss7/ClickHouse into merging-20557
2021-08-06 16:20:02 +03:00
Anton Popov
e36736b50c
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-08-02 22:52:02 +03:00
kssenii
c6ee94db2e
Fix
2021-07-28 08:11:10 +00:00
Nikolai Kochetov
61d8f880cd
Rename some files.
2021-07-26 19:48:25 +03:00
Nikolai Kochetov
0eb563dc1b
Fix more tests.
2021-07-26 17:47:29 +03:00
Nikolai Kochetov
2dc5c89b66
Update Storage::write
2021-07-23 17:25:35 +03:00
Anton Popov
f99374cca6
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-07-20 18:20:21 +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
Anton Popov
3ed7f5a6cc
dynamic subcolumns: add snapshot for storage
2021-07-09 06:15:41 +03:00
Anton Popov
072e65b728
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-07-07 17:20:38 +03:00
Ivan Lezhankin
37365589ed
Merge branch 'master' into async-insert
2021-06-17 16:57:45 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Ivan Lezhankin
774107738c
Fix build
2021-06-02 19:52:33 +03:00
Ivan Lezhankin
791cbcf0b1
Merge remote-tracking branch 'upstream/master' into async-insert
2021-06-02 18:50:37 +03:00
Ivan Lezhankin
84c23dc060
Merge branch 'master' into async-insert
2021-06-02 18:06:21 +03:00
Anton Popov
9f52362b81
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-05-31 23:08:45 +03:00
Nikolai Kochetov
afc1fe7f3d
Make ContextPtr const by default.
2021-05-31 17:49:02 +03:00
Anton Popov
0bdf9d207c
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-05-26 00:25:47 +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
Alexey Milovidov
3025f9e141
More fixes for PVS-Studio
2021-05-08 19:12:49 +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
Anton Popov
e44706911e
dynamic columns: better getting of sample block
2021-05-05 02:02:54 +03: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 Lezhankin
ee194928d2
CC
2021-04-21 16:19:28 +03: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
749dd8d555
Merge pull request #21193 from kitaisreal/storage-rabbit-mq-added-uvloop
...
StorageRabbitMQ added UVLoop
2021-02-26 11:04:02 +03:00
Maksim Kita
29e783999c
Fixed typo
2021-02-25 17:43:32 +03:00
Maksim Kita
f077a25a7a
StorageRabbitMQ added UVLoop
2021-02-25 17:02:34 +03:00
kssenii
6eaf9281b5
Review fix
2021-02-24 16:52:14 +00:00
kssenii
96f22b4290
Fix rabbit bug
2021-02-24 10:41:08 +00:00
alexey-milovidov
2299930c31
Merge pull request #20545 from kssenii/rabbit-format-settings
...
rabbitmq: add missing format factory settings
2021-02-19 20:24:17 +03:00
Vitaly Baranov
3cbb325913
Merge pull request #20506 from vitlibar/refactor-protobuf-format-io
...
Improved serialization in Protobuf format.
2021-02-18 11:31:37 +03:00
Vitaly Baranov
18e036d19b
Improved serialization for data types combined of Arrays and Tuples.
...
Improved matching enum data types to protobuf enum type.
Fixed serialization of the Map data type.
Omitted values are now set by default.
2021-02-17 20:50:09 +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
fb4596f433
Fix clang-analyzer-optin.cplusplus.VirtualCall
2021-02-04 02:08:41 +03:00
Azat Khuzhin
46f5268135
Fix incorrect WriteBuffer interface usage in message brokers producers
...
WriteBufferToKafkaProducer and WriteBufferToRabbitMQProducer uses
WriteBuffer::set(nullptr, 0) which will leave the WriteBuffer in the
invalid state, since after this available() is 0 and next() will not
call nextImpl().
Stacktrace:
2021.02.02 05:27:16.248056 [ 97 ] {} <Fatal> BaseDaemon: ########################################
2021.02.02 05:27:16.248697 [ 97 ] {} <Fatal> BaseDaemon: (version 21.3.1.5880, build id: 03F265087EF651DC4D8E569775FE9E91FFA5DE76) (from thread 93) (query_id: 8c34c220-f66a-45d2-8f4f-01193cede98b) Received signal Segmentation fault (11)
2021.02.02 05:27:16.249030 [ 97 ] {} <Fatal> BaseDaemon: Address: NULL pointer. Access: write. Address not mapped to object.
2021.02.02 05:27:16.249623 [ 97 ] {} <Fatal> BaseDaemon: Stack trace: 0x12f3dbeb 0x12efd075 0x12efc90e 0x12ebb0e9 0x12ebe0cb 0x12e1da18 0x12a8c857 0x1219aa62 0x1218fc82 0x1218fdaa 0x11e3f120 0x12dfa3df 0x12df42a4 0x12e00fa8 0x158cdc63 0x158ce38f 0x15a36b72 0x15a35110 0x15a33918 0x8adf12d 0x7fb5e0fe3609 0x7fb5e0f0a293
2021.02.02 05:27:16.408985 [ 97 ] {} <Fatal> BaseDaemon: 5. ./obj-x86_64-linux-gnu/../src/IO/WriteHelpers.h:64: DB::JSONEachRowRowOutputFormat::writeRowStartDelimiter() @ 0x12f3dbeb in /usr/bin/clickhouse
2021.02.02 05:27:16.534797 [ 97 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Processors/Formats/IRowOutputFormat.cpp:80: DB::IRowOutputFormat::write(std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn> > > const&, unsigned long) @ 0x12efd075 in /usr/bin/clickhouse
2021.02.02 05:27:16.599210 [ 97 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Processors/Formats/IRowOutputFormat.cpp:0: DB::IRowOutputFormat::consume(DB::Chunk) @ 0x12efc90e in /usr/bin/clickhouse
2021.02.02 05:27:16.680733 [ 97 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3211: DB::IOutputFormat::write(DB::Block const&) @ 0x12ebb0e9 in /usr/bin/clickhouse
2021.02.02 05:27:16.798768 [ 97 ] {} <Fatal> BaseDaemon: 9. ./obj-x86_64-linux-gnu/../src/Processors/Formats/OutputStreamToOutputFormat.cpp:15: DB::OutputStreamToOutputFormat::write(DB::Block const&) @ 0x12ebe0cb in /usr/bin/clickhouse
2021.02.02 05:27:16.981593 [ 97 ] {} <Fatal> BaseDaemon: 10. ./obj-x86_64-linux-gnu/../src/DataStreams/MaterializingBlockOutputStream.h:0: DB::MaterializingBlockOutputStream::write(DB::Block const&) @ 0x12e1da18 in /usr/bin/clickhouse
2021.02.02 05:27:17.090383 [ 97 ] {} <Fatal> BaseDaemon: 11. ./obj-x86_64-linux-gnu/../src/Storages/RabbitMQ/RabbitMQBlockOutputStream.cpp:61: DB::RabbitMQBlockOutputStream::write(DB::Block const&) @ 0x12a8c857 in /usr/bin/clickhouse
2021.02.02 05:27:17.140425 [ 97 ] {} <Fatal> BaseDaemon: 12. ./obj-x86_64-linux-gnu/../src/DataStreams/AddingDefaultBlockOutputStream.cpp:0: DB::AddingDefaultBlockOutputStream::write(DB::Block const&) @ 0x1219aa62 in /usr/bin/clickhouse
2021.02.02 05:27:17.190282 [ 97 ] {} <Fatal> BaseDaemon: 13. ./obj-x86_64-linux-gnu/../src/DataStreams/SquashingBlockOutputStream.cpp:0: DB::SquashingBlockOutputStream::finalize() @ 0x1218fc82 in /usr/bin/clickhouse
2021.02.02 05:27:17.240052 [ 97 ] {} <Fatal> BaseDaemon: 14. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2844: DB::SquashingBlockOutputStream::writeSuffix() @ 0x1218fdaa in /usr/bin/clickhouse
2021.02.02 05:27:17.294527 [ 97 ] {} <Fatal> BaseDaemon: 15. ./obj-x86_64-linux-gnu/../src/DataStreams/CountingBlockOutputStream.h:37: DB::CountingBlockOutputStream::writeSuffix() @ 0x11e3f120 in /usr/bin/clickhouse
2021.02.02 05:27:17.405442 [ 97 ] {} <Fatal> BaseDaemon: 16. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:521: DB::TCPHandler::processInsertQuery(DB::Settings const&) @ 0x12dfa3df in /usr/bin/clickhouse
2021.02.02 05:27:17.475822 [ 97 ] {} <Fatal> BaseDaemon: 17. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x12df42a4 in /usr/bin/clickhouse
2021.02.02 05:27:17.609845 [ 97 ] {} <Fatal> BaseDaemon: 18. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:1419: DB::TCPHandler::run() @ 0x12e00fa8 in /usr/bin/clickhouse
2021.02.02 05:27:17.695292 [ 97 ] {} <Fatal> BaseDaemon: 19. ./obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x158cdc63 in /usr/bin/clickhouse
2021.02.02 05:27:17.833612 [ 97 ] {} <Fatal> BaseDaemon: 20. ./obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerDispatcher.cpp:0: Poco::Net::TCPServerDispatcher::run() @ 0x158ce38f in /usr/bin/clickhouse
2021.02.02 05:27:17.907391 [ 97 ] {} <Fatal> BaseDaemon: 21. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/include/Poco/ScopedLock.h:36: Poco::PooledThread::run() @ 0x15a36b72 in /usr/bin/clickhouse
2021.02.02 05:27:18.033949 [ 97 ] {} <Fatal> BaseDaemon: 22. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread.cpp:56: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x15a35110 in /usr/bin/clickhouse
2021.02.02 05:27:18.122761 [ 97 ] {} <Fatal> BaseDaemon: 23. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/include/Poco/SharedPtr.h:277: Poco::ThreadImpl::runnableEntry(void*) @ 0x15a33918 in /usr/bin/clickhouse
2021.02.02 05:27:18.283663 [ 97 ] {} <Fatal> BaseDaemon: 24. __tsan_thread_start_func @ 0x8adf12d in /usr/bin/clickhouse
2021.02.02 05:27:18.284153 [ 97 ] {} <Fatal> BaseDaemon: 25. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
2021.02.02 05:27:18.284544 [ 97 ] {} <Fatal> BaseDaemon: 26. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.02.02 05:27:21.675458 [ 97 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: B53B58DB6CF8186EEC9EA9273F135E44. There is no information about the reference checksum.
2021.02.02 05:27:28.078805 [ 1 ] {} <Fatal> Application: Child process was terminated by signal 11.
2021-02-03 23:46:28 +03:00
Azat Khuzhin
fabace394d
Cleanup message brokers output streams
2021-02-03 00:32:36 +03: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
64cb6405ac
Drop IStorage::supportsSettings() (replaced with StorageFeatures::supports_settings)
2021-01-08 14:36:26 +03:00
Nikita Mikhailov
c5f92e5096
better formatfactory
2020-12-30 06:07:30 +03:00
Nikolai Kochetov
8de5cd5bc7
Merge branch 'master' into async-read-from-socket
2020-12-14 17:45:38 +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
Nikolai Kochetov
32b38f389e
Merge branch 'master' into async-read-from-socket
2020-12-09 17:15:36 +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
Nikolai Kochetov
f31610a2e1
Remove Wait status.
2020-12-04 13:55:01 +03: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
tavplubix
67099f28ac
Merge pull request #16591 from ClickHouse/aku/create-file
...
Support `SETTINGS` clause for File engine
2020-11-09 14:15:42 +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
Alexander Kuzmenkov
99ee127620
Support SETTINGS
clause for File engine
...
Accept the usual user settings related to file formats.
Most of the diff are the mechanistic code changes required to allow
providing the required FormatSettings to the format factory. The File
engine then extracts these settings from the `CREATE` query, and specifies
them when creating the format parser.
2020-11-02 10:50:38 +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
Alexander Kuzmenkov
6509f1eb39
Merge branch 'master' into minumum
2020-10-27 21:38:23 +03:00
kssenii
a48bc83763
Fix style
2020-10-27 12:04:07 +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
Alexey Milovidov
d5e277f080
Better exceptions rethrow
2020-10-26 06:35:57 +03:00
Mikhail Filimonov
87a8ba63f7
Few more CR fixes
2020-10-12 15:05:40 +02:00
Mikhail Filimonov
f6b00f2cb6
After CR fixes
2020-10-12 07:52:09 +02:00
Mikhail Filimonov
6df42c580b
ProtobufSingle output format
2020-10-12 07:51:45 +02:00
Alexey Milovidov
5b482f4191
Cleanups
2020-10-10 19:31:10 +03:00
Azat Khuzhin
b838214a35
Pass non-const SelectQueryInfo (and drop mutable qualifiers)
2020-10-02 22:42:35 +03:00
Nikolai Kochetov
e29f27e333
Merge pull request #14815 from ClickHouse/storage-read-query-plan
...
Return query plan from storage.
2020-09-15 18:34:11 +03:00
Nikolai Kochetov
6eac433c55
Review fixes.
2020-09-15 13:40:39 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Nikolai Kochetov
bcfc83022a
Return query plan from storage.
2020-09-14 17:13:58 +03:00
kssenii
40c8290dde
Tiny fixes, better tests
2020-09-07 14:48:50 +00:00
alesapin
17650e803f
Tiny improvements
2020-09-07 14:08:53 +03:00
alesapin
f6237dc334
Better name
2020-09-07 12:32:45 +03:00
kssenii
e1ef558a2d
Fixes
2020-09-03 06:50:20 +00:00
kssenii
6682c62a90
Fixes
2020-09-01 20:07:34 +00:00
kssenii
c2fb72abf8
Better mv, more comments
2020-09-01 07:58:41 +00:00
kssenii
e57d1c827f
Better shutdown
2020-08-31 10:00:28 +00:00
kssenii
647cf5718e
Better settings
2020-08-31 09:27:42 +00:00
kssenii
4e0c619721
Global refactoring
2020-08-28 10:03:54 +00:00
kssenii
4fecfdbe2f
Better & cleaner
2020-08-26 18:52:45 +00:00
kssenii
1e7eb49481
Add one more mes property, support format_schema
2020-08-15 15:05:53 +00:00
kssenii
c6fdeb6c02
Better
2020-08-15 08:00:56 +00:00
kssenii
9a409db5c0
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbitmq-improvements
2020-08-15 06:51:22 +00:00
Nikolai Kochetov
9b67cd9faf
Merge branch 'master' into refactor-pipes-3
2020-08-10 10:50:17 +03:00
kssenii
2ea32a710a
More tests, better reconnect
2020-08-08 17:03:55 +00:00
Alexey Milovidov
12f66fa82c
Fix 99% of typos
2020-08-08 04:01:47 +03:00
kssenii
1213161cf4
Add some message properties
2020-08-06 20:34:13 +00:00
kssenii
24b032b378
Allow multiple consumers for same queues
2020-08-06 13:50:44 +00:00
Nikolai Kochetov
20e63d2271
Refactor Pipe [part 6]
2020-08-06 15:24:05 +03:00
kssenii
053f31cb77
Better confirmListener
2020-08-04 20:50:41 +00:00
kssenii
d5b1332b67
Stop publish untill batch is confirmed
2020-08-03 14:40:51 +00:00
kssenii
60124b769c
Merge
2020-08-03 09:17:23 +00:00
kssenii
62293f80c0
Small fixes
2020-08-03 09:14:25 +00:00
kssenii
c2bed351ae
Add consumer connection track and restore
2020-08-01 13:05:06 +00:00
Vitaly Baranov
56665a15f7
Rework and rename the template class SettingsCollection => BaseSettings.
2020-07-31 20:54:18 +03:00
Vitaly Baranov
4ad99f1472
Make type names of settings shorter: SettingUInt64 => UInt64.
2020-07-31 19:11:27 +03:00
kssenii
5a934c079e
Add connection restore in insert, better confirms
2020-07-31 04:59:56 +00:00
kssenii
763c337be9
Remove redundant, move subscription
2020-07-31 04:59:18 +00:00
kssenii
469e46a539
Fix build
2020-07-28 12:46:44 +00:00
kssenii
0ee54c8a4a
Fix build, async acks -> sync acks, fix tests
2020-07-28 10:43:25 +00:00
kssenii
22b16060f6
More reliable publishing
2020-07-25 16:56:29 +00:00
kssenii
2b57857afc
Add dl-exchange, commits
2020-07-25 16:56:12 +00:00
kssenii
f9a4bf9e61
Add queue resume read
2020-07-25 16:55:58 +00:00
kssenii
f0f6111655
Move exchange init, add bridge-exchange
2020-07-25 16:55:44 +00:00
kssenii
ac448db491
Add virtuals
2020-07-25 16:55:32 +00:00
kssenii
a88e391bd2
Fix bug with insert, simplify exchanges logic
2020-07-25 16:55:18 +00:00
Alexey Milovidov
8f2055b0a0
Fix trash from RabbitMQ
2020-07-13 04:11:48 +03:00
alesapin
c57edd2018
Tiny fixes
2020-07-03 11:02:35 +03:00
alesapin
c6c7ee30d9
Less race conditions
2020-07-02 19:44:04 +03:00
alesapin
96df2e6b71
Better shutdown and conversion
2020-07-02 17:35:10 +03:00
kssenii
f797efb04c
Fix build
2020-06-30 01:48:11 +00:00
kssenii
fd9b416871
Fix and simplify code
2020-06-29 15:47:25 +00:00
kssenii
88ece429c9
Move writing to RabbitMQ into background task
2020-06-29 12:33:01 +00:00
kssenii
3d2cc9d4b2
Remove libevent library
2020-06-29 12:11:17 +00:00
kssenii
5fc0b93400
Use ConcurentBoundedQueue instead of vector
2020-06-29 09:50:33 +00:00
kssenii
649eb8e348
Move reading from RabbitMQ into background task
2020-06-28 18:20:18 +00:00
alesapin
36eb2c3028
Simplify code around locks
2020-06-25 13:25:22 +03:00
alesapin
d5847d29d6
Avoid memory leaks
2020-06-25 12:44:39 +03:00
alesapin
addee61bcb
Trying to do everything on top of libuv, add heartbeats
2020-06-25 00:14:49 +03:00
alesapin
cb30dbfe28
Correct merge with master
2020-06-24 20:32:57 +03:00
kssenii
9e1b8b2872
Better exchanges, fix build, better comments, better tests
2020-06-14 18:36:56 +00:00
kssenii
dcd7b7351c
Support headers-exchange type
2020-06-13 21:47:22 +00:00
kssenii
b8a4c7708a
Make local exchanges unique for each table
2020-06-13 18:15:59 +00:00
kssenii
462e8bcdc9
Support transactions for publishing
2020-06-12 18:10:13 +00:00
kssenii
3b0a3e00c0
Some fixes
2020-06-12 18:09:49 +00:00
kssenii
626eb53baa
Fix multiple bindings for single queue & rm hardcoded strings
2020-06-11 11:13:13 +00:00
kssenii
9350472ee4
Support multiple bindings
2020-06-11 10:29:08 +00:00
kssenii
d7b2694806
Support all exchange types
2020-06-10 23:06:23 +00:00
kssenii
472b04b69c
Better producer
2020-06-10 19:59:37 +00:00
kssenii
897a592ee6
Move subscription
2020-06-10 15:41:49 +00:00
kssenii
17e7cc03c0
Add consumer failure handler
2020-06-08 01:11:48 +00:00
kssenii
ce448d9291
Better event handler
2020-06-07 11:24:10 +00:00
kssenii
cb618a32b8
Fix style
2020-06-05 14:27:56 +00:00
kssenii
68b94c5c20
Fixes
2020-06-05 13:46:20 +00:00
kssenii
972611e31b
Fix consumer
2020-06-04 06:22:53 +00:00
kssenii
5624066195
Fix producer
2020-06-04 06:21:28 +00:00
kssenii
786874e867
Better publish & some fixes
2020-06-02 15:57:30 +00:00
kssenii
806fd27395
Fix build & fix style & fix
2020-06-01 20:48:24 +00:00
kssenii
386dc4d95e
Fixes
2020-06-01 17:02:56 +00:00
kssenii
5757dd1d57
Add insert part
2020-06-01 17:01:41 +00:00
kssenii
e80b405359
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only
2020-05-31 10:30:53 +00:00
kssenii
037ed3a02c
Code fix & style fix & merge fix
2020-05-31 09:34:57 +00:00
kssenii
8266715c49
Fix build & fix style
2020-05-31 08:39:22 +00:00
kssenii
0362bb2d2f
Make connection between concurrent consumers shared - not private
2020-05-29 16:28:52 +00:00
kssenii
5e472af425
Fix merge & small fix
2020-05-26 20:43:20 +00:00
kssenii
14c67c6ae6
Fixes
2020-05-26 17:34:57 +00:00
kssenii
aeffab3fdb
Enable SELECT and CREATE MV queries with engine RabbitMQ
2020-05-20 09:40:49 +00:00
kssenii
3b75f214c5
Register RabbitMQ storage
2020-05-20 09:09:20 +03:00