Merge pull request #39214 from azat/s3-fix-fetching-memory-part

Fix fetch of in-memory part with allow_remote_fs_zero_copy_replication
This commit is contained in:
alesapin 2022-07-15 17:52:05 +02:00 committed by GitHub
commit 5cf4bd50de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -174,6 +174,8 @@ void Service::processQuery(const HTMLForm & params, ReadBuffer & /*body*/, Write
std::sregex_token_iterator());
if (data_settings->allow_remote_fs_zero_copy_replication &&
/// In memory data part does not have metadata yet.
!isInMemoryPart(part) &&
client_protocol_version >= REPLICATION_PROTOCOL_VERSION_WITH_PARTS_ZERO_COPY)
{
auto disk_type = part->data_part_storage->getDiskType();

View File

@ -1,6 +1,5 @@
-- Tags: no-parallel, no-s3-storage
-- Tags: no-parallel
-- no-parallel -- for flaky check and to avoid "Removing leftovers from table" (for other tables)
-- no-s3-storage -- hangs now, need investigation
-- Temporarily skip warning 'table was created by another server at the same moment, will retry'
set send_logs_level='error';