[MCOL-4828] Retrieve and log perror value for low level POSIX file methods. Created: 2021-07-31  Updated: 2021-10-20

Status: Open
Project: MariaDB ColumnStore
Component/s: PrimProc
Affects Version/s: 5.6.2
Fix Version/s: Icebox

Type: New Feature Priority: Major
Reporter: Roman Assignee: Roman
Resolution: Unresolved Votes: 1
Labels: None


 Description   

The current error handling code in IOM::thr_popper() (JFYI the class name is not precise) can't tell what actually goes wrong when pread fails, e.g. it is impossible to understand why GlusterFS fails reading compression headers in updateptrs() so it is unclear how to manage with the problem.
It would be helpful to print out perror value in case of an error, namely for the case when updateptrs returns -4.


Generated at Thu Feb 08 02:53:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.