Commit Graph

160207 Commits

Author SHA1 Message Date
vdimir
ceea266253
fix 2024-12-02 11:09:03 +00:00
Dmitry Novik
7e00e604fa Fix test 2024-12-02 12:01:24 +01:00
Anton Popov
5ad8c8beaf Merge remote-tracking branch 'upstream/master' into HEAD 2024-12-02 10:53:48 +00:00
Raúl Marín
b22e434f80 Merge remote-tracking branch 'blessed/master' into remove_trash_from_contrib 2024-12-02 11:53:11 +01:00
Raúl Marín
c6c60eb5c7 Merge remote-tracking branch 'blessed/master' into obsolete_macro 2024-12-02 11:52:19 +01:00
Vladimir Cherkasov
7b9973ef8f
Merge branch 'master' into vdimir/residual_join_conditions 2024-12-02 11:38:00 +01:00
Vladimir Cherkasov
e8dab58d2d
Merge pull request #70957 from bigo-sg/tostring-fix
Function cast support Spark text output
2024-12-02 10:28:35 +00:00
Alexander Tokmakov
12ac21f10f fix flatten_nested when recovering a Replicated db 2024-12-02 11:08:43 +01:00
Dmitry Novik
ad5a571d7a Preserve table expression counting 2024-12-02 10:58:26 +01:00
Max Kainov
f9b0cc44f7
Merge branch 'master' into auto/v24.10.3.21-stable 2024-12-02 10:56:38 +01:00
Raúl Marín
0a5a0a2973
Merge pull request #72402 from Algunenano/keeper_fault
Better error message on bad keeper snapshots
2024-12-02 09:24:16 +00:00
Alexander Gololobov
499a39c614 Smoke test 2024-12-02 10:09:44 +01:00
Vitaly Baranov
62ed8679ad
Merge pull request #72655 from ClickHouse/vitlibar-fix-formatting-in-interpreter-create-query
Fix formatting in InterpreterCreateQuery.cpp
2024-12-02 09:04:31 +00:00
Antonio Andelic
541098d0c6
Merge pull request #72584 from ClickHouse/update-nuraft
Update NuRaft
2024-12-02 07:50:12 +00:00
Antonio Andelic
8b5e00d3f2
Merge pull request #72630 from ClickHouse/better-memory-usage-estimation
Better memory usage approx of `MarksInCompressedFile`
2024-12-02 07:49:38 +00:00
shuai-xu
f201119575 refine codes 2024-12-02 12:28:38 +08:00
shuai-xu
d2b4448fb1 some refines 2024-12-02 12:28:38 +08:00
shuai-xu
39740d2ed9 some refines 2024-12-02 12:28:38 +08:00
shuai-xu
eaa31d04c1 fix test 2024-12-02 12:28:38 +08:00
shuai-xu
be117a1da3 fix confilic 2024-12-02 12:28:37 +08:00
shuai-xu
ee152f8c53 fix tests 2024-12-02 12:28:37 +08:00
shuai-xu
e1011929e7 fix test failure 2024-12-02 12:28:37 +08:00
shuai-xu
098e20d9b9 translate support second arg longer than the third 2024-12-02 12:28:37 +08:00
zhanglistar
3c3f1c919d
Merge branch 'master' into tostring-fix 2024-12-02 12:21:00 +08:00
Yakov Olkhovskiy
54108d5c16 fix tidy 2024-12-02 00:08:00 +00:00
Nikita Taranov
a2b18f2e2b fix test 2024-12-01 23:31:51 +01:00
alesapin
4f596388a2
Merge pull request #72556 from ClickHouse/devirtualize_serialize_call
Devirtualize serialize call in AggregateFunction
2024-12-01 21:18:38 +00:00
Yakov Olkhovskiy
a929dc7df5 fix 2024-12-01 19:16:41 +00:00
Yakov Olkhovskiy
90e1ca8cb0 add reference to relevant settings for mysql table function 2024-12-01 19:07:43 +00:00
Azat Khuzhin
88a3dbe716 Fix inaccurate MemoryTracking metric in case of allocation failures
MemoryTracking metric takes into account memory allocation even in case
of this allocation will fail with MEMORY_LIMIT_EXCEEDED, which is not
good, which eventually will lead to `amount` and `MemoryTracking`
mismatch, I found one server with **43x difference**.

