Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

01305_replica_create_drop_zookeeper flap #21419

Closed
alesapin opened this issue Mar 3, 2021 · 1 comment · Fixed by #23294
Closed

01305_replica_create_drop_zookeeper flap #21419

alesapin opened this issue Mar 3, 2021 · 1 comment · Fixed by #23294
Assignees
Labels
testing Special issue with list of bugs found by CI

Comments

@alesapin
Copy link
Member

alesapin commented Mar 3, 2021

https://clickhouse-test-reports.s3.yandex.net/0/bd7b540b8255475ad584e814a8eeeb1386645fda/functional_stateless_tests_(release).html#fail1
server logs

2021.03.03 07:12:43.919384 [ 34343 ] {9e90754b-c3a1-4c51-a7a1-697104df992d} <Error> TCPHandler: Code: 999, e.displayText() = DB::Exception: Can't get data for node /clickhouse/tables/test_01305/alter_table/metadata: node doesn't exist (No 
node), Stack trace:                                                                                                                                                                                                                            
                                                                                                                                                                                                                                               
0. Coordination::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Coordination::Error, int) @ 0xfbcd5c3 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4
.debug                                                                                                                                                                                                                                         
1. Coordination::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Coordination::Error) @ 0xfbcd842 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debu
g                                                                                                                                                                                                                                              
2. zkutil::ZooKeeper::get(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Coordination::Stat*, std::__1::shared_ptr<Poco::Event> const&) @ 0xfbd4ad2 in /usr/lib/debug/.build-id/1c/f54413784e79a
e4a9d0206c5db6611836f80c4.debug                                                                                                                                                                                                                
3. DB::StorageReplicatedMergeTree::checkTableStructure(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&) @ 0xf3b8f13 in /usr/lib/de
bug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug                                                                                                                                                                                  
4. DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(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&, bool, DB::StorageID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::StorageInMemoryMetadata const&, DB::Context&, std::__1::basic_string<char, std::__1::char_traits<char>
, std::__1::allocator<char> > const&, DB::MergeTreeData::MergingParams const&, std::__1::unique_ptr<DB::MergeTreeSettings, std::__1::default_delete<DB::MergeTreeSettings> >, bool, bool) @ 0xf3b2965 in /usr/lib/debug/.build-id/1c/f54413784e
79ae4a9d0206c5db6611836f80c4.debug
5. DB::create(DB::StorageFactory::Arguments const&) @ 0xf7acdbf in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
6. DB::StorageFactory::get(DB::ASTCreateQuery const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, DB::Context&, DB::ColumnsDescription const&, DB::ConstraintsDescription const
&, bool) const @ 0xf2fcf59 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
7. DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0xebcc0b4 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
8. DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0xebc8f52 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
9. DB::InterpreterCreateQuery::execute() @ 0xebce4d0 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
10. DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*) @ 0xf11d9f2 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
11. DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool) @ 0xf11c333 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c
5db6611836f80c4.debug
12. DB::TCPHandler::runImpl() @ 0xf8927ad in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
13. DB::TCPHandler::run() @ 0xf8a4b39 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
14. Poco::Net::TCPServerConnection::start() @ 0x11f5642f in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
15. Poco::Net::TCPServerDispatcher::run() @ 0x11f57e41 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
16. Poco::PooledThread::run() @ 0x1208e569 in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
17. Poco::ThreadImpl::runnableEntry(void*) @ 0x1208a3ca in /usr/lib/debug/.build-id/1c/f54413784e79ae4a9d0206c5db6611836f80c4.debug
18. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
19. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
@alesapin alesapin added the testing Special issue with list of bugs found by CI label Mar 3, 2021
@alesapin alesapin self-assigned this Mar 3, 2021
@qoega
Copy link
Member

qoega commented Mar 11, 2021

https://clickhouse-test-reports.s3.yandex.net/0/b399f80b7e8b140ebcd552e443c8f537b5353bf3/functional_stateless_tests_(address).html

https://clickhouse-test-reports.s3.yandex.net/0/b399f80b7e8b140ebcd552e443c8f537b5353bf3/functional_stateless_tests_(address)/test_run.txt.out.log

