1. 04 2月, 2021 25 次提交
    • G
    • A
      Merge pull request #20047 from azat/pushing-to-views-elapsed-fix · c13759dd
      alexey-milovidov 提交于
      Fix log message with elapsed time while pushing to views
      c13759dd
    • A
      Whitespace · 15a529f6
      Alexey Milovidov 提交于
      15a529f6
    • A
      Adjust perf test · ab30c95b
      Alexey Milovidov 提交于
      ab30c95b
    • A
      Merge pull request #19886 from azat/writer-partial-buffer · 5c1b96dd
      alexey-milovidov 提交于
      Allow writing partial buffer
      5c1b96dd
    • A
      Merge pull request #20011 from azat/UBsan-fixes-21.2.1 · 29dd4030
      alexey-milovidov 提交于
      UBsan fixes
      29dd4030
    • A
      Update adopters.md · 227698ea
      alexey-milovidov 提交于
      227698ea
    • A
      Merge pull request #20045 from ClickHouse/executable-dictionary-data-race · 57311895
      alexey-milovidov 提交于
      Fix data race in executable dictionary
      57311895
    • A
      More docs for MergeTreeSettings · 474f1517
      Alexey Milovidov 提交于
      474f1517
    • A
      Fix clang-analyzer-optin.cplusplus.VirtualCall · fb4596f4
      Azat Khuzhin 提交于
      fb4596f4
    • A
      Fix UBsan reports in quantileTiming · 984445b4
      Azat Khuzhin 提交于
      UBsan reports [1]:
      
          ../src/AggregateFunctions/QuantileTiming.h:442:27: runtime error: 1.84467e+19 is outside the range of representable values of type 'unsigned long' Received signal -3 Received signal Unknown signal (-3)
      
        [1]: https://clickhouse-test-reports.s3.yandex.net/19971/e15f5d9cb5b36482d1ae9ca069074fb200f2ab37/fuzzer_ubsan/report.html#fail1
      
      Follow-up for: #19394
      984445b4
    • A
      Add quantilesTimingWeighted into documentation · da794690
      Azat Khuzhin 提交于
      da794690
    • A
      Change PushingToViewsBlockOutputStream::process, to accept ref to ViewInfo · c59f22d7
      Azat Khuzhin 提交于
      It is safe, no need to use quirks with passing view_num.
      c59f22d7
    • A
      Fix logging of elapsed time while pushing to views · 50d8a87c
      Azat Khuzhin 提交于
      Logging from PushingToViewsBlockOutputStream::write() is incorrect,
      since it does not takes into account squashing (default to 1<<20 rows
      and 256<<20), whle write will be done from
      PushingToViewsBlockOutputStream::writeSuffix().
      
      Fixes: #19378
      50d8a87c
    • A
    • A
      Fix incorrect WriteBuffer interface usage in message brokers producers · 46f52681
      Azat Khuzhin 提交于
      WriteBufferToKafkaProducer and WriteBufferToRabbitMQProducer uses
      WriteBuffer::set(nullptr, 0) which will leave the WriteBuffer in the
      invalid state, since after this available() is 0 and next() will not
      call nextImpl().
      
      Stacktrace:
      
          2021.02.02 05:27:16.248056 [ 97 ] {} <Fatal> BaseDaemon: ########################################
          2021.02.02 05:27:16.248697 [ 97 ] {} <Fatal> BaseDaemon: (version 21.3.1.5880, build id: 03F265087EF651DC4D8E569775FE9E91FFA5DE76) (from thread 93) (query_id: 8c34c220-f66a-45d2-8f4f-01193cede98b) Received signal Segmentation fault (11)
          2021.02.02 05:27:16.249030 [ 97 ] {} <Fatal> BaseDaemon: Address: NULL pointer. Access: write. Address not mapped to object.
          2021.02.02 05:27:16.249623 [ 97 ] {} <Fatal> BaseDaemon: Stack trace: 0x12f3dbeb 0x12efd075 0x12efc90e 0x12ebb0e9 0x12ebe0cb 0x12e1da18 0x12a8c857 0x1219aa62 0x1218fc82 0x1218fdaa 0x11e3f120 0x12dfa3df 0x12df42a4 0x12e00fa8 0x158cdc63 0x158ce38f 0x15a36b72 0x15a35110 0x15a33918 0x8adf12d 0x7fb5e0fe3609 0x7fb5e0f0a293
          2021.02.02 05:27:16.408985 [ 97 ] {} <Fatal> BaseDaemon: 5. ./obj-x86_64-linux-gnu/../src/IO/WriteHelpers.h:64: DB::JSONEachRowRowOutputFormat::writeRowStartDelimiter() @ 0x12f3dbeb in /usr/bin/clickhouse
          2021.02.02 05:27:16.534797 [ 97 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Processors/Formats/IRowOutputFormat.cpp:80: DB::IRowOutputFormat::write(std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn> > > const&, unsigned long) @ 0x12efd075 in /usr/bin/clickhouse
          2021.02.02 05:27:16.599210 [ 97 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Processors/Formats/IRowOutputFormat.cpp:0: DB::IRowOutputFormat::consume(DB::Chunk) @ 0x12efc90e in /usr/bin/clickhouse
          2021.02.02 05:27:16.680733 [ 97 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3211: DB::IOutputFormat::write(DB::Block const&) @ 0x12ebb0e9 in /usr/bin/clickhouse
          2021.02.02 05:27:16.798768 [ 97 ] {} <Fatal> BaseDaemon: 9. ./obj-x86_64-linux-gnu/../src/Processors/Formats/OutputStreamToOutputFormat.cpp:15: DB::OutputStreamToOutputFormat::write(DB::Block const&) @ 0x12ebe0cb in /usr/bin/clickhouse
          2021.02.02 05:27:16.981593 [ 97 ] {} <Fatal> BaseDaemon: 10. ./obj-x86_64-linux-gnu/../src/DataStreams/MaterializingBlockOutputStream.h:0: DB::MaterializingBlockOutputStream::write(DB::Block const&) @ 0x12e1da18 in /usr/bin/clickhouse
          2021.02.02 05:27:17.090383 [ 97 ] {} <Fatal> BaseDaemon: 11. ./obj-x86_64-linux-gnu/../src/Storages/RabbitMQ/RabbitMQBlockOutputStream.cpp:61: DB::RabbitMQBlockOutputStream::write(DB::Block const&) @ 0x12a8c857 in /usr/bin/clickhouse
          2021.02.02 05:27:17.140425 [ 97 ] {} <Fatal> BaseDaemon: 12. ./obj-x86_64-linux-gnu/../src/DataStreams/AddingDefaultBlockOutputStream.cpp:0: DB::AddingDefaultBlockOutputStream::write(DB::Block const&) @ 0x1219aa62 in /usr/bin/clickhouse
          2021.02.02 05:27:17.190282 [ 97 ] {} <Fatal> BaseDaemon: 13. ./obj-x86_64-linux-gnu/../src/DataStreams/SquashingBlockOutputStream.cpp:0: DB::SquashingBlockOutputStream::finalize() @ 0x1218fc82 in /usr/bin/clickhouse
          2021.02.02 05:27:17.240052 [ 97 ] {} <Fatal> BaseDaemon: 14. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2844: DB::SquashingBlockOutputStream::writeSuffix() @ 0x1218fdaa in /usr/bin/clickhouse
          2021.02.02 05:27:17.294527 [ 97 ] {} <Fatal> BaseDaemon: 15. ./obj-x86_64-linux-gnu/../src/DataStreams/CountingBlockOutputStream.h:37: DB::CountingBlockOutputStream::writeSuffix() @ 0x11e3f120 in /usr/bin/clickhouse
          2021.02.02 05:27:17.405442 [ 97 ] {} <Fatal> BaseDaemon: 16. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:521: DB::TCPHandler::processInsertQuery(DB::Settings const&) @ 0x12dfa3df in /usr/bin/clickhouse
          2021.02.02 05:27:17.475822 [ 97 ] {} <Fatal> BaseDaemon: 17. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x12df42a4 in /usr/bin/clickhouse
          2021.02.02 05:27:17.609845 [ 97 ] {} <Fatal> BaseDaemon: 18. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:1419: DB::TCPHandler::run() @ 0x12e00fa8 in /usr/bin/clickhouse
          2021.02.02 05:27:17.695292 [ 97 ] {} <Fatal> BaseDaemon: 19. ./obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x158cdc63 in /usr/bin/clickhouse
          2021.02.02 05:27:17.833612 [ 97 ] {} <Fatal> BaseDaemon: 20. ./obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerDispatcher.cpp:0: Poco::Net::TCPServerDispatcher::run() @ 0x158ce38f in /usr/bin/clickhouse
          2021.02.02 05:27:17.907391 [ 97 ] {} <Fatal> BaseDaemon: 21. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/include/Poco/ScopedLock.h:36: Poco::PooledThread::run() @ 0x15a36b72 in /usr/bin/clickhouse
          2021.02.02 05:27:18.033949 [ 97 ] {} <Fatal> BaseDaemon: 22. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread.cpp:56: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x15a35110 in /usr/bin/clickhouse
          2021.02.02 05:27:18.122761 [ 97 ] {} <Fatal> BaseDaemon: 23. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/include/Poco/SharedPtr.h:277: Poco::ThreadImpl::runnableEntry(void*) @ 0x15a33918 in /usr/bin/clickhouse
          2021.02.02 05:27:18.283663 [ 97 ] {} <Fatal> BaseDaemon: 24. __tsan_thread_start_func @ 0x8adf12d in /usr/bin/clickhouse
          2021.02.02 05:27:18.284153 [ 97 ] {} <Fatal> BaseDaemon: 25. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
          2021.02.02 05:27:18.284544 [ 97 ] {} <Fatal> BaseDaemon: 26. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
          2021.02.02 05:27:21.675458 [ 97 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: B53B58DB6CF8186EEC9EA9273F135E44. There is no information about the reference checksum.
          2021.02.02 05:27:28.078805 [ 1 ] {} <Fatal> Application: Child process was terminated by signal 11.
      46f52681
    • A
      Merge pull request #20050 from azat/fix-tests-references · 9d8033d8
      alexey-milovidov 提交于
      Fix tests *.reference files
      9d8033d8
    • A
      Fix tests *.reference files · cc43f927
      Azat Khuzhin 提交于
      Using:
      
          sed -i 's/MergeTree  with order/MergeTree with order/g' tests/queries/0_stateless/*.reference
      
      Fixes: dc2afc47 ("Fix double whitespace #18383")
      cc43f927
    • A
      Merge pull request #20044 from bharatnc/ncb/docs-fix-tracelog · c715f0e2
      alexey-milovidov 提交于
      Docs (system.trace_log) - fix unit for event_time_microseconds 
      c715f0e2
    • A
      Merge pull request #19947 from azat/dist-INSERT-block-structure-mismatch · 402c018d
      alexey-milovidov 提交于
      Fix "Block structure mismatch" for INSERT into Distributed
      402c018d
    • A
      Fix double whitespace #18383 · dc2afc47
      Alexey Milovidov 提交于
      dc2afc47
    • A
      Merge pull request #20029 from ClickHouse/remove-useless-code-5 · 867f5a89
      alexey-milovidov 提交于
      Remove useless code
      867f5a89
    • A
      Fix data race in executable dictionary · 40939ff6
      Alexey Milovidov 提交于
      40939ff6
    • B
      dc6a9ab9
    • N
      Merge pull request #19962 from keen-wolf/timezoneOffset · c39c9656
      Nikolai Kochetov 提交于
      Implement the timezoneOffset function
      c39c9656
  2. 03 2月, 2021 15 次提交