1. 14 3月, 2021 22 次提交
  2. 13 3月, 2021 18 次提交
    • A
      Fix log_comment for *.sh in clickhouse-test · 33452055
      Azat Khuzhin 提交于
      setdefault will set it only once
      33452055
    • A
      boop the ci · c4798dd4
      Alexander Kuzmenkov 提交于
      c4798dd4
    • A
      Merge pull request #21691 from azat/clickhouse-test-fix · 38c06872
      alexey-milovidov 提交于
      Fix error message in clickhouse-test
      38c06872
    • A
      Merge pull request #21102 from Enmk/governance/query_log · 36935a33
      alexey-milovidov 提交于
      Added Grant, Revoke and System query_kind for system.query_log
      36935a33
    • A
      boop the ci · 9474414c
      Alexander Kuzmenkov 提交于
      9474414c
    • A
      boop the CI · 6495de66
      Alexander Kuzmenkov 提交于
      6495de66
    • M
      Fixed tests · ee8c51f6
      Maksim Kita 提交于
      ee8c51f6
    • M
      Fixed broken test · add444f7
      Maksim Kita 提交于
      add444f7
    • M
      RangeHashed dictionary support has function · 854bfaf3
      Maksim Kita 提交于
      854bfaf3
    • M
      Remove protect · 468ab258
      Maksim Kita 提交于
      468ab258
    • A
    • A
    • M
      Merge pull request #21668 from kitaisreal/dictionary-attributes-unique-names · 79b061ac
      Maksim Kita 提交于
      DictionaryStructure fix non unique attribute names
      79b061ac
    • A
      Fix hang check for 00966_live_view_watch_events_http · 2d66a5c3
      Azat Khuzhin 提交于
      If INSERT was failed then WATCH EVENTS will hang:
      
          2021.03.12 23:45:33.666223 [ 1901 ] {} <Trace> DynamicQueryHandler: Request URI: /?allow_experimental_live_view=1&query=WATCH%20test.lv%20EVENTS
          ...
          2021.03.12 23:45:34.119465 [ 35492 ] {55f2c8ec-df9f-4e97-9acc-385ed5b5fde2} <Error> executeQuery: Code: 241, e.displayText() = DB::Exception: Memory limit (for user) exceeded: would use 153.99 MiB (attempt to allocate chunk of 4194729 bytes), maximum: 150.00 MiB (version 21.4.1.6239) (from [::1]:43910) (in query: INSERT INTO test.mt VALUES ), Stack trace (when copying this message, always include the lines below):
          ...
      
      Hung check:
      
          elapsed:              597.835824299
          is_cancelled:         0
          query:                WATCH test.lv EVENTS
          thread_ids:           [1901]
      
      gdb:
      
          Thread 133 (Thread 0x7f26ac95b700 (LWP 1901)):
          0  0x00007f2793d447b1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
          1  0x0000000008cbd5c5 in __tsan::call_pthread_cancel_with_cleanup(int (*)(void*, void*, void*), void*, void*, void*, void (*)(void*), void*) ()
          2  0x0000000008c4f134 in cond_wait(__tsan::ThreadState*, unsigned long, __tsan::ScopedInterceptor*, int (*)(void*, void*, void*), void*, void*, void*) ()
          3  0x0000000008c4f339 in pthread_cond_timedwait ()
          4  0x000000001831c8b6 in std::__1::__libcpp_condvar_timedwait (__cv=0x7b5801053520, __m=0x189, __ts=0x7f26ac9132b8) at ../contrib/libcxx/include/__threading_support:442
          5  std::__1::condition_variable::__do_timed_wait (this=0x7b5801053520, lk=..., tp=...) at ../contrib/libcxx/src/condition_variable.cpp:74
          6  0x00000000134fe7f2 in std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000l> > (this=this@entry=0x7b5801053520, __lk=..., __d=...) at ../contrib/libcxx/include/__mutex_base:462
          7  0x00000000134fe2c9 in DB::LiveViewEventsBlockInputStream::tryReadImpl (this=this@entry=0x7b5c0070ff98, blocking=false) at ../src/Storages/LiveView/LiveViewEventsBlockInputStream.h:180
          8  0x00000000134fd6e4 in DB::LiveViewEventsBlockInputStream::readImpl (this=0x189) at ../src/Storages/LiveView/LiveViewEventsBlockInputStream.h:115
          9  0x0000000012285593 in DB::IBlockInputStream::read (this=0x7b5c0070ff98) at ../src/DataStreams/IBlockInputStream.cpp:58
          10 0x00000000122afc7e in DB::copyDataImpl<std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&>(DB::IBlockInputStream&, DB::IBlockOutputStream&, std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&) (from=..., to=..., is_cancelled=..., progress=...) at ../src/DataStreams/copyData.cpp:26
          11 0x00000000122af8e1 in DB::copyData(DB::IBlockInputStream&, DB::IBlockOutputStream&, std::__1::function<bool ()> const&, std::__1::function<void (DB::Block const&)> const&) (from=..., to=..., is_cancelled=..., progress=...) at ../src/DataStreams/copyData.cpp:73
          12 0x0000000012cfc5e2 in DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, DB::Context&, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>) (istr=..., ostr=..., allow_into_outfile=false, context=..., set_result_details=...) at ../src/Interpreters/executeQuery.cpp:1033
          13 0x000000001357941d in DB::HTTPHandler::processQuery (this=this@entry=0x7b1c006f41b0, context=..., request=..., params=..., response=..., used_output=..., query_scope=...) at ../src/Server/HTTPHandler.cpp:772
          14 0x000000001357c507 in DB::HTTPHandler::handleRequest (this=<optimized out>, request=..., response=...) at ../src/Server/HTTPHandler.cpp:910
          15 0x00000000135f3081 in DB::HTTPServerConnection::run (this=<optimized out>) at ../src/Server/HTTP/HTTPServerConnection.cpp:48
          16 0x00000000161f9e73 in Poco::Net::TCPServerConnection::start (this=0x7b8c01554000) at ../contrib/poco/Net/src/TCPServerConnection.cpp:43
          17 0x00000000161fa59f in Poco::Net::TCPServerDispatcher::run (this=<optimized out>) at ../contrib/poco/Net/src/TCPServerDispatcher.cpp:113
          18 0x0000000016361732 in Poco::PooledThread::run (this=<optimized out>) at ../contrib/poco/Foundation/src/ThreadPool.cpp:199
          19 0x000000001635fcd0 in Poco::(anonymous namespace)::RunnableHolder::run (this=<optimized out>) at ../contrib/poco/Foundation/src/Thread.cpp:55
          20 0x000000001635e4d8 in Poco::ThreadImpl::runnableEntry (pThread=0x7b5400082538) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
          21 0x0000000008c4e36d in __tsan_thread_start_func ()
          22 0x00007f2793d3d609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
          23 0x00007f2793c64293 in clone () from /lib/x86_64-linux-gnu/libc.so.6
      
      Cc: @vzakaznikov
      2d66a5c3
    • A
    • A
      Remove currently unused code · a446612e
      Alexey Milovidov 提交于
      a446612e
    • A
      Remove currently unused code · 6d91881f
      Alexey Milovidov 提交于
      6d91881f
    • A
      Do not use system-wide SYSTEM STOP TTL MERGES, use per-table instead · a301aa64
      Azat Khuzhin 提交于
      Fixes 01294_lazy_database_concurrent_recreate_reattach_and_show_tables
      a301aa64