v.24.2Improvement

Bump Intel QPL to v1.4.0 and Fix Polling Timeout Bug

Bumped Intel QPL (used by codec DEFLATE_QPL) from v1.3.1 to v1.4.0 . Also fixed a bug for polling timeout mechanism, as we observed in same cases timeout won't work properly, if timeout happen, IAA and CPU may process buffer concurrently. So far, we'd better make sure IAA codec status is not QPL_STS_BEING_PROCESSED, then fallback to SW codec. #59551 (jasperzhu).
Upgraded the Intel QuickAssist Technology (Intel QPL) library used by the DEFLATE_QPL codec from version 1.3.1 to 1.4.0, and fixed a bug in the polling timeout mechanism preventing proper timeout handling during hardware acceleration.

Why it matters

This update addresses an issue where timeouts were not working correctly, causing Intel Acceleration Architecture (IAA) and CPU to potentially process the same buffer concurrently. By ensuring the IAA codec status is not QPL_STS_BEING_PROCESSED before falling back to the software codec, it prevents data corruption and improves stability when hardware acceleration fails or is delayed.

How to use it

Users automatically benefit from this fix and upgrade when using the DEFLATE_QPL codec in ClickHouse. No additional configuration is required; the polling timeout mechanism fallback and Intel QPL upgrade are applied internally.