Commit Graph

80532 Commits

Author SHA1 Message Date
karnevil13
e35a91eb11
Update docs/ru/operations/settings/settings.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-12-27 00:52:08 +03:00
Azat Khuzhin
dc76817329 Fix 01370_client_autocomplete_word_break_characters test logic
AFAICS right now it works only because completion loaded too quickly,
since `expect "_"` will block for 60 seconds if completion is not
available.
2021-12-26 22:25:49 +03:00
Yatian Xu
8dc07dff4a add Clarification for test case 2021-12-26 11:24:47 -08:00
kssenii
5b15b2be2d Merge remote-tracking branch 'upstream/master' into materialized-postgresql-fix-detach-with-schema 2021-12-26 21:06:08 +03:00
Azat Khuzhin
906ebc9fd4 test_input_format_parallel_parsing_memory_tracking: increase max_server_memory_usage
Even after disabling all system tables TSan build still not passed,
since it uses 2.8Gi of RAM just after start, so let's increase this
memory limit a little.
2021-12-26 16:50:35 +03:00
Azat Khuzhin
3f752c3acb Make test_input_format_parallel_parsing_memory_tracking less flaky
By disabling system tables, that may consume memory too.

Also note, that failures with "curl: (56) Recv failure: Connection reset
by peer" like [1] is due to memory, since the server was under memory
pressure, and was not able even to accept the connection:

<details>

    2021.12.25 00:22:02.957658 [ 54 ] {} <Error> ThreadStatus: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 2.81 GiB (attempt to allocate chunk of 2097182 bytes), maximum: 2.79 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below):

    0. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/exception:0: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x1addca1b in /usr/bin/clickhouse
    1. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:57: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0xa0e993c in /usr/bin/clickhouse
    2. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/string:1444: DB::Exception::Exception<char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*&&, char const*&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) @ 0xa11344b in /usr/bin/clickhouse
    3. ./obj-x86_64-linux-gnu/../src/Common/MemoryTracker.cpp:226: MemoryTracker::allocImpl(long, bool) @ 0xa11220c in /usr/bin/clickhouse
    4. ./obj-x86_64-linux-gnu/../src/Common/MemoryTracker.cpp:258: MemoryTracker::allocImpl(long, bool) @ 0xa111faa in /usr/bin/clickhouse
    5. ./obj-x86_64-linux-gnu/../src/Common/MemoryTracker.cpp:264: MemoryTracker::alloc(long) @ 0xa112bc6 in /usr/bin/clickhouse
    6. ./obj-x86_64-linux-gnu/../src/Common/ThreadStatus.cpp:152: DB::ThreadStatus::~ThreadStatus() @ 0xa10e182 in /usr/bin/clickhouse
    7. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:518: DB::TCPHandler::runImpl() @ 0x17c4192d in /usr/bin/clickhouse
    8. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:1909: DB::TCPHandler::run() @ 0x17c55328 in /usr/bin/clickhouse
    9. ./obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x1ac19f03 in /usr/bin/clickhouse
    10. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:1397: Poco::Net::TCPServerDispatcher::run() @ 0x1ac1a773 in /usr/bin/clickhouse
    11. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/ThreadPool.cpp:213: Poco::PooledThread::run() @ 0x1ae7e796 in /usr/bin/clickhouse
    12. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread.cpp:56: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x1ae7c930 in /usr/bin/clickhouse
    13. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/include/Poco/SharedPtr.h:277: Poco::ThreadImpl::runnableEntry(void*) @ 0x1ae7afa8 in /usr/bin/clickhouse
    14. __tsan_thread_start_func @ 0xa039dfd in /usr/bin/clickhouse
    15. ? @ 0x7f4c565cf609 in ?
    16. clone @ 0x7f4c564f6293 in ?
     (version 21.13.1.1305)

</details>

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/33140/b4420cfa3e834ab9026914978697ded3180122a0/integration_tests__thread__actions__[3/4].html
2021-12-26 16:50:34 +03:00
Azat Khuzhin
bcce1d70b2 tests: update tests with event_time/event_date = today() to >= yesterday()
This will fix failures like in [1], from query_log from artifacts:

    SELECT
        query,
        event_time
    FROM system.query_log
    WHERE (NOT is_initial_query) AND (query NOT LIKE '%system%query_log%') AND (query LIKE concat('WITH%', 'test_84qkvq', '%AS `id_no` %')) AND (type = 'QueryFinish')

    Query id: c5d70aba-b0aa-4f92-bdb3-29547b9aabb1

    ┌─query──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────event_time─┐
    │ WITH _CAST('test_84qkvq', 'Nullable(String)') AS `id_no` SELECT `one`.`dummy`, ignore(`id_no`) FROM `system`.`one` WHERE `dummy` IN (0, 2) │ 2021-12-25 23:59:59 │
    │ WITH _CAST('test_84qkvq', 'Nullable(String)') AS `id_no` SELECT `one`.`dummy`, ignore(`id_no`) FROM `system`.`one` WHERE `dummy` IN (0, 2) │ 2021-12-25 23:59:59 │
    └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────────┘

    2 rows in set. Elapsed: 0.032 sec.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/33175/465a9bf615e1b233606460f956c09f71931c99a2/stateless_tests__debug__actions__[2/3].html
