-
Notifications
You must be signed in to change notification settings - Fork 8.3k
03352_concurrent_rename_alter is flaky #84081
Copy link
Copy link
Closed
Labels
flaky testflaky test found by CIflaky test found by CItestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI
Description
Note, this is different failure from the #83821
2025-07-19 16:32:11 [28e041eee8c3] 2025.07.19 23:32:10.156936 [ 37076 ] {00827f06-5a09-4109-994e-947448e0c382} <Error> executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 25.8.1.1) (from [::1]:37892) (comment: 03352_concurrent_rename_alter.sh) (query 1, line 2) (in query: ALTER TABLE t_rename_alter ADD COLUMN just_for_sync_alters_and_mutations UInt64 SETTINGS alter_sync = 2;), Stack trace (when copying this message, always include the lines below):
2025-07-19 16:32:11
2025-07-19 16:32:11 0. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x00000000265bd8f2
2025-07-19 16:32:11 1. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Common/Exception.cpp:115: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000014072b26
2025-07-19 16:32:11 2. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Common/Exception.h:119: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000cd935ac
2025-07-19 16:32:11 3. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Common/Exception.h:137: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000cd9dc36
2025-07-19 16:32:11 4. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Storages/StorageReplicatedMergeTree.cpp:6729: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr<DB::Context const>, std::unique_lock<std::timed_mutex>&) @ 0x000000001d939e42
2025-07-19 16:32:11 5. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Interpreters/InterpreterAlterQuery.cpp:253: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001ae9f88f
2025-07-19 16:32:11 6. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Interpreters/InterpreterAlterQuery.cpp:82: DB::InterpreterAlterQuery::execute() @ 0x000000001ae9cccd
2025-07-19 16:32:11 7. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Interpreters/executeQuery.cpp:1561: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*, std::shared_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>) @ 0x000000001b24c043
2025-07-19 16:32:11 8. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Interpreters/executeQuery.cpp:1769: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001b245fbb
2025-07-19 16:32:11 9. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Server/TCPHandler.cpp:723: DB::TCPHandler::runImpl() @ 0x000000001e4c66d2
2025-07-19 16:32:11 10. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/src/Server/TCPHandler.cpp:2727: DB::TCPHandler::run() @ 0x000000001e4dfe24
2025-07-19 16:32:11 11. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000026673a87
2025-07-19 16:32:11 12. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000026674065
2025-07-19 16:32:11 13. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x000000002661393f
2025-07-19 16:32:11 14. /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/base/poco/Foundation/src/Thread_POSIX.cpp:341: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000026611011
2025-07-19 16:32:11 15. ? @ 0x0000000000094ac3
2025-07-19 16:32:11 16. ? @ 0x0000000000126850
2025-07-19 16:32:11
2025-07-19 16:32:11 Received exception from server (version 25.8.1):
2025-07-19 16:32:11 Code: 517. DB::Exception: Received from localhost:9000. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER)
2025-07-19 16:32:11 (query: ALTER TABLE t_rename_alter ADD COLUMN just_for_sync_alters_and_mutations UInt64 SETTINGS alter_sync = 2;)
Cc @CurtizJ
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
flaky testflaky test found by CIflaky test found by CItestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI