https://clickhouse-test-reports.s3.yandex.net/0/9195e4e887e6f05cf41ce326d0de98e1ae1204f5/stress_test_(debug).html

query
```
2021.10.19 17:13:46.212969 [ 15981 ] {adfead4b-ed57-40ef-819a-9cb608aa1184} <Debug> executeQuery: (from [::1]:38756) (comment: 01506_buffer_table_alter_block_structure.sql) INSERT INTO buf (timestamp, s) VALUES
```

```
2021.10.19 17:13:46.475436 [ 15981 ] {adfead4b-ed57-40ef-819a-9cb608aa1184} <Fatal> : Logical error: 'Block structure mismatch in Buffer stream: different number of columns:
s String String(size = 1), timestamp DateTime UInt32(size = 1)
timestamp DateTime UInt32(size = 0)'.

2021.10.19 17:15:10.275157 [ 17553 ] {} <Fatal> BaseDaemon: ########################################
2021.10.19 17:15:10.388470 [ 17553 ] {} <Fatal> BaseDaemon: (version 21.11.1.8483 (official build), build id: 102D40AAC8B89424DB460221D6A9447CD6AAD6B4) (from thread 15981) (query_id: adfead4b-ed57-40ef-819a-9cb608aa1184) Received signal Aborted (6)
2021.10.19 17:15:10.433208 [ 17553 ] {} <Fatal> BaseDaemon:
2021.10.19 17:15:10.445788 [ 17553 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f294831818b 0x7f29482f7859 0x14f43478 0x14f43582 0x20ccaab1 0x20cc901c 0x20cc8f07 0x223e9022 0x223ef103 0x223eed45 0x22eeaeb5 0x22e557e3 0x22e5577d 0x22e5573d 0x22e55715 0x22e556dd 0x14f900e6 0x14f8f175 0x22e54ece 0x22e54bae 0x22b11cb9 0x22b11c1f 0x22b11bbd 0x22b11b7d 0x22b11b55 0x22b11b1d 0x14f900e6 0x14f8f175 0x22b105c5 0x22b0f798 0x22b3747a 0x22a9525b 0x22a8f1f0 0x22a9e7a5 0x26ee4519 0x26ee4d28 0x27032c74 0x2702f75a 0x2702e53c 0x7f29484fa609 0x7f29483f4293
2021.10.19 17:15:11.243067 [ 17553 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:53: DB::handle_error_code(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool, std::__1::vector<void*, std::__1::allocator<void*> > const&) @ 0x14f43478 in /usr/bin/clickhouse
2021.10.19 17:15:11.912051 [ 17553 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:60: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0x14f43582 in /usr/bin/clickhouse
2021.10.19 17:15:20.051060 [ 17553 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../src/Core/Block.cpp:32: void DB::onError<void>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x20ccaab1 in /usr/bin/clickhouse
2021.10.19 17:15:27.551150 [ 497 ] {} <Fatal> Application: Child process was terminated by signal 6.
```
{
    try
    {
        flushAllBuffers(true);
    }
    catch (...)
    {
        tryLogCurrentException(__PRETTY_FUNCTION__);
    }
    reschedule();
}
void StorageBuffer::reschedule()