mergify[bot]
7cfa01cdba
Merge branch 'master' into dotnet-integration-test
2022-01-04 17:16:02 +00:00
alexey-milovidov
9e9e6b7922
Merge pull request #33341 from azat/local-memory-tracking
...
clickhouse-local: track memory under --max_memory_usage_in_client option
2022-01-04 19:43:41 +03:00
alexey-milovidov
f80b83022f
Merge pull request #33335 from ClickHouse/interval-length-sum-allow-negative
...
Allow negative intervals in function `intervalLengthSum`
2022-01-04 19:36:11 +03:00
mergify[bot]
327e9572bb
Merge branch 'master' into dotnet-integration-test
2022-01-04 16:35:28 +00:00
alexey-milovidov
5616000568
Merge pull request #33397 from iladriano/patch-1
...
Update success.html
2022-01-04 19:29:54 +03:00
Adri Fernandez
ef16346af0
Update success.html
2022-01-04 08:20:53 -08:00
Maksim Kita
c6121f6c2e
Merge pull request #33386 from azat/DROP-INSERT-UAF-fix-v2
...
Fix possible use-after-free for INSERT into MV with concurrent DROP
2022-01-04 18:53:53 +03:00
Maksim Kita
53e45c34e3
Merge pull request #33373 from den-crane/patch-54
...
Doc. default values for max_concurrent_queries settings
2022-01-04 14:06:41 +03:00
Azat Khuzhin
5ed7440381
Fix possible use-after-free for INSERT into MV with concurrent DROP
...
ASan founds [1]:
==553==
ERROR: AddressSanitizer: heap-use-after-free on address 0x61e004694080 at pc 0x000029150af2 bp 0x7f70b3f8ef10 sp 0x7f70b3f8ef08
READ of size 8 at 0x61e004694080 thread T477 (QueryPipelineEx)
0 0x29150af1 in DB::MergeTreeDataWriter::writeTempPart() >
1 0x293b8e43 in DB::MergeTreeSink::consume(DB::Chunk) obj-x86_64-linux-gnu/../src/Storages/MergeTree/MergeTreeSink.cpp:27:65
2 0x29dac73b in DB::SinkToStorage::onConsume(DB::Chunk) obj-x86_64-linux-gnu/../src/Processors/Sinks/SinkToStorage.cpp:18:5
3 0x29c72dd2 in DB::ExceptionKeepingTransform::work()::$_1::operator()() const obj-x86_64-linux-gnu/../src/Processors/Transforms/ExceptionKeepingTransform.cpp:151:51
0x61e004694080 is located 2048 bytes inside of 2480-byte region [0x61e004693880,0x61e004694230)
freed by thread T199 (BgSchPool) here:
...
4 0x26220f20 in DB::DatabaseCatalog::TableMarkedAsDropped::~TableMarkedAsDropped() obj-x86_64-linux-gnu/../src/Interpreters/DatabaseCatalog.h:248:12
5 0x26220f20 in DB::DatabaseCatalog::dropTableDataTask() obj-x86_64-linux-gnu/../src/Interpreters/DatabaseCatalog.cpp:908:1
[1]: https://s3.amazonaws.com/clickhouse-test-reports/33201/4f04d6af61eabf4899eb8188150dc862aaab80fc/stress_test__address__actions_.html
There was a fix in #32572 , but it was not complete (yes it reduced the
race window a lot, but not completely), since the inner table still can
go away after the INSERT chain was built, to fix this obtain the
reference earlier.
Follow-up for: #32572 (cc @tavplubix)
2022-01-04 13:34:01 +03:00
mergify[bot]
a30c10a235
Merge branch 'master' into interval-length-sum-allow-negative
2022-01-03 20:53:55 +00:00
alexey-milovidov
b5ee8cb694
Merge pull request #33374 from den-crane/patch-55
...
Doc. No need to double backslashes (\\)
2022-01-03 23:51:08 +03:00
Denny Crane
7261e121dd
Update string-search-functions.md
2022-01-03 16:19:54 -04:00
Denny Crane
bb713f1487
Update settings.md
2022-01-03 16:01:18 -04:00
Denny Crane
f764e26c7b
Update settings.md
2022-01-03 15:59:52 -04:00
Denny Crane
9114d127e0
default values for max_concurrent_queries settings
2022-01-03 15:48:22 -04:00
Alexey Milovidov
7bd4d1a8d8
Fix UBSan
2022-01-03 22:24:03 +03:00
Alexey Milovidov
8aa26fd04a
Fix UBSan
2022-01-03 22:23:34 +03:00
Nikita Mikhaylov
659f502ce5
Merge pull request #33346 from amosbird/blobstoragebuildfix2
2022-01-03 21:17:09 +04:00
alexey-milovidov
6efe73fc1b
Merge pull request #26559 from nikitamikhaylov/merging-dev-sum-bug
...
Merging #26074
2022-01-03 19:46:54 +03:00
alexey-milovidov
cb19d6f519
Merge pull request #29953 from amosbird/saturatetime
...
Saturate date/datetime to zero.
2022-01-03 19:44:33 +03:00
alesapin
9619b0fd96
Merge pull request #33336 from ClickHouse/fix-diff-encoding
...
Fix (?) encoding issue in #33331
2022-01-03 15:17:22 +03:00
alexey-milovidov
bc1ac93d4d
Update AggregateFunctionNothing.cpp
2022-01-03 14:19:16 +03:00
Maksim Kita
5ae10e5e31
Merge pull request #33369 from benbiti/docs_zh_create_function
...
[Docs-zh]translate create function into zh
2022-01-03 14:11:22 +03:00
Maksim Kita
c3521bfdf9
Merge pull request #33343 from azat/tests-new-kafka-formats
...
Cover CustomSeparated/Template formats for Kafka
2022-01-03 14:04:36 +03:00
Maksim Kita
4363865757
Merge pull request #33339 from freedomDR/add_doc_settings
...
docs setting shutdown wait time add comment
2022-01-03 14:02:55 +03:00
alexey-milovidov
7feed04c9a
Update AggregateFunctionNothing.h
2022-01-03 03:59:45 +03:00
alexey-milovidov
fbadbc8cba
Update AggregateFunctionNothing.h
2022-01-03 03:59:29 +03:00
alexey-milovidov
bd002a6d50
Update AggregateFunctionNothing.cpp
2022-01-03 03:58:18 +03:00
alexey-milovidov
141696e146
Update AggregateFunctionNothing.cpp
2022-01-03 03:53:39 +03:00
alexey-milovidov
f0d2838a5b
Update AggregateFunctionNothing.h
2022-01-03 03:52:39 +03:00
Alexey Milovidov
53e3ecb90d
Move to separate directory
2022-01-03 03:44:03 +03:00
Alexey Milovidov
2c7a8db58c
Add test output and compare to reference
2022-01-03 03:36:23 +03:00
Alexey Milovidov
268842afa8
Add a comment
2022-01-03 03:07:25 +03:00
Alexey Milovidov
9678179ba0
Fix a typo
2022-01-03 03:03:49 +03:00
Alexey Milovidov
f790bcfe03
Add something to somewhere
2022-01-03 03:03:26 +03:00
Alexey Milovidov
c3ab18d1b0
Merge branch 'feature/dotnet-integration-test' of github.com:DarkWanderer/ClickHouse into dotnet-integration-test
2022-01-03 03:00:01 +03:00
alexey-milovidov
d08b1231d7
Update runner
2022-01-03 02:56:23 +03:00
alexey-milovidov
f1b6bc1074
Update docker_compose_dotnet_client.yml
2022-01-03 02:55:49 +03:00
alexey-milovidov
04a293a6ae
Update images.json
2022-01-03 02:55:30 +03:00
alexey-milovidov
7d52ba4576
Update Dockerfile
2022-01-03 02:54:43 +03:00
alexey-milovidov
817bb0ee6d
Update docker_compose_dotnet_client.yml
2022-01-03 02:46:08 +03:00
alexey-milovidov
57926cf366
Update Dockerfile
2022-01-03 02:45:46 +03:00
alexey-milovidov
3333c36df3
Update images.json
2022-01-03 02:45:20 +03:00
alexey-milovidov
d77a4eb093
Update CODEOWNERS
2022-01-03 02:08:36 +03:00
Alexey Milovidov
cab5f4fe1e
Merge with master
2022-01-03 02:07:08 +03:00
Amos Bird
0b7a94c2be
Saturate date/datetime to zero
2022-01-03 02:07:08 +03:00
Alexey Milovidov
cd08a7ced0
Fix error
2022-01-03 01:36:55 +03:00
Alexey Milovidov
90f5594f80
Add a test
2022-01-02 20:23:35 +03:00
Alexey Milovidov
c409c8a361
Change my mind
2022-01-02 20:20:12 +03:00
Alexey Milovidov
6de989f5fa
Allow negative intervals in function intervalLengthSum
2022-01-02 20:19:56 +03:00