Commit Graph
396 Commits
Author SHA1 Message Date
Alexey Milovidov 3f2f53d2bb Allow query profiling only on x86_64 2021-04-04 04:52:41 +03:00
Pavel Kruglov cc65a1db97 Update paths to the model configs in config reloading 2021-04-01 13:30:05 +03:00
alesapin be132a32a2 More renames 2021-03-29 11:24:56 +03:00
Alexey Milovidov 2a8ac01cdb Rename as suggested by Kita 2021-03-28 22:24:28 +03:00
Alexey Milovidov 50f712e198 Integrate mmap cache to the infrastructure 2021-03-28 04:10:30 +03:00
Nikolai Kochetov c3c393a7aa Merge branch 'master' into refactor-actions-dag 2021-03-18 14:33:07 +03:00
Azat Khuzhin ff1cb65f0b Start accepting connections after DDLWorker and dictionaries initialization
Found by integration tests [1]:

    Code: 139. DB::Exception: Received from 172.18.0.6:9000. DB::Exception: DDL background thread is not initialized. Stack trace:

  [1]: https://clickhouse-test-reports.s3.yandex.net/21643/65f90f2ce9ea9e9d4076f06c58ddd981c82cc098/integration_tests_(thread).html#fail1
2021-03-12 21:48:13 +03:00
Nikolai Kochetov 4f133ae036 Merge branch 'master' into refactor-actions-dag 2021-03-10 12:40:55 +03:00
tavplubixandGitHub 5a6cc876e4 Merge pull request #20626 from ClickHouse/fix_force_drop_materialized_view
Make force_drop_table work with MaterializedView
2021-03-09 20:05:51 +03:00
Nikolai Kochetov a669f7d641 Merge branch 'master' into refactor-actions-dag 2021-03-05 18:21:14 +03:00
Nikolai Kochetov c481401b0b Fix build. 2021-03-05 12:54:17 +03:00
Azat Khuzhin dfd1c73b31 Load dictionaries before starting accepting connections and DDLWorker 2021-02-28 05:45:12 +03:00
Alexey Milovidov ac4d3b504e Allow to start up with modified binary under gdb 2021-02-26 20:15:11 +03:00
tavplubixandGitHub 103d569885 Merge branch 'master' into fix_force_drop_materialized_view 2021-02-20 20:41:03 +03:00
tavplubixandGitHub a697b578bc Merge pull request #16193 from ClickHouse/database_replicated
DatabaseReplicated: continuation of #10485
2021-02-20 19:39:34 +03:00
Alexander Tokmakov 5cfd687dfb fix 2021-02-19 19:22:47 +03:00
IvanandGitHub 414f470c79 Make Poco HTTP Server zero-copy again (#19516)
* Refactoring: part 1

* Refactoring: part 2

* Handle request using ReadBuffer interface

* Struggles with ReadBuffer's

* Fix URI parsing

* Implement parsing of multipart/form-data

* Check HTTP_LENGTH_REQUIRED before eof() or will hang

* Fix HTTPChunkedReadBuffer

* Fix build and style

* Fix test

* Resist double-eof

* Fix arcadian build
2021-02-19 15:51:26 +03:00
Alexander Tokmakov cd91ec8de1 fix 2021-02-18 17:13:23 +03:00
Alexander Tokmakov 13ae988eff make force_drop_table work with materialized view 2021-02-17 17:23:07 +03:00
Alexander Tokmakov bf6f64a3fb Merge branch 'master' into database_replicated 2021-02-16 01:28:19 +03:00
Alexander Tokmakov 9c7cf9e92e remove some debug code 2021-02-15 13:26:34 +03:00
bharatnc 0a3d16196a fix rebase issues 2021-02-13 22:19:07 -08:00
bharatnc 2f3fca3529 change exception message slightly 2021-02-13 21:19:52 -08:00
bharatnc 8c7f1e0204 Change logging to info and preserve exception 2021-02-13 21:19:52 -08:00
alexey-milovidovandbharatnc 0123911f8b Update Server.cpp 2021-02-13 21:19:52 -08:00
bharatnc a21ff1faf7 ServerUUID - simplify UUID generation as per review 2021-02-13 21:19:52 -08:00
bharatnc daf46d21d8 ServerUUID - fix writing uuid file 2021-02-13 21:18:10 -08:00
bharatnc 5a468a5d32 ServerUUID - initial implementation 2021-02-13 21:18:10 -08:00
alesapin d265e3b419 Less timeouts 2021-02-02 11:02:25 +03:00
alesapin 365bf65f5a Fix install script 2021-02-01 17:14:59 +03:00
alesapin 57c9b6c864 Fix build without nuraft 2021-02-01 16:18:17 +03:00
alesapin a33963e211 Better raft server startup 2021-01-27 20:54:25 +03:00
alesapin 97b9dba460 Multinode config 2021-01-25 17:10:18 +03:00
alesapin dea4b5009b Some server initialization 2021-01-25 15:29:12 +03:00
alesapin 173b6fefdf Merge branch 'master' into in_memory_raft 2021-01-25 12:03:28 +03:00
Alexey Milovidov 8d335b1490 Allow to enable or disable watchdog via env var 2021-01-23 23:58:36 +03:00
alesapin c1e36cfe70 Something working 2021-01-22 19:04:57 +03:00
Alexey Milovidov 950bfb3ec6 Allow change max_server_memory_usage without restart 2021-01-16 18:33:46 +03:00
Alexey Milovidov cea1b7dba5 Fix build 2021-01-07 16:37:06 +03:00
Alexey Milovidov 6f481d7512 Add integrity checks for ClickHouse binary 2021-01-07 05:56:57 +03:00
John Skopis 9bcc5a6175 Support interserver credential rotation
Restarting a server instance to change the interserver password results
in many replicas being out of sync until all clusters are using the new
credential.

This commit adds dynamic credential loading for both the client
(Replicated* tables) and server (InterserverIOHTTPHandler).

This commit also adds the ability to rotate credentials, i.e. accept more
than one credential during a credential change.

state0 (no auth):

    <interserver_http_credentials />

state1 (auth+allow_empty migration):

    <interserver_http_credentials>
        <user>admin</user>
        <password>222</password>
        <allow_empty>true</allow_empty>
    </interserver_http_credentials>

state2 (auth+new admin password migration):

    <interserver_http_credentials>
        <user>admin</user>
        <password>333</password>
        <users>
            <admin>222</admin>
        </users>
    </interserver_http_credentials>
2021-01-04 09:59:09 +00:00
Alexey Milovidov fdc8950fbe Do not use watchdog when server is run from tty 2020-12-23 17:31:10 +03:00
alexey-milovidovandGitHub 29ad7b6d94 Merge pull request #13516 from ClickHouse/watchdog
If server was terminated by OOM killer, print message in log.
2020-12-23 05:35:44 +03:00
Alexey Milovidov f9012b12fb Proper implementation 2020-12-22 06:01:51 +03:00
Alexey Milovidov 932ade2cb8 Merge branch 'master' into watchdog 2020-12-22 03:10:15 +03:00
nikitamikhaylov 8501c7a831 better 2020-12-22 02:03:08 +03:00
nikitamikhaylov cd3a73f9d3 done 2020-12-22 00:47:10 +03:00
Amos Bird c447628d42 Add connection thread metrics 2020-12-18 15:22:55 +08:00
Alexey Milovidov f7f8ff8758 Merge branch 'master' into sigaltstack 2020-12-17 22:16:30 +03:00
Alexey Milovidov 7f280bef37 Merge branch 'master' into sigaltstack 2020-12-17 05:09:10 +03:00