alexey-milovidov
2df93a6d21
Merge pull request #8756 from azat/distributed_storage_configuration
...
Multiple disks/volumes for storing data for send in Distributed engine
2020-01-26 02:19:28 +03:00
Maxim Akhmedov
382eed249f
Fix style issue.
2020-01-26 00:33:32 +03:00
Vladimir Chebotarev
ca2d381743
Prettier removal of part data on destroy.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
b35a6d1ce3
Got rid of ugly relative paths while deleting on destroy.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
2d749630b7
Fixed temporary path for part being erased.
2020-01-26 00:27:46 +03:00
Vladimir Chebotarev
3f11569d94
"Atomically" remove parts on destroy.
2020-01-26 00:27:46 +03:00
Maxim Akhmedov
338bd3e919
Remove commented line.
2020-01-25 23:39:53 +03:00
Maxim Akhmedov
d6f72dc2ce
Specify supported features for each storage engine, expose them via system.table_engines table, properly check feature support in storage factory.
2020-01-25 22:44:52 +03:00
Azat Khuzhin
e5a43d2751
Add ability to use multiple disks/volumes for Distributed engine
...
Now Distributed() has gain the 5-th argument -- policy name (for storing
data to send):
CREATE TABLE foo (key Int) Engine=Distributed(test_shard_localhost, currentDatabase(), some_table, key%2, 'default');
2020-01-25 20:52:31 +03:00
alexey-milovidov
dc90d42e1e
Merge pull request #8305 from ClickHouse/Vxider-parallel-insert
...
Vxider parallel insert
2020-01-25 20:30:50 +03:00
alexey-milovidov
df4f0c7379
Merge pull request #8805 from azat/force_optimize_skip_unused_shards
...
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-25 17:37:59 +03:00
Alexander Tokmakov
f9cfc6be3a
fix LiveView dependencies
2020-01-25 01:51:23 +03:00
Nikolai Kochetov
302d6b55ca
Fix build.
2020-01-24 21:33:47 +03:00
Nikolai Kochetov
7385d3f643
Processors for StorageSystemTables.
2020-01-24 21:25:21 +03:00
Nikolai Kochetov
d53aa80d83
Processors for StorageSystemStoragePolicies.
2020-01-24 21:17:02 +03:00
Azat Khuzhin
6939ffeabf
force_optimize_skip_unused_shards setting to throw if skipping is not possible
2020-01-24 21:15:40 +03:00
Nikolai Kochetov
16106a03c6
Processors for StorageSystemReplicas.
2020-01-24 21:13:17 +03:00
Nikolai Kochetov
0e6362ef7f
Processors for StorageSystemPartsBase.
2020-01-24 21:01:21 +03:00
Nikolai Kochetov
9a223a05a5
Processors for StorageSystemOne.
2020-01-24 20:57:27 +03:00
Nikolai Kochetov
ffa3b3c665
Processors for StorageSystemDisks and StorageSystemDetachedParts.
2020-01-24 20:49:14 +03:00
Mikhail Korotov
9e5a88ec89
Merge branch 'Prohibition_secondary_index_with_old_format_merge_tree' of https://github.com/millb/ClickHouse into Prohibition_secondary_index_with_old_format_merge_tree
2020-01-24 19:48:17 +03:00
millb
3299db778b
changes applied
2020-01-24 19:47:05 +03:00
Nikolai Kochetov
c3d0c26659
Processors for SystemColumns.
2020-01-24 19:13:46 +03:00
Nikolai Kochetov
dc49635ed4
Processors for IStorageSystemOneBlock.
2020-01-24 18:42:31 +03:00
Nikolai Kochetov
61154da744
Processors for IStorageSystemOneBlock.
2020-01-24 18:32:17 +03:00
Nikolai Kochetov
cab636cb62
Merged with master.
2020-01-24 18:10:24 +03:00
Anton Popov
9fe94ca5f7
fix confusing logic (addition to #8800 )
2020-01-24 13:47:19 +03:00
alexey-milovidov
de32863f73
Merge pull request #8791 from excitoon-favorites/fixdestructeddatapart
...
Fixed bug with `MergeTreeReadPool`
2020-01-24 06:37:18 +03:00
alexey-milovidov
105b61b2af
Merge pull request #8800 from CurtizJ/fix-alter-with-ttl
...
Fix alters if there is set TTL for table.
2020-01-24 06:30:45 +03:00
Nikolai Kochetov
4a4de82648
Merged with master
2020-01-23 18:44:26 +03:00
CurtizJ
b5d8baee71
fix alters if ttl is set
2020-01-23 16:04:06 +03:00
Vladimir Chebotarev
a362664cc1
Better handling of per_part_columns_lock
.
2020-01-23 13:08:35 +03:00
Ivan
b80e3dcd46
Refactoring of replxx ( #8748 )
2020-01-23 11:18:19 +03:00
Pavel Kovalenko
dce424fe11
SeekableReadBuffer initial implementation. IDisk readFile should return SeekableBuffer.
2020-01-22 19:17:25 +03:00
Alexey Milovidov
5d33bedf80
Whitespace
2020-01-21 22:18:40 +03:00
alesapin
bef1eaeb98
Merge pull request #8753 from ClickHouse/fix_database_memory_wrong_data_path
...
Fix wrong data path in DatabaseMemory
2020-01-21 20:21:10 +03:00
Alexander Tokmakov
cdfc17e9b1
check path in constructor
2020-01-21 14:11:11 +03:00
Nikolai Kochetov
c28e224e24
Merge pull request #8735 from ClickHouse/processors-5.12
...
Processors 5.12
2020-01-21 11:51:07 +03:00
Alexander Tokmakov
05c4405b65
fix
2020-01-20 23:08:47 +03:00
alesapin
47578b8dc1
Remove some garbage
2020-01-20 17:28:51 +03:00
Alexey Milovidov
09f3890b20
Merge branch 'master' into GrigoryPervakov-vfs-s3
2020-01-20 15:39:15 +03:00
alesapin
3716d4f7e3
Merge with master
2020-01-20 12:21:05 +03:00
Nikolai Kochetov
76171c7afc
Do not add resize transform for SystemNumbers.
2020-01-20 10:24:28 +03:00
alexey-milovidov
c711ce500b
Merge pull request #8422 from excitoon-favorites/bettertestalterttl
...
Fixed `ALTER MODIFY TTL`
2020-01-19 04:53:11 +03:00
Alexey Milovidov
db1bb630e0
Fixed configuration of replxx
2020-01-19 03:23:35 +03:00
Alexey Milovidov
2d39e5ad8c
Merging DiskS3
2020-01-19 02:18:23 +03:00
Alexey Milovidov
ae7b9a652b
Merge branch 'vfs-s3' of https://github.com/GrigoryPervakov/ClickHouse into GrigoryPervakov-vfs-s3
2020-01-19 01:12:05 +03:00
alexey-milovidov
7583f8744a
Merge branch 'master' into bettertestalterttl
2020-01-19 01:03:25 +03:00
alexey-milovidov
52e8252653
Merge pull request #8650 from ClickHouse/remove_istorage_weak_ptr
...
Get rid of StorageWeakPtr
2020-01-18 20:28:53 +03:00
alexey-milovidov
3f3a9e69b0
Merge pull request #8672 from excitoon/patch-7
...
Fixed `MergeTreeData::areBackgroundMovesNeeded` according to move TTL feature
2020-01-18 20:20:00 +03:00
alexey-milovidov
85f395a8ee
Merge pull request #8680 from excitoon-favorites/criticalbugwithmove
...
Fixed a bug with double move which corrupt original part
2020-01-18 20:19:03 +03:00
Alexey Milovidov
f7efa5e2c7
Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx
2020-01-18 17:00:59 +03:00
alesapin
be5fb9a517
Less comments
2020-01-17 23:55:31 +03:00
alesapin
fa5aa5fe6a
Remove debug print
2020-01-17 22:09:22 +03:00
alesapin
795f36b110
Better defaults
2020-01-17 18:46:26 +03:00
alesapin
d2e9ed3898
Commented tons of debug prints
2020-01-17 17:48:56 +03:00
alesapin
750b9d9e55
Fix very strange bug
2020-01-17 17:39:18 +03:00
alesapin
58b9e73a7a
Better working on files names
2020-01-17 16:54:22 +03:00
Vladimir Chebotarev
e7fb7d1288
Improved areBackgroundMovesNeeded()
method.
2020-01-17 16:30:54 +03:00
Vladimir Chebotarev
0ba869a1ca
Fixed MergeTreeData::areBackgroundMovesNeeded
according to move TTL feature.
2020-01-17 16:24:44 +03:00
Vladimir Chebotarev
cb416b0bfd
Minor review fixes.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
4f1f9e7e42
Fixed concurrency problems in ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
585e0453a6
Added clearing of old DELETE expression during ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
17dfea217b
Fixed errors with ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Pervakov Grigory
b0b3842b57
Add remove to IDisk interface, fix issues
2020-01-17 14:34:39 +03:00
Pervakov Grigory
70e50ecf10
Base implementation of IDisk interafce for S3
2020-01-17 14:34:39 +03:00
alesapin
d39f1a0fce
Better nested handling
2020-01-16 17:18:09 +03:00
Vladimir Chebotarev
48855d9ba9
Added comment to cloned_part->renameTo()
.
2020-01-16 14:52:43 +03:00
alexey-milovidov
f4dee9a76e
Merge pull request #8666 from ClickHouse/filimonov-typo-fix
...
typo fix
2020-01-16 13:24:00 +03:00
Vladimir Chebotarev
3e5a6aa83d
Fixed a bug with double move which corrupt original part.
2020-01-16 10:11:55 +03:00
alesapin
2a8873a9b7
Better
2020-01-15 19:18:11 +03:00
alesapin
92648955c4
Almost working drop
2020-01-15 16:47:00 +03:00
filimonov
681f5df66f
typo fix
2020-01-15 14:30:21 +01:00
alesapin
2abf4bbc95
Not working state
2020-01-15 16:00:08 +03:00
Alexander Tokmakov
5e2badd9b8
Merge branch 'master' into table_name_in_istorage
2020-01-15 14:55:20 +03:00
Olga Khvostikova
53ae368d9c
Add virtual columns to hdfs and file table functions ( #8489 )
...
* Add virtual column _path to hdfs and file table functions with test
* Fix const of headers
* Add column _file with tests
* Add docs
* Fix improper resolve conflicts
* Fix links in docs
* Better condition for virtual columns proccessing in StorageFile
* better condition for virtual columns processing in StorageHDFS
2020-01-15 10:52:45 +03:00
Nikita Mikhaylov
0e0dd80abf
Merge pull request #6168 from PerformanceVision/move_partition
...
Alter command for move a specific partition from MergeTree table
2020-01-14 22:32:10 +04:00
Alexander Tokmakov
9521b0ebe5
remove proxystorage
2020-01-14 20:10:19 +03:00
Alexander Tokmakov
ff1b7e1386
get rid of StorageWeakPtr
2020-01-14 19:54:25 +03:00
alesapin
e7aa209bf3
Merge branch 'master' into alter_on_top_of_mutations
2020-01-14 11:26:27 +03:00
robot-clickhouse
e8e820cfd4
Auto version update to [20.2.1.1] [54432]
2020-01-13 22:21:08 +03:00
Nikolai Kochetov
bcc0cd8e47
Fix build.
2020-01-13 21:25:10 +03:00
alexey-milovidov
d78290b7ec
Merge pull request #8107 from excitoon-favorites/alterpolicy
...
Allow to change `storage_policy` to not less rich one
2020-01-13 21:02:47 +03:00
Nikolai Kochetov
a6fc528805
Merge branch 'master' into Vxider-parallel-insert
2020-01-13 20:59:42 +03:00
alesapin
a90ab99282
Maybe it will compile better
2020-01-13 19:40:30 +03:00
alesapin
bc59e473e8
Some thoughts on non blocking alter
2020-01-13 19:39:20 +03:00
alexey-milovidov
166e44922f
Merge pull request #8625 from Vxider/fix-liveview-timestamp
...
fix liveview timestamp bug
2020-01-13 17:55:10 +03:00
alexey-milovidov
192580b60f
Update MergeTreeData.h
2020-01-13 17:45:13 +03:00
Alexander Tokmakov
9389c83d4d
Merge branch 'master' into table_name_in_istorage
2020-01-13 14:41:42 +03:00
Guillaume Tassery
377d20185e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition
2020-01-13 04:16:27 +01:00
Guillaume Tassery
33698588d7
Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove_partition
2020-01-13 04:13:58 +01:00
alexey-milovidov
303b146a93
Merge branch 'master' into vfs_log
2020-01-12 20:16:30 +03:00
Vxider
1019cf42d8
fix timestamp
2020-01-13 00:12:11 +08:00
alexey-milovidov
f051844eb7
Merge branch 'master' into replxx
2020-01-11 19:59:33 +03:00
alexey-milovidov
c270830b0a
Merge pull request #8535 from ClickHouse/distributed-format
...
Distributed format
2020-01-11 19:19:11 +03:00
Pradeep Chhetri
4941fdfe4b
Fix some spelling mistakes
2020-01-11 17:51:33 +08:00
alexey-milovidov
3567a09360
Update StorageTinyLog.cpp
2020-01-11 00:55:14 +03:00
Alexander Burmak
26511b7978
Added DiskMemory and tests
2020-01-11 00:43:42 +03:00
alesapin
b29fa1b143
Merge pull request #8614 from ClickHouse/fix_alter_codec
...
Fix alter codec bug
2020-01-10 23:15:45 +03:00
alexey-milovidov
5e29fe3425
Merge pull request #8475 from ClickHouse/aku/logical-error-assert
...
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-10 19:58:39 +03:00
alexey-milovidov
6ef19d3630
Merge pull request #8549 from excitoon-favorites/mergedownwards
...
Do not allow to merge data moving it against storage policy volume order
2020-01-10 19:21:21 +03:00
alesapin
9d55de8aef
Fix alter codec bug
2020-01-10 18:26:40 +03:00
Alexander Burmak
ec1a490935
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2020-01-10 15:04:20 +03:00
Alexander Tokmakov
902615a2f7
Merge branch 'master' into table_name_in_istorage
2020-01-10 14:51:21 +03:00
Guillaume Tassery
121d651914
remove local partition on replicated storage as well
2020-01-10 12:08:56 +01:00
Guillaume Tassery
5f8297b307
Remove outdated partition on shutdown
2020-01-10 10:46:24 +01:00
alexey-milovidov
5ec160f962
Merge pull request #8595 from ClickHouse/aku/merge-verbose-error
...
Report a more verbose error when unable to select parts to merge.
2020-01-10 10:12:04 +03:00
alesapin
fb4e2c9a53
Merge pull request #8588 from ClickHouse/fix_mutation_size_limit
...
Fix mutation size limit
2020-01-09 22:51:07 +03:00
Alexander Kuzmenkov
3999675383
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-09 19:58:32 +03:00
alexey-milovidov
8d9f85cf22
Merge pull request #8314 from javisantana/fix/no_wait_for_no_active_replicas
...
check for active replicas when waiting for commands
2020-01-09 19:54:07 +03:00
alexey-milovidov
58e6041477
Merge pull request #8503 from zhang2014/fix/some_predicate_bug
...
try fix some predicate optimizer bug
2020-01-09 19:48:16 +03:00
alexey-milovidov
7dcc00d996
Merge pull request #8572 from ClickHouse/full-text-index-useless-code
...
Removed useless code, added comments
2020-01-09 19:47:51 +03:00
Alexander Tokmakov
b54b46b057
fix build
2020-01-09 19:32:21 +03:00
Ivan Lezhankin
5950f6c081
Merge remote-tracking branch 'upstream/master' into replxx
2020-01-09 19:21:04 +03:00
Alexander Tokmakov
a1ff29b7e6
fix empty table name
2020-01-09 19:01:44 +03:00
Alexander Kuzmenkov
2c73233e82
Report a more verbose error when unable to select parts to merge.
2020-01-09 18:38:16 +03:00
Alexander Tokmakov
54a75269cb
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:46:23 +03:00
Alexander Tokmakov
9b75ee2378
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:33:58 +03:00
Vladimir Chebotarev
99a5830f0a
Added a check for existing data on new disk.
2020-01-09 16:53:04 +03:00
Vladimir Chebotarev
5e1093faf8
Added changing of table policy.
2020-01-09 16:52:37 +03:00
Alexander Burmak
c4f44bb06c
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
2020-01-09 16:29:03 +03:00
Nikolai Kochetov
1b97cb3f95
Merge pull request #8519 from vzakaznikov/live_view_refactoring
...
Live View storage engine refactoring of getNewBlocks() and writeIntoLiveView() methods.
2020-01-09 16:25:23 +03:00
Alexander Tokmakov
1d14d8b4a7
fix mutation size limit
2020-01-09 14:38:26 +03:00
Nikolai Kochetov
878351a732
merged with master.
2020-01-09 11:15:01 +03:00
Vladimir Chebotarev
75e2dbde36
Removed fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full but left warnings about not being able to move data according to table-level TTL rules.
2020-01-08 23:12:36 +03:00
Alexey Milovidov
2084d26238
Removed useless code, added comments
2020-01-08 13:20:55 +03:00
Guillaume Tassery
d176abb7c0
Check the storage policy of table on the move partition table
2020-01-08 10:57:27 +01:00
Guillaume Tassery
4a04a1a2ec
Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition
2020-01-08 08:11:53 +01:00
Vladimir Chebotarev
6f2a4bf5ce
Added fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full.
2020-01-07 22:26:14 +03:00
Javi santana bot
776ceeb427
Wait only on optimize commands
2020-01-07 19:16:37 +01:00
Alexey Milovidov
8432cbb5c6
Removed debug output
2020-01-07 15:26:44 +03:00
Vladimir Chebotarev
7de9eb4bdc
Do not allow to merge data moving it against storage policy volume order.
2020-01-07 10:17:11 +03:00
Guillaume Tassery
8b2938a8fb
Merge branch 'master' into move_partition
2020-01-07 13:25:35 +07:00
Vitaliy Zakaznikov
f0d2ef5bf7
Removing tabs.
2020-01-06 08:23:05 -05:00
Alexey Milovidov
31f4fd0e4b
Fixed test
2020-01-05 23:11:26 +03:00
Alexey Milovidov
5620fb1561
Added tests
2020-01-05 10:22:08 +03:00
Alexey Milovidov
9a6531fc1c
Workaround for bug in zlib-ng; using zlib level 3 by default
2020-01-05 09:39:40 +03:00
Alexey Milovidov
ba6a56a485
Added a comment
2020-01-05 08:45:13 +03:00
Alexey Milovidov
ac163ce6c6
Added method "truncate" to StorageFile
2020-01-05 05:57:09 +03:00
Nikolai Kochetov
63014126c2
Support reading from DirectoryMonitor.
2020-01-04 21:37:31 +03:00
Nikolai Kochetov
f094e8f565
Support reading from DirectoryMonitor.
2020-01-04 21:33:16 +03:00
Nikolai Kochetov
cf7b16d333
Support reading from DirectoryMonitor.
2020-01-04 21:05:42 +03:00
Nikolai Kochetov
253c6cd59a
Support reading from DirectoryMonitor.
2020-01-04 20:45:56 +03:00
Alexey Milovidov
46c37f2c94
Merge branch 'master' into general-compression-rework
2020-01-04 20:45:45 +03:00
alexey-milovidov
00ba767f5d
Merge pull request #8318 from excitoon-favorites/replicatedalterttl
...
Fixed ALTER TTL for replicated tables
2020-01-04 20:42:39 +03:00
Nikolai Kochetov
5869d6708b
Support reading from DirectoryMonitor.
2020-01-04 17:45:11 +03:00
Alexey Milovidov
0f4a58ecaa
Removed bad code around general compression methods
2020-01-04 10:31:00 +03:00
alexey-milovidov
42226b1a96
Added setting "min_bytes_to_use_mmap_io" ( #8520 )
...
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io"
* Added setting "min_bytes_to_use_mmap_io": better error message
* Added setting "min_bytes_to_use_mmap_io": fixed error
2020-01-04 08:46:50 +03:00
Nikolai Kochetov
d884ab4318
Merge pull request #7792 from vzakaznikov/live_view_support_for_subquery
...
Live view support for subquery
2020-01-03 15:49:44 +03:00
Vitaliy Zakaznikov
25458a4865
Updates to make all live view tests to pass.
2020-01-03 02:48:15 +01:00