2021-12-26 16:35:15 +03:00
Azat Khuzhin
6d9d7df9d6 check-style: check for event_time/event_date = today() queries 2021-12-26 16:25:15 +03:00
Azat Khuzhin
78f66c6d72 check-style: remove absolete filters
Follow-up for: eaba6a7f59
2021-12-26 16:13:03 +03:00
Tatiana Kirillova
a4d364ab03 update text 2021-12-26 14:03:49 +03:00
Tatiana Kirillova
e3e1fe74c1 update 2021-12-26 13:55:49 +03:00
Tatiana Kirillova
05a33abf26 OR operator in ON section for JOIN 2021-12-26 13:38:22 +03:00
meoww-bot
717b9a2286
Update contributors.md 2021-12-26 17:33:58 +08:00
alexey-milovidov
454207a9a2
Merge pull request #33176 from kssenii/postgres-update-doc
Update postgres doc
2021-12-26 12:31:21 +03:00
alexey-milovidov
a5824cb3e0
Merge pull request #33195 from ClickHouse/hardware-benchmark-results-2
Hardware benchmark results 2
2021-12-26 12:25:42 +03:00
meoww-bot
c61609c4b9
Update columns.md 2021-12-26 17:23:12 +08:00
Alexey Milovidov
26aedf247c Add one more result 2021-12-26 12:23:09 +03:00
Alexey Milovidov
9e7a80f581 Add RockPi4 2021-12-26 12:18:06 +03:00
meoww-bot
975b8211b5
Remove duplicates
The duplicates was introduced by this [commit](00a2dfb1bf)
2021-12-26 16:25:45 +08:00
meoww-bot
d2e0984702
Update detached_parts.md 2021-12-26 16:15:36 +08:00
taiyang-li
8daeefeebe inject gitinfo 2021-12-26 15:46:38 +08:00
Kseniia Sumarokova
495faad49f
Update materialized-postgresql.md 2021-12-26 10:20:43 +03:00
kssenii
2bcb122cd0 Clean up unused replication slots 2021-12-26 10:15:03 +03:00
alexey-milovidov
bd39ced0e4
Merge pull request #33185 from ClickHouse/tests-visualizer
Add a simple tool to visualize flaky tests
2021-12-26 08:43:21 +03:00
alexey-milovidov
f5891d1cc7
Merge pull request #33189 from kssenii/fix-clickhouse-local-exception
Fix possible uncaught exception in clickhouse-local
2021-12-26 08:42:45 +03:00
meoww-bot
f7569f5e43
Update numbers.md 2021-12-26 12:26:43 +08:00
alexey-milovidov
e05a0cf608
Merge pull request #33127 from freedomDR/fix_bitmap
fix AggregateFunctionGroupBitmapData function rb_contains rb_remove
2021-12-25 22:09:20 +03:00
alexey-milovidov
ff5c860f6e
Merge pull request #33169 from ClickHouse/fix-flaky-test-00646
Fix flaky test 01622_defaults_for_url_engine
2021-12-25 22:04:57 +03:00
alexey-milovidov
36608310bf
Merge pull request #33186 from ClickHouse/revert-26869-grouping-sets-dev
Revert "Grouping sets dev"
2021-12-25 22:03:27 +03:00
kssenii
38ca791465 Fix 2021-12-25 22:00:28 +03:00
kssenii
c4db4309c2 Better 2021-12-25 21:47:16 +03:00
meoww-bot
b82b33d34b
Update parts.md 2021-12-26 02:10:42 +08:00
alexey-milovidov
0a55fa3dc2
Revert "Grouping sets dev" 2021-12-25 20:30:31 +03:00
alexey-milovidov
6c3b3bd0c5
Merge pull request #33168 from ClickHouse/fix-clang-tidy
Fix clang-tidy
2021-12-25 20:28:20 +03:00
Alexey Milovidov
12a851b85c Add simple tool to visualize flaky tests 2021-12-25 20:21:30 +03:00
kssenii
e663cb4574 Fix detaching-attaching table with schema 2021-12-25 19:51:55 +03:00
freedomDR
1d8ddffa78 add test 2021-12-25 16:44:12 +00:00
meoww-bot
a3dbebd47f
Update settings.md 2021-12-25 23:56:46 +08:00
meoww-bot
84b1dd75b7
Update metrics.md 2021-12-25 23:34:09 +08:00
meoww-bot
32a9540a46
Update metrics.md 2021-12-25 23:27:20 +08:00
meoww-bot
057b7bea86
Update contributors.md 2021-12-25 21:52:15 +08:00
kssenii
688cffb8be Update postgres doc 2021-12-25 16:37:44 +03:00
alexey-milovidov
f9d961d46d
Merge pull request #33164 from azat/fix-test_async_drain_connection
Fix test_async_drain_connection flakiness
2021-12-25 16:23:17 +03:00
Kruglov Pavel
22dbaec11a
Merge pull request #33142 from Avogar/fix-s3-write
Don't allow to write into S3 if path contains globs
2021-12-25 16:07:38 +03:00
Alexey Milovidov
f78678dc3f Great simplification of test 01622_defaults_for_url_engine 2021-12-25 16:01:35 +03:00
Alexander Burmak
465a9bf615 ClickHouse diagnostics tool 2021-12-25 15:45:08 +03:00
Alexey Milovidov
fa25a95273 Fix clang-tidy 2021-12-25 15:41:07 +03:00
Roman Bug
2ce3c6c91d Update RU translation. 2021-12-25 14:52:15 +03:00
alexey-milovidov
795564ee1b
Merge pull request #33161 from ClickHouse/fix-test-02098
Fix Date32 test
2021-12-25 12:26:27 +03:00
Roman Bug
c434432878
Update docs/en/operations/settings/settings.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-12-25 12:18:22 +03:00