Azat Khuzhin
61b2d0ce42
MemoryTracker: Do not ignore server memory limits during blocking by default
2021-01-15 22:46:58 +03:00
alexey-milovidov
b97beea22a
Merge pull request #19101 from ClickHouse/check_compression_codec_read
...
Fix compression codec read for empty files
2021-01-15 20:55:58 +03:00
alexey-milovidov
971ff2ee0a
Merge pull request #19086 from ClickHouse/faster-parts-removal
...
Faster parts removal, more safe and efficient interface of IDisk
2021-01-15 20:37:35 +03:00
alexey-milovidov
ca825f36f1
Merge pull request #18853 from azat/dist-send-checksums
...
Improve checksum checks for async INSERT into Distributed on the sender
2021-01-15 17:12:54 +03:00
alexey-milovidov
8d58ce532a
Merge pull request #19064 from CurtizJ/restrict-modify-ttl
...
Restrict MODIFY TTL for tables created in old syntax
2021-01-15 14:09:47 +03:00
Alexey Milovidov
d553e46a06
Merge branch 'master' into faster-parts-removal
2021-01-15 13:25:20 +03:00
alexey-milovidov
461d370e8d
Merge pull request #19020 from ClickHouse/fix_18879
...
Fix duplicate UUIDs of LiveView on server startup
2021-01-15 13:04:08 +03:00
alesapin
d601faa669
Merge pull request #18935 from fastio/bugfix_attach_partition_does_not_reset_mutation
...
Bugfix: attach partition should reset the mutation
2021-01-15 12:21:16 +03:00
alesapin
e106df2ad0
Fix comment
2021-01-15 12:10:03 +03:00
alesapin
0662d6bd7d
Fix compression codec read for empty files
2021-01-15 12:04:23 +03:00
Azat Khuzhin
ecae6c1c60
Avoid reading the distributed batch just to read the block header
...
Before this patch batched mode of the DirectoryMonitor is 2x slower then
non-batched, after it should be more or less the same as non-batched.
2021-01-14 22:38:46 +03:00
Alexey Milovidov
8276a1c8d2
Faster parts removal, more safe and efficient interface of IDisk
2021-01-14 19:24:13 +03:00
alesapin
09e825e28c
Merge pull request #19040 from ClickHouse/fix_redundant_exception_while_dropping_part
...
Avoid redundant exception while dropping part
2021-01-14 18:59:59 +03:00
Anton Popov
ac426c3da6
restrict MODIFY TTL for tables created in old syntax
2021-01-14 15:32:20 +03:00
Alexander Tokmakov
64975c08e7
fix
2021-01-14 13:33:39 +03:00
alexey-milovidov
2ca185c9f9
Merge pull request #16995 from sundy-li/alias_column_partition_prune
...
Add optimize_respect_aliases
2021-01-14 11:30:45 +03:00
Nikolai Kochetov
7b33ad5e44
Merge pull request #19010 from ClickHouse/fix-insert-lc-to-tiny-log
...
Fix insert LC to TinyLog
2021-01-14 11:25:38 +03:00
alesapin
bfc27254b2
Avoid redundant exception while dropping part
2021-01-14 11:07:13 +03:00
alexey-milovidov
3b02a3ef02
Merge pull request #18976 from ClickHouse/fix_terminate_when_not_enough_memory
...
Finally get rid of allocations in ThreadPool::worker(...)
2021-01-13 23:48:46 +03:00
Alexander Tokmakov
5f0f8ae3cd
fix duplicate UUIDs of LiveView on server startup
2021-01-13 21:13:46 +03:00
Nikolai Kochetov
da0cb8d47f
Added comment.
2021-01-13 16:32:27 +03:00
ygrek
8f2a830d83
add zstd long range option ( #17184 )
...
* add zstd long compression option
* tests: add zstd long read-write test
Co-authored-by: Joris Giovannangeli <joris.giovannangeli@ahrefs.com>
Co-authored-by: ip <igor@ahrefs.com>
2021-01-13 16:22:59 +03:00
Nikolai Kochetov
12f3b22623
Do not skip streams after serializeBinaryBulkStatePrefix.
2021-01-13 15:20:10 +03:00
Alexander Tokmakov
a6510cc4b7
Merge branch 'master' into fix_terminate_when_not_enough_memory
2021-01-13 14:05:54 +03:00
alesapin
c97469773d
Merge pull request #18969 from ClickHouse/fix_drop_part_deduplication
...
Fix DROP PART query break deduplication
2021-01-13 11:50:26 +03:00
alesapin
73e536a074
Merge pull request #18928 from ClickHouse/more_checks_in_writer_wide
...
More checks in merge tree writer wide
2021-01-13 09:59:45 +03:00
Alexander Tokmakov
ff6c3c75c2
add protection from unsafe allocations
2021-01-12 18:41:24 +03:00
alesapin
dead1016d6
Fix deduplication block names parsing
2021-01-12 13:55:02 +03:00
sundy-li
ad01534bd5
Merge branch 'master' into alias_column_partition_prune
2021-01-12 18:28:30 +08:00
alexey-milovidov
2c71b997de
Merge pull request #18464 from hexiaoting/dev_fp_as_pk
...
Disallow floating point as partition key
2021-01-12 13:08:41 +03:00
alesapin
f3e55183ad
Better test and check
2021-01-12 11:46:31 +03:00
tavplubix
1d6bfe8ad7
Merge pull request #18944 from ClickHouse/fix_mutation_commands_escaping
...
Fix mutations text serialization
2021-01-12 11:29:24 +03:00
alesapin
5ae31b8068
Slightly relax check
2021-01-12 10:59:14 +03:00
alesapin
e3a50d13a5
Add missed header
2021-01-11 17:51:23 +03:00
alesapin
b1c4e5b9f2
Fix mutations text escaping
2021-01-11 17:43:05 +03:00
fastio
8dde70b937
Bugfix: attach partition should reset the mutation
2021-01-11 21:26:43 +08:00
alesapin
c5df8f324c
More checks in writer wide
2021-01-11 15:03:00 +03:00
tavplubix
213c653ef8
Merge pull request #17656 from bharatnc/ncb/ddl-worker-queue-table
...
add system.distributed_ddl_queue table
2021-01-11 14:59:26 +03:00
Alexey Milovidov
42f63e14b5
Revert "Auto version update to [21.2.1.1] [54446]"
...
This reverts commit bc2593688e
.
2021-01-11 11:32:52 +03:00
Nikolai Kochetov
ee094ed7fd
Merge pull request #18896 from amosbird/keyconditionalias
...
correct index analysis of WITH aliases
2021-01-11 11:13:28 +03:00
robot-clickhouse
bc2593688e
Auto version update to [21.2.1.1] [54446]
2021-01-11 11:12:11 +03:00
Alexey Milovidov
c7d4d12f72
Auto version update to [21.1.0] [54445]
2021-01-11 03:51:08 +03:00
Azat Khuzhin
56475774d3
Fix readability-static-definition-in-anonymous-namespace in DirectoryMonitor
2021-01-10 23:57:40 +03:00
Azat Khuzhin
2565d2ac44
Verify compressed headers while sending distributed batches
...
Before this patch the DirectoryMonitor was checking the compressed file
by reading it one more time (since w/o this receiver may stuck on
truncated file), while this is ineffective and we can just check the
checksums before sending.
But note that this may decrease batch size that is used for sending over
network.
2021-01-10 21:23:42 +03:00
Azat Khuzhin
819b9d7d56
Add more metadata into distributed .bin files to avoid doing the same on sending
...
Before this patch StorageDistributedDirectoryMonitor reading .bin files
in batch mode, just to calculate number of bytes/rows, this is very
ineffective, let's just store them in the header (rows/bytes).
2021-01-10 18:17:15 +03:00
Azat Khuzhin
fce8b6b5ef
Refactoring distributed header parsing
2021-01-10 18:17:15 +03:00
Azat Khuzhin
676bc83c6d
Check per-block checksum of the distributed batch on the sender before sending
...
This is already done for distributed_directory_monitor_batch_inserts=1,
so let's do the same for the non batched mode, since otherwise in case
the file will be truncated the receiver will just stuck (since it will
wait for the block, but the sender will not send it).
2021-01-10 18:17:14 +03:00
alexey-milovidov
1921494bc9
Merge pull request #18864 from azat/dist-fsync
...
Add fsync support for Distributed engine.
2021-01-10 13:16:13 +03:00
alexey-milovidov
571e37188a
Merge pull request #18886 from ClickHouse/remove-useless-code-4
...
Remove useless code
2021-01-10 13:13:17 +03:00
Amos Bird
44758935df
correct index analysis of WITH aliases
2021-01-10 17:40:47 +08:00