Commit Graph

43432 Commits

Author SHA1 Message Date
Val
d293e002a7 address pr comments 2020-06-27 17:04:11 +03:00
Val
16e50e33d7 fix typo 2020-06-27 17:04:11 +03:00
Val
67588edcf5 clean up db replicated files and add more tests 2020-06-27 17:04:11 +03:00
Val
82f5281cfe remove redundant includes 2020-06-27 17:04:11 +03:00
Val
4fc4b1d195 db replicated minor enhancements 2020-06-27 17:02:06 +03:00
Val
f57fd52e3b fix recursive propose for drop database db replicated query 2020-06-27 17:02:06 +03:00
Val
e8e4e4d21c add tests for db replicated 2020-06-27 17:02:05 +03:00
Val
f6de720f59 speed up db replicated test 2020-06-27 17:02:05 +03:00
Val
f928c897cf change replication algorithm, remove zk lock
In this version of the databaseReplicated sequential persistent zk nodes
are used to order DDL queries. Db replicated ddl queries are executed
in the backgrould pool no matter whether it's proposed by the same
replica or not.
2020-06-27 17:02:03 +03:00
Val
469f9738df refactor save state in db replicated 2020-06-27 17:01:20 +03:00
Val
a0af67b636 Add one more test for db replicated and fix related bug 2020-06-27 17:01:20 +03:00
Val
0e9f516738 add comment for replicated db class 2020-06-27 17:01:20 +03:00
Val
fbbccaf98a remove stateless tests for replicated db 2020-06-27 17:01:20 +03:00
Val
31910e9bf1 Use ClientInf::QueryKind to distinguish replicated db log queries 2020-06-27 17:01:18 +03:00
Val
cbcd1bea0e provide better comments and information 2020-06-27 17:00:44 +03:00
Val
4921dc6dab db replicated refactoring 2020-06-27 16:59:11 +03:00
Val
1f03839830 add zookeeper tryRemoveChildren method 2020-06-27 16:59:09 +03:00
Val
34f74ff785 add test cases for replicated db 2020-06-27 16:58:17 +03:00
Val
5e076b464e add replicated db snapshot, integration test, repl alter queries, etc
add an option to create replicated tables within replicated db without specifying zk path and replica id
add replicated sch pool
disable replication of alter queries for replicated tables in replicated dbs
snapshot prototype. amend of replicated db workflow
add prototype of integration tests for replicated db
2020-06-27 16:58:15 +03:00
Val
f103e24a09 make db replicated inherited from atomic 2020-06-27 16:52:35 +03:00
Val
c0924b5911 create and alter test for replicated db 2020-06-27 16:51:47 +03:00
Val
d7a354b24d create query fix for replicated dbs 2020-06-27 16:51:47 +03:00
Val
d61259cd7b ddl replication works 2020-06-27 16:51:47 +03:00
Val
5eea58039c fix not initialized last entry in zk 2020-06-27 16:51:47 +03:00
Val
0a860c0c2b log based replicated 2020-06-27 16:51:36 +03:00
Val
319256ef4f an attempt to replicated create query from create query 2020-06-27 16:49:40 +03:00
Val
0a4c1783a1 Make drop work by fixing namespace bug
data dir wasn't set right. now it's fixed.
add non-replicated table to test sql
2020-06-27 16:49:40 +03:00
Val
948bd1c5cc database replicated basic test (create and drop) 2020-06-27 16:49:40 +03:00
Val
8b0366ff4f an attempt to make something meaningful 2020-06-27 16:49:40 +03:00
Val
1cb96bf176 rm old files from nonexistant dir since the rebase 2020-06-27 16:49:40 +03:00
Val
0d392bbb34 fix after rebase 2020-06-27 16:49:39 +03:00
Val
c1c132502c add prototypes of loadStoredObject and
some relevant helpers in replicateddb
2020-06-27 16:49:39 +03:00
Val
e0f52965e5 Add a comment with some thoughts 2020-06-27 16:49:39 +03:00
Val
edb871979a add some zookeeper into the logic 2020-06-27 16:49:39 +03:00
Val
272e31188d databasereplicated add table functions prototype 2020-06-27 16:49:39 +03:00
Val
d4210d04c1 databasereplicated constructor scratch 2020-06-27 16:49:39 +03:00
Nikita Mikhaylov
36549884f4
Merge pull request #11947 from nikitamikhaylov/merging-ssh-cache
Merging #8624 (ssd-cache)
2020-06-27 14:58:08 +04:00
Alexander Kuzmenkov
960c455e0e performance comparison 2020-06-27 04:15:58 +03:00
Alexander Kuzmenkov
e0c4cc9135 performance comparison 2020-06-27 03:53:54 +03:00
Nikita Mikhaylov
d88fca83bf disable tests in arcadia 2020-06-26 23:45:07 +03:00
alexey-milovidov
6d6ea4249c
Merge pull request #11974 from ClickHouse/tests-for-8692
Added tests for #8692
2020-06-26 20:52:33 +03:00
Alexander Kuzmenkov
58bf6f7adc
Merge pull request #11972 from ClickHouse/aku/cpu-freq
Add CPU frequencies to system.asynchronous_metrics
2020-06-26 20:45:58 +03:00
Yuntao Wu
e62364f95a
fix the title's translattion error (#11939)
@zhang2014 I use MergeTree replaced  Chinese version "合并“, and fix an error.
2020-06-26 18:47:27 +03:00
Tom Bombadil
e29eeabfee
Update system.md (#11945)
* Update system.md

Translate the doc to Chinese

* Update system.md
2020-06-26 18:47:14 +03:00
Nikolai Kochetov
4f5be494c5
Merge pull request #11950 from 4ertus2/joins
Extract JOIN in own plan step
2020-06-26 15:52:58 +03:00
alesapin
ca5278b40f
Merge pull request #11903 from ClickHouse/blinkov-patch-20
[experiment] maybe fix warnings in integration tests
2020-06-26 15:43:54 +03:00
Nikolai Kochetov
7c47a964cf
Update ExpressionActions.h 2020-06-26 15:24:13 +03:00
tavplubix
dfdfc69df1
Merge pull request #11900 from bharatnc/ncb/fix-file-path
fix double slashed paths in DatabaseOrdinary by switching to std::filesystem::path
2020-06-26 15:05:15 +03:00
alexey-milovidov
751d36f7c7
Merge pull request #11954 from oandrew/avro-uuid
Avro UUID support
2020-06-26 14:09:54 +03:00
Nikita Mikhaylov
f90dfa3ef4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-ssh-cache 2020-06-26 13:56:21 +03:00