<details>

```sql
SELECT
    event_time_microseconds,
    message
FROM system.text_log
WHERE (event_date = (today() - 1)) AND (logger_name = 'MemoryTracker') AND (message LIKE '%total%')
ORDER BY 1 DESC
LIMIT 1

Query id: 64d60852-fa14-4ed1-adb1-d4bbd6159475

   ┌────event_time_microseconds─┬─message───────────────────────────────────┐
1. │ 2024-11-27 05:09:48.157608 │ Current memory usage (total): 471.00 GiB. │
   └────────────────────────────┴───────────────────────────────────────────┘
```

```sql
SELECT
    metric,
    formatReadableSize(value)
FROM system.metrics
WHERE (metric ILIKE '%mem%') OR (metric ILIKE '%jemalloc%')
ORDER BY value ASC

Query id: af7908a8-956a-4684-b7c5-b2e0c6fa06f4

   ┌─metric────────────────────────┬─formatReadableSize(value)─┐
1. │ MergesMutationsMemoryTracking │ 0.00 B                    │
2. │ MemoryTracking                │ 20.37 TiB                 │
   └───────────────────────────────┴───────────────────────────┘
```

</details>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-01 19:48:25 +01:00
Antonio Andelic
e940ceaacc Merge branch 'master' into better-memory-usage-estimation 2024-12-01 19:16:37 +01:00
Yakov Olkhovskiy
76dee30dee make Field rvalue reference safeGet to return a copy of its content instead of reference 2024-12-01 17:54:05 +00:00
Nikita Taranov
0041fdf497 impl 2024-12-01 18:50:55 +01:00
Antonio Andelic
e95c35e460 Merge branch 'master' into update-nuraft 2024-12-01 18:43:15 +01:00
Alexey Milovidov
2326d12969
Merge pull request #72656 from ClickHouse/http_response_headers
Add `http_response_headers` setting
2024-12-01 14:01:59 +00:00
“JiaQi
14d07d8dcf bug fix 2024-12-01 21:00:17 +08:00
Alexey Milovidov
e841e74d32 Add http_response_headers setting 2024-11-30 23:24:51 +01:00
Alexey Milovidov
2372e9fece Add http_response_headers setting 2024-11-30 22:53:13 +01:00
Alexey Milovidov
bdff47973a Check for duplicates 2024-11-30 22:14:42 +01:00
Alexey Milovidov
87601d461f Add http_response_headers setting 2024-11-30 22:05:03 +01:00
Alexey Milovidov
076a8f8d9e Add http_response_headers setting 2024-11-30 22:02:26 +01:00
alesapin
1d0caf1c90 Trivial change 2024-11-30 18:51:24 +01:00
alesapin
3bc731541c Add test 2024-11-30 18:39:56 +01:00
alesapin
38bd543a42 Add finals 2024-11-30 18:39:26 +01:00
Anton Popov
6d0876b828 try to fix test 2024-11-30 13:47:41 +00:00
Vitaly Baranov
9554d355b9
Fix formatting in InterpreterCreateQuery.cpp 2024-11-30 12:43:38 +01:00
Sema Checherinda
0a9ac03671 add assert in d-tor ReplicatedMergeTreeSinkImpl 2024-11-30 12:37:18 +01:00
Sema Checherinda
a95d19806b fix chassert in d-tor MergeTreeSink 2024-11-30 12:33:42 +01:00
Sema Checherinda
049fa54c4d
Revert "Revert "make d-tor Finalizer more obvious"" 2024-11-30 12:31:24 +01:00
Sema Checherinda
dc4bbc8d73
Merge pull request #72642 from ClickHouse/revert-72395-chesema-dtor-Finalizer
Revert "make d-tor Finalizer more obvious"
2024-11-30 11:00:24 +00:00