Commit Graph

967 Commits

Author SHA1 Message Date
Pavel Kovalenko
5375683f24
DiskS3 hardlinks optimal implementation (#9760)
* Optimal DiskS3 hardlinks implementation and new tests.

* Code style fixes.

* Minor fixed.

* Minor fixes.
2020-03-23 17:45:48 +03:00
Vitaly Baranov
6839e15b67 Add tests for settings profiles. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
4af36ee5a4 Fix updating of the access rights after changing of the readonly setting. Remove non-const function Context::getSettingsRef(). 2020-03-22 11:08:08 +03:00
alesapin
fbf73012d2 Fix integration test 2020-03-21 11:10:44 +03:00
Alexander Kuzmenkov
d5822e7ebe
Merge pull request #6892 from ClickHouse/aku/poco-1.9.3
Update Poco to 1.9.3.
2020-03-20 06:03:48 +03:00
alesapin
72ba032348
Merge pull request #9734 from ClickHouse/fix_quoting_in_dictionary_ddl
Fix backquoting in dictionary ddl
2020-03-19 20:10:26 +03:00
Pavel Kovalenko
f2dca656f9
MergeTree full support for S3 (#9646)
* IMergeDataPart full S3 support.

* MergeTreeData full S3 support.

* Compilation fixes.

* Mutations and merges S3 support.

* Fixed removing data part.

* MergeTree for S3 integration tests and fixes.

* Code style issues.

* Enable AWS logging.

* Fixed hardlink creation for DiskLocal.

* Fixed localBackup.cpp compilation.

* Fixed attaching partition.

* Get rid of extra methods in IDisk.

* Fixed storage config reloading.

* More tests with table manipulations.

* Remove unused error codes.

* Move localBackup to MergeTree folder.

* Minor fixes.
2020-03-19 19:37:55 +03:00
Alexander Kuzmenkov
9d9ae00956 Relax a test due to Poco regression.
Poco 1.9.3 has one second precision for mtime, because of this we can
miss an update of a dictionary file if it happens in the same second
we've read the file.

Should probably be fixed by switching to std::filesystem.

Also add some logs because finding out what's going on with dictionary
reloading is borderline impossible.
2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
8b754fdcde Straighten the ODBC integration test somewhat. 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
fbfa74e5c4 test 2020-03-19 19:05:41 +03:00
Alexander Kuzmenkov
2918324807 More logs to catch the ODBC bridge shutdown error.
Also increase a potentially flappy timeout in another test.
2020-03-19 19:05:41 +03:00
alesapin
d060b7111d Also unescape backslashes 2020-03-18 23:23:48 +03:00
alesapin
20211451ae Fix backquoting in dictionary ddl 2020-03-18 19:47:33 +03:00
Denis Zhuravlev
d6e843d1f4
Update test.py 2020-03-16 17:03:52 -03:00
Denis Zhuravlev
f1f1c1c591
extended test for deduplicate_blocks_in_dependent_materialized_views 2020-03-16 16:49:51 -03:00
alesapin
1c98210b71 Fix bug in integration test 2020-03-16 18:09:20 +03:00
alesapin
5b54ef5bfd Split long dictionaries test 2020-03-16 17:59:11 +03:00
alesapin
930e6f24b1
Merge pull request #9652 from ClickHouse/fix_compatibility_for_mutations
Fix compatibility in replication
2020-03-16 11:19:57 +03:00
alexey-milovidov
a4cc526133
Merge pull request #9065 from ClickHouse/split_databases_from_context
Split databases from Context
2020-03-15 03:42:57 +03:00
alexey-milovidov
68074a1524
Merge pull request #9653 from ClickHouse/add_setting_for_path_format
Add setting for a new format of distributed parts
2020-03-15 00:40:33 +03:00
Anton Popov
71e86fc471
Merge pull request #9581 from excitoon-favorites/materializeinpartition
Added MATERIALIZE TTL IN PARTITION
2020-03-14 02:15:03 +03:00
alesapin
f6044c9c53 Add setting for a new format of distributed parts 2020-03-13 21:49:46 +03:00
alesapin
18bbe16aae Fix compatibility in replication 2020-03-13 20:23:36 +03:00
alexey-milovidov
170dc2124e
Merge pull request #9617 from shinoi2/master
Fix distributed ddl alter
2020-03-12 17:34:59 +03:00
Alexander Tokmakov
cf28bfe8a7 Merge branch 'master' into split_databases_from_context 2020-03-12 15:09:41 +03:00
hao.he
b3447aaa58 Fix distributed ddl alter 2020-03-12 14:43:01 +08:00
Alexey Milovidov
1013fb9c55 Fixed minor issue in integration test 2020-03-12 02:19:00 +03:00
Vladimir Chebotarev
850925325e Added test for MATERIALIZE TTL IN PARTITION. 2020-03-11 22:39:04 +03:00
Alexey Milovidov
ec4794d3f6 Better wording 2020-03-11 21:51:12 +03:00
alesapin
27f07b513e Fix sophisticated default 2020-03-10 16:34:54 +03:00
Alexander Tokmakov
c7468d2502 Merge branch 'master' into split_databases_from_context 2020-03-10 13:15:27 +03:00
Pavel Kovalenko
8d07883b33 Merge branch 'master' into merge-tree-s3-initial
# Conflicts:
#	dbms/src/Storages/MergeTree/MergeTreeData.cpp
#	dbms/src/Storages/StorageMergeTree.cpp
2020-03-05 23:05:31 +03:00
alexey-milovidov
3645375f71
Merge pull request #9409 from clemrodriguez/mysqlxx-share-connection
Mysqlxx share connection for external dictionaries only
2020-03-05 22:43:23 +03:00
alexey-milovidov
e68d31d605
Merge pull request #8594 from excitoon-favorites/substitutestorageconfiguration
Added reloading storage configuration from configuration file
2020-03-05 17:52:47 +03:00
Alexander Tokmakov
2a18ada890 fix test_part_log_table
part_log must be created in system database,
because otherwise it is not guaranteed that part_log loaded
before it can be used by other table
2020-03-05 13:49:25 +03:00
Mikhail Filimonov
1be66874f9 Kafka: catch and log exceptions in desctructors. Fixes #9494 2020-03-04 17:45:03 +01:00
filimonov
5f1d07a714
increase timeout to make even slowest build green 2020-03-04 16:31:53 +01:00
Vladimir Chebotarev
2ee0821931 Added tests for reloading storage configuration. 2020-03-04 15:10:17 +03:00
Mikhail Filimonov
0d25208237 Prevent loosing data in kafka when execption happen after read suffix, but before commit. Fixes #9378 2020-03-04 07:58:44 +01:00
Anton Popov
bf39a6c5c0
fix flappy test 2020-03-03 22:23:41 +03:00
alesapin
1a84a76cd7 Fix random inserts test 2020-03-02 18:00:34 +03:00
alesapin
686f70fe26
Merge pull request #9412 from ClickHouse/CurtizJ-test-backward-compatability
Fix replication protocol backward incompatibility.
2020-03-02 11:12:43 +03:00
Vitaly Baranov
5b4b40f86f
Merge pull request #9447 from vitlibar/shard-clamps-settings-to-constraints
Shard now clamps the settings from the initiator.
2020-03-01 20:33:52 +03:00
Vitaly Baranov
fc0376a170 Shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception. 2020-03-01 02:18:49 +03:00
Vitaly Baranov
038e520960 Add tests. 2020-03-01 00:27:37 +03:00
Vitaly Baranov
0f04ff0749
Merge pull request #9364 from vitlibar/RBAC-6
RBAC-6
2020-03-01 00:19:15 +03:00
alexey-milovidov
03fc1c80bf
Merge pull request #9451 from CurtizJ/fix-ttl-checksums
Fix mismatched checksums with column TTLs
2020-02-29 20:51:43 +03:00
Vitaly Baranov
bf1a7836c6 Add test for DiskAccessStorage. 2020-02-29 17:33:52 +03:00
Vitaly Baranov
64cf6a0b2b Add diagnostics to help find out why integration tests fail. 2020-02-29 17:33:52 +03:00
CurtizJ
9448f4710e fix mismatched checksums with column TTLs 2020-02-28 23:29:10 +03:00