Alexander Tokmakov
35c5483ad2
Update WriteBufferFromOStream.cpp
2023-06-22 14:56:20 +03:00
Alexander Tokmakov
6929a9b852
Update WriteBufferFromOStream.cpp
2023-06-22 14:01:28 +03:00
Michael Kolupaev
c96a3a8b15
Unforget to pass callback to readBigAt() in ParallelReadBuffer
2023-06-21 17:14:19 -07:00
Sema Checherinda
01de36f1fa
Merge pull request #50395 from CheSema/better-log
...
require `finalize()` call before d-tor for all writes buffers
2023-06-21 21:12:02 +02:00
Kruglov Pavel
bbd70932e2
Merge pull request #51158 from Avogar/extend-progress-protocol
...
Add total_bytes_to_read to Progress packet in TCP protocol for better progress bar
2023-06-21 12:43:45 +02:00
Kruglov Pavel
8f8cd97fd8
Merge pull request #51088 from Avogar/better-progress-bar
...
Improve progress bar for file/s3/hdfs/url table functions. Step 1
2023-06-21 12:42:25 +02:00
Sema Checherinda
4d08df8d29
fix finalization of cascade write buffer
2023-06-21 12:27:39 +02:00
Sema Checherinda
9b0c3359cf
Merge branch 'master' into better-log
2023-06-20 20:37:36 +02:00
Sema Checherinda
fd292dc730
work with comment on the PR
2023-06-20 20:02:04 +02:00
Sergei Trifonov
5867f39fc7
Merge pull request #50675 from ClickHouse/unify-priorities-pools
...
Unify priorities for connection pools
2023-06-19 17:16:15 +02:00
avogar
cf8f277c32
Add total_bytes_to_read to TCP protocol for better Progress bar
2023-06-19 13:58:08 +00:00
Sema Checherinda
ce7cd67981
finalize CascadeWriteBuffer
2023-06-18 17:35:12 +02:00
Michael Kolupaev
03baa19e88
Fix ParallelReadBuffer seek
2023-06-16 17:50:51 -07:00
Sema Checherinda
e8d4dedbcc
fix build and tests
2023-06-16 19:52:52 +02:00
avogar
3209ebe34b
Improve progress bar for file/s3/hdfs/url table functions. Step 1
2023-06-16 15:51:18 +00:00
Salvatore Mesoraca
6b49968bc4
Generate safe IVs
...
IVs should never be re-used when using CTR.
The previous implementation had a 50% probability to generate
an IV that was already used after 65536 generations.
This happens because std::mt19937 is seeded using a 32bit integer
and returns a 32 bits integer.
Because of the birthday problem, collisions have a 50% chance after
only 2^16 IV's generations.
CH uses one IV per file and, for most use cases, 65k files are
not as many as they seem.
Also, the initial entropy is gathered using std::random_device
which is "best-effort" and it's allowed by the standard to
return a fixed sequence of numbers.
2023-06-16 17:09:08 +02:00
Sema Checherinda
47484faace
do abort/cancel/deletion merge/mutate task with exception context
2023-06-16 16:48:21 +02:00
Sema Checherinda
cf31fdb4d5
no finalize at d-tor in compression
2023-06-16 16:38:18 +02:00
Sema Checherinda
d21fc22607
fix 02428_combinators_with_over_statement
2023-06-16 16:38:18 +02:00
Sema Checherinda
1cb02e2710
do call finalize for all buffers
2023-06-16 16:38:18 +02:00
Sema Checherinda
9a4962bd68
add error log message when no finalize called before d-tor
2023-06-16 16:38:18 +02:00
Robert Schulze
74cb79769b
Merge pull request #50925 from arenadata/ADQM-812
...
Implement support of syslog format in the parseDateTimeBestEffort() function
2023-06-15 21:04:50 +02:00
Kseniia Sumarokova
31e08635bf
Merge branch 'master' into unify-priorities-pools
2023-06-15 12:51:45 +02:00
Kseniia Sumarokova
e2d8299b23
Merge pull request #50952 from nickitat/fix_remote_read_perf_degr
...
Fix logic in `AsynchronousBoundedReadBuffer::seek`
2023-06-14 11:25:26 +02:00
Nikita Taranov
1bc5598aa7
impl
2023-06-13 20:02:50 +02:00
Victor Krasnov
f01b96f9f9
Merge branch 'master' into ADQM-812
2023-06-13 19:52:10 +03:00
Robert Schulze
8358d29ac7
Merge pull request #50405 from ClibMouse/feature/reservoir-sampler-big-endian-support
...
Implement big-endian support for the deterministic reservoir sampler
2023-06-13 09:55:23 +02:00
Victor Krasnov
b3ef2a4860
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-812
2023-06-13 03:55:38 +00:00
Alexey Milovidov
ed9c7c9841
Merge pull request #50711 from kssenii/get-rid-of-uneeded-code
...
Refactor reading from object storages
2023-06-10 19:10:25 +03:00
Yakov Olkhovskiy
393c0c3a4f
Merge pull request #50240 from aalexfvk/fix_https_replication_changed_ip_bug
...
Fix reconnecting of HTTPS session when target host IP was changed
2023-06-08 08:58:48 -04:00
kssenii
1cbcd2f2ef
Refactor reading from object storages
2023-06-08 14:33:59 +02:00
serxa
2df0e0c669
Unify priorities for connections
2023-06-07 16:25:52 +00:00
Nikita Mikhaylov
e87348010d
Rework loading and removing of data parts for MergeTree tables. ( #49474 )
...
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-06-06 14:42:56 +02:00
Victor Krasnov
3f77b778e3
Fix runtime bug
2023-06-06 11:42:45 +03:00
Robert Schulze
2e16b497f5
Merge pull request #50519 from ClibMouse/feature/uuid-serialization
...
Implement endianness-independent serialization for UUID
2023-06-06 09:18:19 +02:00
Victor Krasnov
6d25e5a0d7
Substitute missing year in parseDateTimeBestEffortImpl()
2023-06-06 07:37:14 +03:00
Michael Kolupaev
9f80900d6f
Changes related to an internal feature
2023-06-05 18:20:38 -07:00
ltrk2
35439a8b06
Use reverse iterator for little-endian version
2023-06-05 10:47:52 -07:00
ltrk2
3938309374
Implement review comments
2023-06-05 08:18:03 -07:00
Alexey Milovidov
fb4e950f9f
Merge pull request #50546 from auxten/patch-1
...
Resize BufferFromVector underlying vector only pos_offset == vector.size()
2023-06-05 11:12:57 +03:00
Alexey Milovidov
d66962b864
Merge pull request #50252 from Avogar/fix-secure-async-read-write
...
Fix bugs in Poco sockets in non-blocking mode, use true non-blocking sockets
2023-06-05 06:44:22 +03:00
auxten
e5c95add52
use old_size
...
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-06-05 08:43:55 +08:00
Alexey Gerasimchuk
9958731c27
Merge branch 'master' into ADQM-830
2023-06-05 07:46:47 +10:00
auxten
db806bd394
Resize underlying vector only pos_offset == vector.size()
2023-06-04 17:44:29 +08:00
Alexey Milovidov
8c1091dc58
Merge branch 'master' into fix-secure-async-read-write
2023-06-04 05:06:59 +03:00
Sema Checherinda
2177e562b8
Merge pull request #50518 from CheSema/lesser-traces
...
less traces in logs
2023-06-03 10:57:45 +02:00
ltrk2
50654435dc
Implement endianness-independent serialization for UUID
2023-06-02 19:36:37 +00:00
Sema Checherinda
991d1b97fc
less traces in logs
2023-06-02 20:48:31 +02:00
Kseniia Sumarokova
7b0d1531c2
Merge pull request #50444 from CheSema/less-logs-second-try
...
Revert "Revert "less logs in WriteBufferFromS3" (#50390 )"
2023-06-02 18:43:44 +02:00
Kruglov Pavel
9922053419
Merge pull request #49948 from Avogar/handshake-timeout
...
Add separate handshake_timeout for receiving Hello packet from replica
2023-06-02 14:07:27 +02:00