Commit Graph

77819 Commits

Author SHA1 Message Date
Maksim Kita
f283d46e3a
Merge pull request #30931 from sevirov/sevirov-DOCSUP-14511-document_custom_query_for_database_dictionaries
DOCSUP-14511: Document custom query for database dictionaries
2021-11-14 15:24:35 +03:00
Dmitriy
881cbfa391 Update settings.md
Поправил перевод.
2021-11-14 15:19:29 +03:00
Kseniia Sumarokova
846fbd059b
Merge pull request #31403 from kssenii/fix-client-output
Fix client
2021-11-14 15:01:30 +03:00
kssenii
9ea8408d8d Add test 2021-11-14 07:58:19 +00:00
kssenii
ad1b7c83cd Fix 2021-11-14 07:19:59 +00:00
Alexey Milovidov
052a7a92e8 Whitespace 2021-11-14 10:05:20 +03:00
Alexey Milovidov
fe3ee85d80 Fix MaterializedMySQL 2021-11-14 10:04:45 +03:00
alexey-milovidov
cb6342025d
Merge pull request #31229 from zhanglistar/fsync
Change all fsync to fdatasync
2021-11-14 05:16:01 +03:00
alexey-milovidov
f4fda976ef
Merge pull request #31063 from azat/perf-spikes
perf: switch *_log tables to Memory engine (attempt to reduce cache misses)
2021-11-14 05:13:12 +03:00
Alexey Milovidov
bd684f02f2 Fix clang-tidy 2021-11-14 04:57:59 +03:00
Alexey Milovidov
1e4e36ff2d Remove thread_local std::string 2021-11-14 02:43:17 +03:00
Ivan Blinkov
e2b634835a
[blog] clarifications to clickhouse-v21.11-released.md headers (#31399) 2021-11-14 02:32:37 +03:00
alexey-milovidov
5712f9077d
Merge pull request #31393 from azat/fix-stderr-before-reopen
Check stderr is writable before reopining it (to avoid losing errors)
2021-11-14 01:44:08 +03:00
alexey-milovidov
e323b83f6a
Merge pull request #30876 from pmed/backslash_letter_interactive_input
add aliases for `\<letter>` interactive client commands
2021-11-14 01:43:13 +03:00
alexey-milovidov
f12020ee47
Merge pull request #31397 from ClickHouse/efs-ebs
Comparison between EBS and EFS
2021-11-14 01:35:30 +03:00
alexey-milovidov
f1fd01a95d
Merge pull request #31392 from azat/mysql-sync-thread-fix-QueryScope
Fix QueryScope in MaterializedMySQLSyncThread
2021-11-14 01:03:15 +03:00
Alexey Milovidov
2d57bba4ca Fix typo 2021-11-14 00:47:23 +03:00
Alexey Milovidov
e56504dacf Credits 2021-11-14 00:43:23 +03:00
Alexey Milovidov
5fc09a63a8 Comparison between EBS and EFS 2021-11-14 00:42:12 +03:00
Dmitriy
e30b0339c7 Translate to Russian
Выполнил перевод на русский язык.
2021-11-13 23:14:02 +03:00
Alexey
301e403d22 link from EXISTS to WHERE 2021-11-13 20:00:00 +00:00
Alexey
40952d53ac Small text change
Removed See Also EXISTS from WHERE
2021-11-13 19:47:50 +00:00
Alexey
ba0d57b90e Added example to WHERE 2021-11-13 19:46:38 +00:00
Azat Khuzhin
ed4b5c7640 Check stderr is writable before reopining it (to avoid losing errors) 2021-11-13 22:26:05 +03:00
Azat Khuzhin
f2c74a81f7 Fix QueryScope in MaterializedMySQLSyncThread
QueryScope should exist for the whole query execution time.
2021-11-13 20:06:08 +03:00
Kseniia Sumarokova
59d4eb99c2
Merge pull request #31291 from kssenii/update-async-reads-setting
Make remote_filesystem_read_method=threadpool by default
2021-11-13 19:19:35 +03:00
alexey-milovidov
a29b0930f8
Merge pull request #31387 from azat/fix-test_kafka_insert_avro
Fix test_kafka_insert_avro by pinning avro version
2021-11-13 17:58:37 +03:00
kssenii
f18dcd2287 Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers 2021-11-13 14:38:57 +03:00
kssenii
7c2315638c Remove checks for profile events because they are not updated the same way with async reads 2021-11-13 13:37:00 +03:00
Azat Khuzhin
11be942bb0 Fix possible data-race in case of query cancellation with async_socket_for_remote
RemoteQueryExecutor::cancel() (that is called in another thread), steal
the fiber, and process any pending packets, to leave the connection in
the correct state (so that it can be reused for further queries).

However this requires processing pending packets, and this will update
the RemoteQueryExecutorReadContext::packet field, which can be read in
another thread by the RemoteQueryExecutor::read().

This was pretty tricky due to fibers, but AFAICS I understand this
correctly and this should fix the race.

Note, that if you will look at the logs from the #28854, you will see,
that all those data races was triggered after query cancellation.

Fixes: #28854
Refs: #18715

v2: fix daedlock in case of duplicated parts
v3: do not hold the mutex, since was_cancelled is atomic
2021-11-13 12:44:02 +03:00
Kseniia Sumarokova
c7be79b4e7
Merge pull request #31136 from LiuYangkuan/IDiskRemote_metadata_disk
use DiskPtr instead of OS's file system API in class IDiskRemote
2021-11-13 12:16:05 +03:00
Azat Khuzhin
48b1b7b7ec Fix test_kafka_insert_avro by pinning avro version
New avro version has a code that does not allow to use BytesIO [1].

  [1]: https://github.com/apache/avro/commit/e8c61ba4f0#diff-ca721cc66db80ff81dcd7b8ad1bb0e83b2e5c2de80c207ebec79f5495d38db98R318-R319
2021-11-13 12:01:13 +03:00
alexey-milovidov
f653473083
Merge pull request #31007 from zhanghuajieHIT/master
support compile in arm machine with parameter "-DENABLE_TESTS=OFF"
2021-11-13 01:57:58 +03:00
mergify[bot]
5d0306ed0c
Merge branch 'master' into notlike-fix 2021-11-12 22:35:10 +00:00
alexey-milovidov
e0cf4bf568
Update iotest_nonblock.cpp 2021-11-13 01:31:37 +03:00
alexey-milovidov
558a1257e7
Merge pull request #31279 from RainbowDashy/patch-1
docs: Add descriptions for string aliases
2021-11-13 01:28:07 +03:00
Maksim Kita
38be11a622
Merge pull request #31334 from kitaisreal/bloom-filter-index-check-fix
BloomFilter index check fix
2021-11-13 01:26:08 +03:00
alexey-milovidov
cd42d55d06
Merge pull request #31362 from den-crane/patch-42
Doc. CREATE DICTIONARY / SETTINGS
2021-11-13 01:25:53 +03:00
alexey-milovidov
babf171a1d
Merge pull request #31366 from ClickHouse/remove-pdf
Remove PDF documentation
2021-11-13 01:22:15 +03:00
Kseniia Sumarokova
c6fd56ede9
Update DiskLocal.cpp 2021-11-13 00:00:32 +03:00
alexey-milovidov
f82fd18511
Merge pull request #31348 from depyronick/patch-1
add nestjs-clickhouse library
2021-11-12 23:40:31 +03:00
sevirov
b611a709b9
Update docs/en/operations/server-configuration-parameters/settings.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-11-12 23:40:05 +03:00
Alexey Milovidov
4f8646d54b Remove PDF documentation 2021-11-12 23:25:55 +03:00
Alexey
398e164e46 en draft (EXISTS) 2021-11-12 20:02:26 +00:00
alesapin
63a4d0b6a2 Debugging broken checks 2021-11-12 22:57:26 +03:00
Yatsishin Ilya
4d0a3ee283 better test_dictionaries_dependency 2021-11-12 22:42:23 +03:00
alexey-milovidov
7c95cfc76a
Merge pull request #31109 from thomoco/master
Updated adopters with Jitsu and Open Targets; minor adopters editing; and added benchmark for Intel Core i5-9600K
2021-11-12 21:37:47 +03:00
mergify[bot]
22e7efa8b0
Merge branch 'master' into add_oss_support 2021-11-12 18:25:26 +00:00
Thom O'Connor
e5a6242759
Merge branch 'ClickHouse:master' into master 2021-11-12 10:46:15 -07:00
Denny Crane
22a32c46bd
Update dictionary.md 2021-11-12 13:00:34 -04:00