Commit Graph

80210 Commits

Author SHA1 Message Date
Maksim Kita
c3c8af747d
Merge pull request #33261 from kitaisreal/dictionaries-fix-comment
Dictionaries fix comment
2021-12-29 12:43:24 +03:00
Kruglov Pavel
062f14cb57
Merge pull request #33263 from azat/fix-expect-tests
Do not ignore eof in expect tests
2021-12-29 12:42:57 +03:00
Ivan Blinkov
e671252131
[docs/faq] Does ClickHouse support multi-region replication? (#32700)
* [docs/faq] Does ClickHouse support multi-region replication?

* Update index.md

* add i18n symlinks

* fix symlinks
2021-12-29 11:40:12 +03:00
alexey-milovidov
57011b5001
Merge pull request #33175 from Alex-Burmak/clickhouse-diagnostics
ClickHouse diagnostics tool
2021-12-29 10:12:55 +03:00
Azat Khuzhin
c541ee386b Mark some expect tests as long
CI: https://s3.amazonaws.com/clickhouse-test-reports/33263/765c7980b84ef6a7851a5fe2846a06f08382f03a/stateless_tests_flaky_check__address__actions_.html
2021-12-29 10:02:38 +03:00
Azat Khuzhin
06ac2cd6cd tests: fix 02112_delayed_clickhouse_*_with_queries_file
- fix variables inside prepare.sh
- fix variables for invoking prepare.sh
- fix path to queries file
- wait for eof on client (exiting client is required to catch all
  possible issues, that can be reported by i.e. ASan on exit)
- fix spawning of clean.sh by replace with system

Cc: @kssenii
2021-12-29 10:02:38 +03:00
Azat Khuzhin
a424b4ad56 Do not ignore eof in expect tests
expect_after that adjusts default timeout handler, reseted eof handler,
and this tell expect that it can ignore eof from read, consider the
following example:

<details>

    ```expect
    #!/usr/bin/expect -f

    exp_internal 1
    log_user 1
    set timeout 4
    match_max 100000

    expect_after {
        # eof { exp_continue }
        timeout {
            exit 1
        }
    }

    spawn bash -c "sleep 1; echo ':) '"
    expect ":) "
    ```

    ```
    $ ./expect.expect < /dev/null
    spawn bash -c sleep 1; echo ':) '
    parent: waiting for sync byte
    parent: telling child to go ahead
    parent: now unsynchronized from child
    spawn: returns {6614}

    expect: does "" (spawn_id exp4) match glob pattern ":) "? no
    expect: read eof
                 ^^^
    expect: set expect_out(spawn_id) "exp0"
    expect: set expect_out(buffer) ""
    ```

And with uncommented eof handler:

    ```
    $ ./expect.expect < /dev/null
    spawn bash -c sleep 1; echo ':) '
    parent: waiting for sync byte
    parent: telling child to go ahead
    parent: now unsynchronized from child
    spawn: returns {17959}

    expect: does "" (spawn_id exp4) match glob pattern ":) "? no
    expect: read eof
    expect: set expect_out(spawn_id) "exp0"
    expect: set expect_out(buffer) ""
    expect: continuing expect after update

    expect: does "" (spawn_id exp4) match glob pattern ":) "? no

    expect: does ":) \r\n" (spawn_id exp4) match glob pattern ":) "? yes
    expect: set expect_out(0,string) ":) "
    expect: set expect_out(spawn_id) "exp4"
    expect: set expect_out(buffer) ":) "
    ```

</details>
2021-12-29 10:02:38 +03:00
Kseniia Sumarokova
004e199af0
Merge pull request #33269 from kssenii/azure-tests-improve
Fix azure tests flackyness because of azure server closing connection
2021-12-29 09:34:57 +03:00
Kseniia Sumarokova
9b63fa6949
Merge pull request #33239 from CurtizJ/async-insert-query-log
Add asynchronous inserts to query log
2021-12-29 09:34:08 +03:00
Anton Popov
8ca12bb2e8
fix style check 2021-12-29 00:43:33 +03:00
Anton Popov
d25560d37a fix queries without table name 2021-12-29 00:14:22 +03:00
kssenii
c8dcde7843 Fix 2021-12-28 23:57:36 +03:00
Maksim Kita
df95a40bbf Fixed tests 2021-12-28 23:50:48 +03:00
Maksim Kita
9ef359ce2c Dictionaries fix comment 2021-12-28 23:50:48 +03:00
alexey-milovidov
f18223f51e
Merge pull request #33262 from den-crane/patch-52
Doc. fix typos
2021-12-28 22:07:07 +03:00
Kseniia Sumarokova
0c41b46e75
Merge pull request #33187 from kssenii/materialized-postgresql-fix-cleanup
materialized postgresql make sure temporary replication slots are deleted
2021-12-28 22:04:32 +03:00
alexey-milovidov
934c1b3e83
Merge pull request #33238 from kssenii/some-killing
Allow to cancel some sources which failed to cancel
2021-12-28 22:00:44 +03:00
Denny Crane
9de3fd082e
Update grant.md 2021-12-28 14:14:32 -04:00
Denny Crane
035d757cc1
Update grant.md 2021-12-28 14:13:41 -04:00
Denny Crane
6e70d690c8
Update grant.md 2021-12-28 14:12:13 -04:00
alexey-milovidov
c046c6e08d
Merge pull request #33258 from ClickHouse/hardware-benchmark-lorenzo
Add benchmark results from Lorenzo
2021-12-28 21:02:49 +03:00
alexey-milovidov
0fe657e808
Merge pull request #33198 from azat/tests-event_date_time-today
Fix tests with event_time/event_date = today(), and add a style check
2021-12-28 20:34:33 +03:00
alexey-milovidov
5ef717e5e1
Merge pull request #33196 from meoww-bot/patch-1
Update several docs for zh translation
2021-12-28 20:34:01 +03:00
alexey-milovidov
ca17b0dcd2
Merge pull request #33229 from amosbird/nullableprimarykeyrisk
Document the risk of enabling allow_nullable_key
2021-12-28 20:32:58 +03:00
alesapin
66f6d8bcf5
Merge pull request #33256 from ClickHouse/add_retries_to_ast
Add retries to AST fuzzer download and fix flaky test.
2021-12-28 19:11:51 +03:00
Anton Popov
a6e90a046d add more info to query log in async inserts 2021-12-28 17:53:25 +03:00
Alexey Milovidov
ee3a9e48f5 Add benchmark results from Lorenzo 2021-12-28 16:49:41 +03:00
alesapin
a2aa32877f
Update 02122_4letter_words_stress_zookeeper.sh 2021-12-28 16:40:34 +03:00
alesapin
5ae8188ab7 Fix flaky test 2021-12-28 16:26:47 +03:00
alesapin
333dfab6a6 Add retries to AST fuzzer 2021-12-28 16:12:51 +03:00
alesapin
fcdbf8737a
Merge pull request #33250 from ClickHouse/fix_flaky_01650_drop_part
Fix flaky test 01650
2021-12-28 14:55:32 +03:00
alesapin
dd0507410c
Merge pull request #33252 from ClickHouse/add_retries_to_post_commit_status
Add retries for github api
2021-12-28 14:39:17 +03:00
alesapin
ccbc0a8ea5
Merge pull request #33225 from zhongyuankai/optimize_merge_tree_parts_mover
Optimize MergeTreePartsMover
2021-12-28 14:35:43 +03:00
mergify[bot]
c07220b800
Merge branch 'master' into nullableprimarykeyrisk 2021-12-28 10:56:26 +00:00
alexey-milovidov
62f1583aa1
Merge pull request #33242 from peter279k/patch-2
Add systemctl way to run server as daemon
2021-12-28 13:55:01 +03:00
alexey-milovidov
339443d068
Update install.md 2021-12-28 13:54:37 +03:00
alesapin
948fde52a7 Add retries for github api 2021-12-28 13:13:51 +03:00
alesapin
cb3c3970fe Fix flaky test 01650 2021-12-28 12:40:07 +03:00
alesapin
90db762c87
Merge pull request #33215 from ClickHouse/fix_flaky_integration_tests
Fix some flaky integration tests
2021-12-28 11:27:46 +03:00
alesapin
875eb54754
Update test.py 2021-12-28 11:21:33 +03:00
alesapin
e0fe504443
Merge pull request #33224 from ClickHouse/fix_frightnening_logging
Fix keeper log messages
2021-12-28 11:17:34 +03:00
Vladimir C
ba587c16a2
Merge pull request #33243 from peter279k/improve_docker_readme 2021-12-28 10:59:28 +03:00
Vladimir C
bb6fc853e3
Merge pull request #31442 from vdimir/cluster-discovery 2021-12-28 10:53:30 +03:00
Vladimir C
5ecbaf4ad8
Merge pull request #33197 from kirillikoff/kirillikoff-DOCSUP-15714 2021-12-28 10:49:46 +03:00
Vladimir C
78710d71b5
Specify sql syntax in code snippets in join.md 2021-12-28 10:49:35 +03:00
Kruglov Pavel
275eb652f6
Merge pull request #33209 from kssenii/add-retry-for-postgres-query
Add retry for Postgres query in case nothing has been fetched yet
2021-12-28 10:22:06 +03:00
Tatiana Kirillova
72a9fe51d2
Update join.md 2021-12-28 09:23:19 +03:00
peter279k
22b2d49d04 Add friendly message to notify user this instance 2021-12-28 09:42:49 +08:00
Chun-Sheng, Li
2e141b77db
Add systemctl way to run server as daemon 2021-12-28 09:27:04 +08:00
Anton Popov
0e2d0d70ba add asynchronous inserts to query log 2021-12-27 23:16:53 +03:00