Changed-lines coverage: PR changed C/C++ lines covered by tests: 95.00% (475/500) Uncovered changed code (with context): ================================================================================ programs/server/Server.cpp ================================================================================ --- uncovered block 2362-2363 --- 2360 | if (encryption_header_cache_size > max_cache_size) 2361 | { >> 2362 | encryption_header_cache_size = max_cache_size; >> 2363 | LOG_INFO(log, "Lowered encryption header cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(encryption_header_cache_size)); 2364 | } 2365 | global_context->setEncryptionHeaderCache(encryption_header_cache_policy, encryption_header_cache_size, encryption_header_cache_size_ratio); ================================================================================ src/IO/ReadPipeline.cpp ================================================================================ --- uncovered block 211-214 --- 209 | if (distributed_cache || memory_cache || !filesystem_caches.empty() || async_prefetch) 210 | { >> 211 | LOG_DEBUG(log, >> 212 | "use_reader_executor: falling back to the legacy read path " >> 213 | "(caches not yet supported by the executor)"); >> 214 | return nullptr; 215 | } 216 | ================================================================================ src/IO/ReaderExecutor.cpp ================================================================================ --- uncovered block 383-383 --- 381 | const StoredObject * object = offset_map.findObjectAt(0, &object_start_offset); 382 | if (!object) >> 383 | return; 384 | 385 | /// Cache hit: parse the cached header bytes and skip the source read. The size check guards --- uncovered block 411-417 --- 409 | if (offset_map.hasUnknownSize() && got == 0) 410 | { >> 411 | LOG_DEBUG(log, "initDecryption: unknown-size source returned 0 bytes (empty object), skipping"); >> 412 | return; 413 | } 414 | if (got != data_start_offset) >> 415 | throw Exception(ErrorCodes::CANNOT_READ_ALL_DATA, >> 416 | "Encrypted source returned {} header bytes, expected {} (corrupted/truncated)", >> 417 | got, data_start_offset); 418 | 419 | ChainedBuffers header_chain; --- uncovered block 454-455 --- 452 | if (!object) 453 | { >> 454 | reached_eof = true; >> 455 | return {}; 456 | } 457 | ================================================================================ src/IO/ReaderExecutor.h ================================================================================ --- uncovered block 87-87 --- 85 | /// Front object's `remote_path`, used to name the source in diagnostics; 86 | /// empty when no objects are configured. >> 87 | String getFileName() const { return log_file_path; } 88 | 89 | using KeyFinderFunc = std::function; --- uncovered block 214-214 --- 212 | /// Whether served payload is encrypted (`data_start_offset` is the header size, 213 | /// 0 when there is no encryption / no SSL). >> 214 | bool needsDecryption() const { return data_start_offset > 0; } 215 | /// Decrypt `size` bytes in place at logical `logical_offset` via the reentrant 216 | /// `decryptor`. No-op without SSL / with no layers. ================================================================================ src/Interpreters/Context.cpp ================================================================================ --- uncovered block 5037-5038 --- 5035 | if (size > max_cache_size) 5036 | { >> 5037 | size = max_cache_size; >> 5038 | LOG_DEBUG(shared->log, "Lowered encryption header cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(size)); 5039 | } 5040 | shared->encryption_header_cache->setMaxSizeInBytes(size); ================================================================================ src/Interpreters/InterpreterSystemQuery.cpp ================================================================================ --- uncovered block 2560-2566 --- 2558 | case Type::CLEAR_PARQUET_METADATA_CACHE: 2559 | case Type::CLEAR_POINT_IN_POLYGON_CACHE: >> 2560 | case Type::CLEAR_PRIMARY_INDEX_CACHE: >> 2561 | case Type::CLEAR_MMAP_CACHE: >> 2562 | case Type::CLEAR_QUERY_CONDITION_CACHE: >> 2563 | case Type::CLEAR_ENCRYPTION_HEADERS_CACHE: >> 2564 | case Type::CLEAR_QUERY_CACHE: >> 2565 | case Type::CLEAR_COMPILED_EXPRESSION_CACHE: >> 2566 | case Type::CLEAR_UNCOMPRESSED_CACHE: 2567 | case Type::CLEAR_INDEX_MARK_CACHE: 2568 | case Type::CLEAR_INDEX_UNCOMPRESSED_CACHE: WARNING: Failed to get start time for [Print Uncovered Code] - start time and duration won't be set --- Coverage counts --- Lines : baseline 880,647/1,026,405 -> current 881,128/1,026,906 (delta +481 / +501) Functions : baseline 947,059/1,021,871 -> current 947,192/1,022,015 (delta +133 / +144) Branches : baseline 284,205/364,644 -> current 284,243/364,794 (delta +38 / +150)