Commit Graph

77247 Commits

Author SHA1 Message Date
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
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
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
Alexey Milovidov
4f8646d54b Remove PDF documentation 2021-11-12 23:25:55 +03: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
Denny Crane
4302b0504e
Update dictionary.md 2021-11-12 12:51:20 -04:00
tavplubix
e8f745da24
Merge pull request #31347 from lavrinenkoe/patch-2
Update http.md
2021-11-12 17:58:37 +03:00
LiuYangkuan
4366fcbc83 fix build check and make rename robust in DiskS3::restoreFileOperations 2021-11-12 22:54:10 +08:00
alesapin
fe44b167d1
Merge pull request #31110 from sevirov/sevirov-DOCSUP-15458-document_the_alter_table_modify_comment
DOCSUP-15458: Document the SQL-statement ALTER TABLE ... MODIFY COMMENT
2021-11-12 16:45:00 +03:00
alesapin
aae000372f Fix build config 2021-11-12 16:43:13 +03:00
tavplubix
26b6412d1f
Update http.md 2021-11-12 16:41:16 +03:00
Ali Demirci
95793d7227
add nestjs-clickhouse library 2021-11-12 16:38:52 +03:00
alesapin
78c44976a4 Fix ci config 2021-11-12 16:34:33 +03:00
Maksim Kita
59c855c038
Merge pull request #31012 from karnevil13/karnevil-DOCSUP-16608
DOCSUP-16608: Documented JSONExtractKeys function
2021-11-12 16:29:43 +03:00
Maksim Kita
42ecb28788
Merge pull request #31082 from sevirov/sevirov-DOCSUP-16607-update_the_sql_statement_create_dictionary
DOCSUP-16607: Update the SQL-statement CREATE DICTIONARY
2021-11-12 16:29:27 +03:00
Evgeny
eee2aab424
Update http.md
<method> tag throws error in config. It seems <methods> should be there
2021-11-12 16:28:36 +03:00
Tomáš Hromada
445b0ba7cc
Expose all GlobalThreadPool config params (#31285) 2021-11-12 16:24:47 +03:00
alesapin
17f2e61cd6 Underscores everywhere 2021-11-12 16:16:17 +03:00
alesapin
43c70c1c36 Fix build check 2021-11-12 16:08:06 +03:00