2021-03-10 15:54:56 [5696bab96c6b] 2021.03.10 15:54:50.502180 [ 70037 ] {f1985048-e5bd-4ce8-bc6e-80f6f494e7da} <Error> executeQuery: Code: 253, e.displayText() = DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error (version 21.4.1.6208 (official build)) (from [::1]:40240) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01753_fix_clickhouse_format.sh') (in query: CREATE TABLE test_table_2 (a UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01305/alter_table', 'r_2') ORDER BY tuple();), Stack trace (when copying this message, always include the lines below):
2021-03-10 15:54:56 Code: 253. DB::Exception: Received from localhost:9000. DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error. 
2021-03-10 15:54:56 [5696bab96c6b] 2021.03.10 15:54:50.648438 [ 50065 ] {aada05ee-04b7-44d7-84ee-5d1df30a27a5} <Error> executeQuery: Code: 253, e.displayText() = DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error (version 21.4.1.6208 (official build)) (from [::1]:40246) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01753_fix_clickhouse_format.sh') (in query: CREATE TABLE test_table_1 (a UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01305/alter_table', 'r_1') ORDER BY tuple();), Stack trace (when copying this message, always include the lines below):
2021-03-10 15:54:56 Code: 253. DB::Exception: Received from localhost:9000. DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error. 
2021-03-10 15:54:56 [5696bab96c6b] 2021.03.10 15:54:52.290361 [ 70037 ] {bb56d4e9-ce2b-4ee3-8248-892176d298c1} <Error> executeQuery: Code: 253, e.displayText() = DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error (version 21.4.1.6208 (official build)) (from [::1]:40254) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01753_fix_clickhouse_format.sh') (in query: CREATE TABLE test_table_2 (a UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01305/alter_table', 'r_2') ORDER BY tuple();), Stack trace (when copying this message, always include the lines below):
2021-03-10 15:54:56 Code: 253. DB::Exception: Received from localhost:9000. DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error. 
2021-03-10 15:54:56 [5696bab96c6b] 2021.03.10 15:54:52.512489 [ 50065 ] {aa089801-0688-43bb-85d1-4d879a216b9d} <Error> executeQuery: Code: 253, e.displayText() = DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error (version 21.4.1.6208 (official build)) (from [::1]:40256) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01753_fix_clickhouse_format.sh') (in query: CREATE TABLE test_table_1 (a UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01305/alter_table', 'r_1') ORDER BY tuple();), Stack trace (when copying this message, always include the lines below):
2021-03-10 15:54:56 Code: 253. DB::Exception: Received from localhost:9000. DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error. 
2021-03-10 15:54:56 [5696bab96c6b] 2021.03.10 15:54:54.118407 [ 70037 ] {bd08a65d-6a6b-44b4-9544-60ffff282fe6} <Error> executeQuery: Code: 253, e.displayText() = DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error (version 21.4.1.6208 (official build)) (from [::1]:40268) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01753_fix_clickhouse_format.sh') (in query: CREATE TABLE test_table_2 (a UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01305/alter_table', 'r_2') ORDER BY tuple();), Stack trace (when copying this message, always include the lines below):
2021-03-10 15:54:56 Code: 253. DB::Exception: Received from localhost:9000. DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error. 
2021-03-10 15:54:56 [5696bab96c6b] 2021.03.10 15:54:54.376153 [ 50065 ] {11d43f8b-2912-424e-a287-5b475d9ef518} <Error> executeQuery: Code: 253, e.displayText() = DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error (version 21.4.1.6208 (official build)) (from [::1]:40270) (comment: '/usr/share/clickhouse-test/queries/0_stateless/01753_fix_clickhouse_format.sh') (in query: CREATE TABLE test_table_1 (a UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01305/alter_table', 'r_1') ORDER BY tuple();), Stack trace (when copying this message, always include the lines below):
2021-03-10 15:54:56 Code: 253. DB::Exception: Received from localhost:9000. DB::Exception: Cannot create table, because it is created concurrently every time or because of wrong zookeeper_path or because of logical error. 
2021-03-10 15:54:56 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Special issue with list of bugs found by CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants