mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
dbms: Server: feature development. [#METR-15090]
This commit is contained in:
parent
3c8c29451b
commit
b458241ae5
@ -122,12 +122,6 @@ bool ReadBufferAIO::nextImpl()
|
||||
cb.aio_offset = 0;
|
||||
cb.aio_reqprio = 0;
|
||||
|
||||
if ((cb.aio_nbytes % BLOCK_SIZE) != 0)
|
||||
{
|
||||
got_exception = true;
|
||||
throw Exception("Illegal attempt to read unaligned data from file " + filename, ErrorCodes::AIO_UNALIGNED_BUFFER_ERROR);
|
||||
}
|
||||
|
||||
// Submit request.
|
||||
while (io_submit(aio_context.ctx, request_ptrs.size(), &request_ptrs[0]) < 0)
|
||||
if (errno != EINTR)
|
||||
|
Loading…
Reference in New Issue
Block a user