Commit Graph

43083 Commits

Author SHA1 Message Date
alesapin
ca552d6394 Remove redundat sync replica 2020-06-23 12:28:46 +03:00
hexiaoting
9135cb1bf1
fix bug for query "select *, abc.*" should failed. (#11753) 2020-06-23 12:16:42 +03:00
Azat Khuzhin
f76511668f jemalloc: disable it for darwin
Right now it aborts (Abort trap: 6) on osx, the issue does not looks
like [1], but should be investigated, so disable for now.

What is interesting that it works under debugger, so I guess it is
indeed the order of symbol replacements...

  [1]: https://github.com/jemalloc/jemalloc/issues/420
2020-06-23 11:40:34 +03:00
amudong
2a51286527 Optimize code 2020-06-23 16:22:53 +08:00
Azat Khuzhin
c230d76cb9 jemalloc: disable percpu_arena on non-linux (not supported anyway)
And since it does not supported it produces the following warning:
  <jemalloc>: No getcpu support: percpu_arena:percpu
  <jemalloc>: perCPU arena getcpu() not available. Setting narenas to 8.

However it is uses narenas=ncpu instead of default narenas=ncpu*4
2020-06-23 11:14:22 +03:00
alesapin
4185fe9975 Merge branch 'master' into atomic_metadata5 2020-06-23 11:13:05 +03:00
alesapin
292016e045 Add missed lock 2020-06-23 11:04:43 +03:00
Ivan Blinkov
2f877815fe
Merge pull request #11881 from theg4sh/patch-2
fix of incorrect example
2020-06-23 10:58:52 +03:00
Alexandr Kondratev
72cddbe7df
fix of incorrect example
was `curl -sS "<address>?param_id=2¶m_phrase=test" -d "SELECT * FROM table WHERE int_column = {id:UInt8} and string_column = {phrase:String}"`
2020-06-23 10:55:00 +03:00
alesapin
e5411e52b2
Merge pull request #11863 from ClickHouse/more_stable_alter_settings_test
Better 00980_alter_settings test
2020-06-23 10:43:22 +03:00
Ivan Blinkov
ed9c9a9997
Update index.md 2020-06-23 10:22:52 +03:00
alexey-milovidov
1c1e12f06b
Merge pull request #11826 from ClickHouse/send-logs-on-fatal-errors
Send logs to client on fatal errors if possible
2020-06-23 09:49:48 +03:00
alexey-milovidov
b4475086ab
Merge pull request #11840 from azat/fix-http-memory-accounting
Fix memory accounting via HTTP interface
2020-06-23 09:48:42 +03:00
Alexander Kuzmenkov
7372a18d45 fixup 2020-06-23 09:41:57 +03:00
Alexander Kuzmenkov
442b78db5b
Merge pull request #11865 from ClickHouse/aku/sum-with-overflow
Support sumWithOverflow as SimpleAggregateFunction
2020-06-23 09:12:39 +03:00
feng lv
fc75032b67 SHA256 add FixedString support 2020-06-23 13:35:35 +08:00
amudong
cca8df6b78 format comment 2020-06-23 12:24:05 +08:00
amudong
0101947403 rewrite static StorageReplicatedMergeTree::dropReplica 2020-06-23 12:12:30 +08:00
amudong
7723dc4935 add drop relica database and the whole replica
fix removeReplicaByZKPath

fix bug: add zkpath empty judge

fix: rewrite code

delete useless code.

fix:ast fromat

fix bug

add test_drop_replica

add drop_replica doc

add drop databse checkAccess

refactor dropReplica

update tests

add static method StorageReplicatedMergeTree::dropReplicaByZkPath

update doc and delete useless code

fix conflict

fix doc

fix doc

fix StorageReplicatedMergeTree::dropReplica

fix bug

delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e fix: can not drop local table and replace ALTER with SYSTEM
fix test_drop_replica

fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
sundy-li
0a4af8f0a7 add SYSTEM DROP REPLICA 2020-06-23 12:12:30 +08:00
sundy-li
15ad830290 only drop inactive replica
update doc

Increase timeout to release the zookeeper Ephemeral nodes

Fix code comment

use PartitionManager

make integrations test passed
2020-06-23 12:12:30 +08:00
sundy-li
34df59baf8 Add tests and docs
Fix integration-tests
2020-06-23 12:12:30 +08:00
sundy-li
d4aa3cea4b fix merge state
Fix style && build
2020-06-23 12:12:30 +08:00
sundy-li
906a43e4a8 Add drop replica alter support 2020-06-23 12:12:30 +08:00
Azat Khuzhin
5b5ba93523 jemalloc: explicitly disable pthread_setname_np on freebsd (requires 12.1) 2020-06-23 05:45:56 +03:00
alexey-milovidov
d147cd646a
Merge pull request #11860 from ClickHouse/supress_mysql_test_under_tsan
Disable MySQL dictionaries integration tests under tsan
2020-06-23 02:50:05 +03:00
alexey-milovidov
a7b224a578
Merge pull request #11869 from ClickHouse/fix-nullable-prewhere-type-2
Fix nullable prewhere type 2
2020-06-23 02:48:59 +03:00
alexey-milovidov
555189c5ca
Merge pull request #11872 from ClickHouse/fix-flaky-test-no-password-in-command-line
Fix flaky test "no password in command line"
2020-06-23 02:47:44 +03:00
Azat Khuzhin
8b6e2e6c67 jemalloc: drop superfluous include directory 2020-06-23 01:47:56 +03:00
Azat Khuzhin
77a3f606f4 jemalloc: enable by default for freebsd/darwin 2020-06-23 01:47:56 +03:00
Azat Khuzhin
1354a103ab jemalloc: add darwin pregenerated header 2020-06-23 01:47:56 +03:00
Azat Khuzhin
637f2cefeb jemalloc: add freebsd pregenerated header 2020-06-23 01:47:56 +03:00
Azat Khuzhin
f0bb511468 jemalloc: fix JEMALLOC_NOTHROW/JEMALLOC_CXX_THROW for freebsd/darwin 2020-06-23 01:47:56 +03:00
Azat Khuzhin
1becc6ca02 jemalloc: jemalloc_preamble.h is common 2020-06-23 01:47:56 +03:00
Alexey Milovidov
2f79d30ade Update tests 2020-06-23 01:08:08 +03:00
Alexey Milovidov
112f6153a7 Fix strange code 2020-06-23 01:06:25 +03:00
Alexey Milovidov
1191679965 Fix wrong code 2020-06-23 00:54:19 +03:00
Alexey Milovidov
0c063d29c0 Added a test 2020-06-23 00:54:02 +03:00
Alexey Milovidov
4ace4b4c75 Fix bugs in DateTime64 parsing 2020-06-22 23:54:36 +03:00
Alexey Milovidov
75357ab98d constexpr intExp10 2020-06-22 23:32:29 +03:00
Alexey Milovidov
b136999f75 Style 2020-06-22 23:32:12 +03:00
Azat Khuzhin
6704c42a9e jemalloc: fix HAVE_CPU_SPINWAIT for linux aarch64
Fixes: #11163
2020-06-22 23:24:43 +03:00
Alexey Milovidov
d5d3251d3f Stop tests on fatal errors 2020-06-22 22:32:33 +03:00
Alexey Milovidov
c66f020a63 Do not render progress too much 2020-06-22 22:16:48 +03:00
Alexander Kuzmenkov
e76941b52c
Merge pull request #11669 from azat/distributed_replica_error_ignore
Add number of errors to ignore while choosing replicas
2020-06-22 22:06:04 +03:00
Alexander Kuzmenkov
96d2e9c997 Initialize GlobalThreadPool explicitly 2020-06-22 22:04:12 +03:00
Ivan Blinkov
a20d428f14
Update index.md 2020-06-22 21:30:25 +03:00
Ivan Blinkov
1e365c28da
Update main.html 2020-06-22 21:27:15 +03:00
Alexey Milovidov
d46932b3f4 Fix flaky test "no password in command line" 2020-06-22 21:24:17 +03:00