-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Lock is lost, node does not exist (zero copy) #74734
Copy link
Copy link
Closed
Description
Describe the bug
Likely this is 01103_optimize_drop_race_zookeeper test.
2025.01.17 21:40:05.627832 [ 2593 ] {} <Error> zkutil::ZooKeeperLock::~ZooKeeperLock(): Code: 49. DB::Exception: Lock is lost, node does not exist. Path: /clickhouse/zero_copy/zero_copy_s3/83a6a12a-a6af-4a0a-878e-3926a938aa57/4_0_0_1/part_exclusive_lock, message: 1auto_r2, our id: 1. (LOGICAL_ERROR), Stack trace (when copying this message, always include the lines below):
0. ./build_docker/./src/Common/Exception.cpp:107: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000dce56fb
1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000008b7fc4c
2. ./src/Common/Exception.h:123: DB::Exception::Exception<String&, String&, long>(int, FormatStringHelperImpl<std::type_identity<String&>::type, std::type_identity<String&>::type, std::type_identity<long>::type>, String&, String&, long&&) @ 0x000000001463582d
3. ./build_docker/./src/Common/ZooKeeper/ZooKeeperLock.cpp:88: zkutil::ZooKeeperLock::unlock() @ 0x0000000014634a82
4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperLock.cpp:41: zkutil::ZooKeeperLock::~ZooKeeperLock() @ 0x00000000146336f1
5. ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:66: DB::MergeFromLogEntryTask::~MergeFromLogEntryTask() @ 0x00000000136ec377
6. ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:157: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::threadFunction() @ 0x000000001372e3c0
7. ./contrib/llvm-project/libcxx/include/__functional/function.h:714: ? @ 0x000000000ddc235b
8. ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:312: void std::__function::__policy_invoker<void ()>::__call_impl[abi:ne180100]<std::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000ddc8c22
9. ./contrib/llvm-project/libcxx/include/__functional/function.h:714: ? @ 0x000000000ddbf6df
10. ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:312: void* std::__thread_proxy[abi:ne180100]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>>(void*) @ 0x000000000ddc685a
11. ? @ 0x00007febcdb5fac3
12. ? @ 0x00007febcdbf1850
(version 25.1.1.3426)
How to reproduce
No response
Error message and/or stacktrace
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels