Commit Graph

97987 Commits

Author SHA1 Message Date
Azat Khuzhin
779a8f1305
tests: fix 02340_parts_refcnt_mergetree flakiness (#40998) 2022-09-21 02:10:18 +02:00
Nikolai Kochetov
9e1bb19559
Purge jemalloc arenas in case of high memory usage. (#40277)
* Purge jemalloc arenas in case of high memory usage.

* Purge jemalloc arenas in case of high memory usage.

* Get RSS before jemalloc counters. Try to avoid negative RSS.

* Try to avoid negative RSS.

* muzzy -> dirty

* Another fix.

* Update MemoryTracker.cpp

* Wait for purged memory.

* Revert "Wait for purged memory."

This reverts commit 53a2621a2d.
2022-09-20 23:56:10 +02:00
Robert Schulze
5eeec8d9cb
Merge pull request #41498 from ClickHouse/fix-nondeterminstic-test-results
Fix non-deterministic test results uncovered by SSE2-only build
2022-09-20 19:04:39 +02:00
Dan Roscigno
f20b5cdeba
Merge pull request #41573 from DanRoscigno/retitle-opentelemetry
rename doc to [experimental] Tracing ClickHouse with OpenTelemetry
2022-09-20 12:40:03 -04:00
Alexander Tokmakov
14b256f64d
Merge pull request #41526 from kssenii/disable-random-settings-for-s3-with-tsan-and-debug
Disable random settings for s3_storage && (tsan || debug)
2022-09-20 17:06:50 +03:00
Kseniia Sumarokova
e5c714e437
Merge branch 'master' into disable-random-settings-for-s3-with-tsan-and-debug 2022-09-20 16:06:11 +02:00
Kseniia Sumarokova
08d9c68fc9
Merge pull request #41567 from ClickHouse/docker-latest-master
Build latest tags ONLY from master branch
2022-09-20 16:05:44 +02:00
Alexander Tokmakov
f9e7451d88
Merge pull request #41343 from azat/deadlock-fix
Fix possible deadlock with async_socket_for_remote/use_hedged_requests and parallel KILL
2022-09-20 16:59:31 +03:00
Anton Popov
802c0c8572
Merge pull request #41472 from ClickHouse/fix_sort_desc_when_read_in_order
Fix: sort description for ReadFromMergeTree with read in order optimization
2022-09-20 15:41:53 +02:00
DanRoscigno
bf4b12be43 rename doc 2022-09-20 09:32:35 -04:00
Alexander Tokmakov
084f7115aa
Merge pull request #41509 from ClickHouse/tavplubix-patch-5
Fix flaky 01233_check_table_with_metadata_cache
2022-09-20 15:47:35 +03:00
Mikhail f. Shiryaev
2dff307770
Build latest tags ONLY from master branch 2022-09-20 14:31:04 +02:00
Alexander Tokmakov
f6fd4bc3d3
Merge pull request #41540 from den-crane/test/02373_datetime64_monotonicity
fix datetime64_monotonicity flacky test
2022-09-20 14:44:48 +03:00
Alexander Tokmakov
c60a528c3c
Merge branch 'master' into test/02373_datetime64_monotonicity 2022-09-20 14:44:06 +03:00
Alexander Tokmakov
c8f2820bf1
Merge pull request #41467 from azat/kill-query/lock-fix
Fix possible hung/deadlock on query cancellation
2022-09-20 13:59:55 +03:00
alesapin
8d88b68a85
Merge pull request #41415 from ClickHouse/revert_prefixes_s3
Revert prefixes s3 + add retries on write requests unexpected errors
2022-09-20 12:55:04 +02:00
Kseniia Sumarokova
f3844b5e25
Update clickhouse-test 2022-09-20 12:25:51 +02:00
Vitaly Baranov
f58f8104b5
Merge pull request #41474 from vitlibar/mask-some-info-in-logs
Mask some information in logs.
2022-09-20 12:11:02 +02:00
Nikolai Kochetov
46c955a469
Merge pull request #41387 from ClickHouse/run-dns-cache-updater-earlier
Enable DNS cache updater earlier.
2022-09-20 12:04:05 +02:00
Kseniia Sumarokova
3c7bbad0b0
Merge pull request #41437 from kssenii/fix-logical-error-write-through-cache
Fix assertion in write-through cache
2022-09-20 11:51:19 +02:00
Kseniia Sumarokova
fb93ca7ca8
Merge pull request #41510 from kssenii/maybe-fix-storage-nats-tests
Try fix flaky test_storage_nats
2022-09-20 11:32:10 +02:00
Robert Schulze
d8df7bee91
Merge branch 'master' into fix-nondeterminstic-test-results 2022-09-20 11:03:01 +02:00
Mikhail f. Shiryaev
34b9861991
Merge pull request #41531 from ClickHouse/deb-source
Add deb Source for packages
2022-09-20 10:19:50 +02:00
Vladimir C
4935bf60b7
Merge pull request #41130 from ClickHouse/vdimir/decimal-in-41125 2022-09-20 10:07:50 +02:00
Vladimir C
befc0440e3
Merge pull request #41511 from Algunenano/batch_nullable_assert 2022-09-20 09:21:52 +02:00
Antonio Andelic
22fe3b947e
Merge pull request #41520 from ClickHouse/fix-log-saving-for-stateless-tests
Add option for loading only system tables with clickhouse-local
2022-09-20 08:23:47 +02:00
Alexey Milovidov
03bbf0676f
Merge branch 'master' into revert_prefixes_s3 2022-09-20 06:14:07 +03:00
Alexey Milovidov
37a4be249b
Merge pull request #41483 from amosbird/jbod-fix1
Fix nullptr dereference in DB::VolumeJBOD::reserve
2022-09-20 06:08:14 +03:00
Alexey Milovidov
1d751ae125
Merge pull request #41497 from ClickHouse/auto/v22.6.8.35-stable
Update version_date.tsv and changelogs after v22.6.8.35-stable
2022-09-20 06:06:21 +03:00
Alexey Milovidov
4673a8ac52
Merge pull request #41501 from kssenii/fix-load-marks-test
Fix 02417_load_marks_async
2022-09-20 06:05:39 +03:00
Denny Crane
5e801fae48 fix datetime64_monotonicity flacky test 2022-09-19 21:37:35 -03:00
Sergei Trifonov
cf2db48c29
Merge pull request #40631 from ClickHouse/readonly-settings-allow
Allow to modify constrained settings in readonly mode
2022-09-20 02:18:14 +02:00
Sergei Trifonov
358c5a0139
Merge pull request #41532 from ClickHouse/s3-api-calls-events-for-disk-s3
Detailed S3 profile events `DiskS3*` per S3 API call split for S3 ObjectStorage
2022-09-20 02:10:50 +02:00
Vitaly Baranov
b1199878ad
Merge pull request #39977 from vitlibar/improve-recovery-of-replicated-access-storage
Improve recovery of ReplicatedAccessStorage after errors.
2022-09-20 00:36:30 +02:00
Sergei Trifonov
7902922ae4
Merge branch 'master' into readonly-settings-allow 2022-09-19 21:00:12 +02:00
Alexander Tokmakov
627c948373
Update 01233_check_table_with_metadata_cache.sh 2022-09-19 21:54:38 +03:00
Mikhail f. Shiryaev
5d8b8a7db6
Add deb Source for packages 2022-09-19 20:42:02 +02:00
serxa
2ef696ffe1 fix issues 2022-09-19 18:40:32 +00:00
serxa
7a1d4a404a add DiskS3* profile events per S3 API calls 2022-09-19 18:10:47 +00:00
Robert Schulze
f4b10b62d1
More ORDER BYs 2022-09-19 17:31:11 +00:00
serxa
f8aa738511 more conventional profile events names 2022-09-19 17:23:22 +00:00
serxa
6ed53585ab rearrange and fix profile event descriptions 2022-09-19 17:03:48 +00:00
Sergei Trifonov
d4a7e1892c
Merge pull request #41039 from mateng0915/support_s3_api_event_metrics
Feature: Support Event Tracing when calling Aws S3 API
2022-09-19 19:00:38 +02:00
Igor Nikonov
5de8298ca1
Merge branch 'master' into fix_sort_desc_when_read_in_order 2022-09-19 18:54:42 +02:00
Igor Nikonov
3419a47848 + test 2022-09-19 16:51:43 +00:00
Robert Schulze
3fec42075d
Some houskeeping in tests/queries/0_stateless/00646_url_engine.python
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2022-09-19 18:44:20 +02:00
Sergei Trifonov
51a7cf1295
Merge branch 'master' into support_s3_api_event_metrics 2022-09-19 17:37:28 +02:00
kssenii
ba8cb7c086 Fix 2022-09-19 17:35:13 +02:00
Azat Khuzhin
f76f14a99c Fix possible hung/deadlock on query cancellation
Right due to graceful cancellation of the query, it is possible to hung
accepting new queries or even have a deadlock, this is because
cancellation is done while acquiring ProcessListBase::mutex.

So this patch makes query cancellation lock-free, and now the lock will
be acquired only for preparing the query and after cancel is done.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-19 17:31:21 +02:00
Alexey Milovidov
1d06ddcb9a
Merge pull request #41522 from DerekChia/patch-1
Change input_format_skip_unknown_fields default to 1
2022-09-19 18:29:59 +03:00