Skip to content

Temporary directory for merged part already exist #29616

@tavplubix

Description

@tavplubix

https://clickhouse-test-reports.s3.yandex.net/29602/5de80a057fad28ea6b847772b1b3c23fda17b7d8/functional_stateless_tests_(release,_wide_parts_enabled).html#fail1

2021-10-01 15:24:10 00993_system_parts_race_condition_drop_zookeeper:                       [ FAIL ] 457.50 sec. - having stderror: 
2021-10-01 15:24:10 [6159e324f136] 2021.10.01 15:24:07.628355 [ 7880 ] {c0be8997-5b0e-44bc-ac55-798d367ffd37} <Error> InterpreterSystemQuery: SYNC REPLICA test_azebrg.alter_table_1 (1903d83c-7184-4ad8-9903-d83c71841ad8): Timed out!
2021-10-01 15:24:10 [6159e324f136] 2021.10.01 15:24:07.628641 [ 7880 ] {c0be8997-5b0e-44bc-ac55-798d367ffd37} <Error> executeQuery: Code: 159. DB::Exception: SYNC REPLICA test_azebrg.alter_table_1 (1903d83c-7184-4ad8-9903-d83c71841ad8): command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED) (version 21.11.1.8265) (from [::1]:41856) (comment: '/usr/share/clickhouse-test/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh') (in query: SYSTEM SYNC REPLICA alter_table_1), Stack trace (when copying this message, always include the lines below):
2021-10-01 15:24:10 
2021-10-01 15:24:10 0. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0x9528ed4 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 1. DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1142c73e in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 2. DB::InterpreterSystemQuery::execute() @ 0x11426ee5 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 3. DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1163ca69 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 4. DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) @ 0x1163a9f3 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 5. DB::TCPHandler::runImpl() @ 0x11f82324 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 6. DB::TCPHandler::run() @ 0x11f91239 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 7. Poco::Net::TCPServerConnection::start() @ 0x14bb1def in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 8. Poco::Net::TCPServerDispatcher::run() @ 0x14bb41e1 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 9. Poco::PooledThread::run() @ 0x14cc8989 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 10. Poco::ThreadImpl::runnableEntry(void*) @ 0x14cc60c0 in /usr/lib/debug/.build-id/97/659433c706eeb9bc1b9cfa879289b90bb497df.debug
2021-10-01 15:24:10 11. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
2021-10-01 15:24:10 12. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021-10-01 15:24:10 
2021-10-01 15:24:10 Received exception from server (version 21.11.1):
2021-10-01 15:24:10 Code: 159. DB::Exception: Received from localhost:9000. DB::Exception: SYNC REPLICA test_azebrg.alter_table_1 (1903d83c-7184-4ad8-9903-d83c71841ad8): command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED)
2021-10-01 15:24:10 (query: SYSTEM SYNC REPLICA alter_table_1)
2021-10-01 15:24:10 
2021-10-01 15:24:10 
2021-10-01 15:24:10 stdout:
2021-10-01 15:24:10 sync failed, queue:	default	alter_table_1	r_1	0	queue-0000000252	MERGE_PARTS	2021-10-01 15:16:34	0	r_7	-4_0_3_1_2	['-4_0_0_0_2','-4_1_1_0_2','-4_3_3_0']	0	0	5008	Code: 84. DB::Exception: Directory /var/lib/clickhouse/store/190/1903d83c-7184-4ad8-9903-d83c71841ad8/tmp_merge_-4_0_3_1_2/ already exists. (DIRECTORY_ALREADY_EXISTS) (version 21.11.1.8265)	2021-10-01 15:24:06	0		1970-01-01 09:00:00	REGULAR
2021-10-01 15:24:10 Replication did not hang: synced all replicas of alter_table_
2021-10-01 15:24:10 Consistency: 1
2021-10-01 15:24:10 
2021-10-01 15:24:10 
2021-10-01 15:24:10 Database: test_azebrg

Metadata

Metadata

Assignees

Labels

fuzzProblem 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