https://s3.amazonaws.com/clickhouse-test-reports/0/8b6e31cc615ca52c80724b6e5097777cb9514f07/stress_test__undefined__actions_.html
```
:2022.07.13 02:55:51.292844 [ 1249702 ] {} <Fatal> BaseDaemon: ########################################
:2022.07.13 02:55:51.292861 [ 1249702 ] {} <Fatal> BaseDaemon: (version 22.7.1.1 (official build), build id: 26FE1A310D3226A0) (from thread 1249336) (no query) Received signal Aborted (6)
:2022.07.13 02:55:51.292872 [ 1249702 ] {} <Fatal> BaseDaemon: 
:2022.07.13 02:55:51.292897 [ 1249702 ] {} <Fatal> BaseDaemon: Stack trace: 0x7ff67a38000b 0x7ff67a35f859 0xffb9e4b 0xffba0a5 0x1e1be177 0x25a4fea5 0x25a50d9e 0x25a561a4 0x253d171e 0x253d1b47 0x25677db3 0x236c8af7 0x236cb1bd 0x236cbb7f 0x10090841 0x10093442 0x7ff67a537609 0x7ff67a45c133
:2022.07.13 02:55:51.292922 [ 1249702 ] {} <Fatal> BaseDaemon: 3. raise @ 0x7ff67a38000b in ?
:2022.07.13 02:55:51.292933 [ 1249702 ] {} <Fatal> BaseDaemon: 4. abort @ 0x7ff67a35f859 in ?
:2022.07.13 02:55:51.307751 [ 1249702 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/Common/Exception.cpp:47: DB::abortOnFailedAssertion(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0xffb9e4b in /usr/bin/clickhouse
:2022.07.13 02:55:51.321265 [ 1249702 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Common/Exception.cpp:70: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0xffba0a5 in /usr/bin/clickhouse
:2022.07.13 02:55:51.352895 [ 1249702 ] {} <Fatal> BaseDaemon: 7.1. inlined from ./build_docker/../contrib/libcxx/include/string:1445: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__is_long() const
:2022.07.13 02:55:51.352917 [ 1249702 ] {} <Fatal> BaseDaemon: 7.2. inlined from ../contrib/libcxx/include/string:2231: ~basic_string
:2022.07.13 02:55:51.352941 [ 1249702 ] {} <Fatal> BaseDaemon: 7. ../src/Common/Exception.h:37: DB::Exception::Exception<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&>(int, fmt::v8::basic_format_string<char, fmt::v8::type_identity<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>::type, fmt::v8::type_identity<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>::type>, 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&) @ 0x1e1be177 in /usr/bin/clickhouse
:2022.07.13 02:55:51.416278 [ 1249702 ] {} <Fatal> BaseDaemon: 8. ./build_docker/../src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1107: DB::ReplicatedMergeTreeQueue::isCoveredByFuturePartsImpl(DB::ReplicatedMergeTreeLogEntry const&, 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> >&, std::__1::unique_lock<std::__1::mutex>&, std::__1::vector<std::__1::shared_ptr<DB::ReplicatedMergeTreeLogEntry>, std::__1::allocator<std::__1::shared_ptr<DB::ReplicatedMergeTreeLogEntry> > >*) const @ 0x25a4fea5 in /usr/bin/clickhouse
:2022.07.13 02:55:51.477856 [ 1249702 ] {} <Fatal> BaseDaemon: 9. ./build_docker/../src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:0: DB::ReplicatedMergeTreeQueue::shouldExecuteLogEntry(DB::ReplicatedMergeTreeLogEntry const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, DB::MergeTreeDataMergerMutator&, DB::MergeTreeData&, std::__1::unique_lock<std::__1::mutex>&) const @ 0x25a50d9e in /usr/bin/clickhouse
:2022.07.13 02:55:51.540628 [ 1249702 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1542: DB::ReplicatedMergeTreeQueue::selectEntryToProcess(DB::MergeTreeDataMergerMutator&, DB::MergeTreeData&) @ 0x25a561a4 in /usr/bin/clickhouse
:2022.07.13 02:55:51.686825 [ 1249702 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Storages/StorageReplicatedMergeTree.cpp:2960: DB::StorageReplicatedMergeTree::selectQueueEntry() @ 0x253d171e in /usr/bin/clickhouse
:2022.07.13 02:55:51.781708 [ 1249702 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Storages/StorageReplicatedMergeTree.cpp:3014: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&) @ 0x253d1b47 in /usr/bin/clickhouse
:2022.07.13 02:55:51.787517 [ 1249702 ] {} <Fatal> BaseDaemon: 13. ./build_docker/../src/Storages/MergeTree/BackgroundJobsAssignee.cpp:0: DB::BackgroundJobsAssignee::threadFunc() @ 0x25677db3 in /usr/bin/clickhouse
:2022.07.13 02:55:51.795796 [ 1249702 ] {} <Fatal> BaseDaemon: 14.1. inlined from ./build_docker/../src/Common/Stopwatch.h:49: Stopwatch::elapsedNanoseconds() const
:2022.07.13 02:55:51.795849 [ 1249702 ] {} <Fatal> BaseDaemon: 14.2. inlined from ../src/Common/Stopwatch.h:51: Stopwatch::elapsedMilliseconds() const
:2022.07.13 02:55:51.795877 [ 1249702 ] {} <Fatal> BaseDaemon: 14. ../src/Core/BackgroundSchedulePool.cpp:94: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x236c8af7 in /usr/bin/clickhouse
:2022.07.13 02:55:51.806452 [ 1249702 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../src/Core/BackgroundSchedulePool.cpp:0: DB::BackgroundSchedulePool::threadFunction() @ 0x236cb1bd in /usr/bin/clickhouse
:2022.07.13 02:55:51.817901 [ 1249702 ] {} <Fatal> BaseDaemon: 16.1. inlined from ./build_docker/../src/Core/BackgroundSchedulePool.cpp:0: operator()
:2022.07.13 02:55:51.817918 [ 1249702 ] {} <Fatal> BaseDaemon: 16. ../contrib/libcxx/include/type_traits:3640: decltype(static_cast<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::'lambda'()&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&) @ 0x236cbb7f in /usr/bin/clickhouse
:2022.07.13 02:55:51.826444 [ 1249702 ] {} <Fatal> BaseDaemon: 17.1. inlined from ./build_docker/../contrib/libcxx/include/__functional/function.h:1157: std::__1::function<void ()>::operator=(std::nullptr_t)
:2022.07.13 02:55:51.826461 [ 1249702 ] {} <Fatal> BaseDaemon: 17. ../src/Common/ThreadPool.cpp:284: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x10090841 in /usr/bin/clickhouse
:2022.07.13 02:55:51.836553 [ 1249702 ] {} <Fatal> BaseDaemon: 18. ./build_docker/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()> >(void*) @ 0x10093442 in /usr/bin/clickhouse
:2022.07.13 02:55:51.836592 [ 1249702 ] {} <Fatal> BaseDaemon: 19. ? @ 0x7ff67a537609 in ?
:2022.07.13 02:55:51.836606 [ 1249702 ] {} <Fatal> BaseDaemon: 20. clone @ 0x7ff67a45c133 in ?
:2022.07.13 02:55:52.107478 [ 1249702 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: 1292C4D5CBDF37F867A20BE33EDF24A8)
```
{
        if (out_reason)
            *out_reason = fmt::format("Part {} has uuid {} which is currently pinned", part->name, part->uuid);
        return false;
    }
    if (part->name == inprogress_quorum_part)
    {
        if (out_reason)
            *out_reason = fmt::format("Quorum insert for part {} is currently in progress", part->name);
        return false;
    }
    if (prev_virtual_parts.getContainingPart(part->info).empty())
    {
        if (out_reason)
            *out_reason = fmt::format("Entry for part {} hasn't been read from the replication log yet", part->name);
        return false;
    }
    std::lock_guard<std::mutex> lock(queue.state_mutex);
    
    
    String containing_part = queue.virtual_parts.getContainingPart(part->info);
    if (containing_part != part->name)
    {
        if (out_reason)
            *out_reason = fmt::format("Part {} has already been assigned a merge into {}", part->name, containing_part);
        return false;
    }
    return true;
}
bool ReplicatedMergeTreeMergePredicate::partParticipatesInReplaceRange(const MergeTreeData::DataPartPtr & part, String * out_reason) const