Skip to content

02477_projection_materialize_and_zero_copy is flaky #48313

@tavplubix

Description

@tavplubix

https://s3.amazonaws.com/clickhouse-test-reports/47863/73ffdd893dccfe29e8b04a464bba33bf72b6d95e/stateless_tests__tsan__s3_storage__[3/5].html

2023-04-01 10:03:03 02477_projection_materialize_and_zero_copy:                             [ FAIL ] 602.07 sec. - Timeout![1610490067c9] 2023.04.01 10:03:02.010282 [ 3151 ] {34ab0807-726a-4934-8bbd-72eff9d57f7b} <Error> executeQuery: Code: 341. DB::Exception: Log entry log-0000000003 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.4.1.1) (from [::1]:46832) (comment: 02477_projection_materialize_and_zero_copy.sql) (in query: optimize table t final;), Stack trace (when copying this message, always include the lines below):
2023-04-01 10:03:03 
2023-04-01 10:03:03 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x23445afe in /usr/bin/clickhouse
2023-04-01 10:03:03 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x145cfe38 in /usr/bin/clickhouse
2023-04-01 10:03:03 2. DB::Exception::Exception<String const&, String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type, std::type_identity<String const&>::type>, String const&, String const&) @ 0xcc5f79d in /usr/bin/clickhouse
2023-04-01 10:03:03 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5740: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr<DB::Context const>, String const&) @ 0x1e9ae057 in /usr/bin/clickhouse
2023-04-01 10:03:03 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr<DB::IAST> const&, std::shared_ptr<DB::StorageInMemoryMetadata const> const&, std::shared_ptr<DB::IAST> const&, bool, bool, std::vector<String, std::allocator<String>> const&, bool, std::shared_ptr<DB::Context const>) @ 0x1e9aaaac in /usr/bin/clickhouse
2023-04-01 10:03:03 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1dc99771 in /usr/bin/clickhouse
2023-04-01 10:03:03 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e1904c7 in /usr/bin/clickhouse
2023-04-01 10:03:03 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) @ 0x1e18cc2c in /usr/bin/clickhouse
2023-04-01 10:03:03 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f4df2ab in /usr/bin/clickhouse
2023-04-01 10:03:03 9. ./build_docker/./src/Server/TCPHandler.cpp:2039: DB::TCPHandler::run() @ 0x1f4f5028 in /usr/bin/clickhouse
2023-04-01 10:03:03 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x23284de3 in /usr/bin/clickhouse
2023-04-01 10:03:03 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x23285653 in /usr/bin/clickhouse
2023-04-01 10:03:03 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x234dfa7a in /usr/bin/clickhouse
2023-04-01 10:03:03 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x234dde30 in /usr/bin/clickhouse
2023-04-01 10:03:03 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x234dc448 in /usr/bin/clickhouse
2023-04-01 10:03:03 15. __tsan_thread_start_func @ 0xc4e1367 in /usr/bin/clickhouse
2023-04-01 10:03:03 16. ? @ 0x7f4f1f368609 in ?
2023-04-01 10:03:03 17. __clone @ 0x7f4f1f28d133 in ?
2023-04-01 10:03:03 
2023-04-01 10:03:03 Received exception from server (version 23.4.1):
2023-04-01 10:03:03 Code: 341. DB::Exception: Received from localhost:9000. DB::Exception: Log entry log-0000000003 is not precessed on local replica, most likely because the replica was shut down.. (UNFINISHED)
2023-04-01 10:03:03 (query: optimize table t final;)
2023-04-01 10:03:03 
2023-04-01 10:03:03 
2023-04-01 10:03:03 MergeTree settings used in test: --ratio_of_defaults_for_sparse_serialization=0.3353832298491338 --prefer_fetch_merged_part_size_threshold=1 --vertical_merge_algorithm_min_rows_to_activate=697159 --vertical_merge_algorithm_min_columns_to_activate=100 --min_merge_bytes_to_use_direct_io=1 --index_granularity_bytes=24908433 --merge_max_block_size=10861 --index_granularity=15 --min_bytes_for_wide_part=0
2023-04-01 10:03:03 

cc: @alesapin

Metadata

Metadata

Assignees

Labels

flaky testflaky test found by CIfuzzProblem found by one of the fuzzers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions