Informix Error -19838: Invalid partition was accessed by dirty reader.
Cause and resolution
Invalid partition was accessed by dirty reader.
The application had a dirty reader that tried to access an invalid partition. The partition does not exist or was dropped when trying to lock it.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-19838 fires when a dirty-read (DIRTY READ/isolation-level) application tries to access a
partition that doesn't exist or was dropped while being locked — per the official guidance.
- A partition dropped concurrently with a dirty reader's lock attempt, per the official guidance — the direct, only cause.
Solutions / Resolution
- Retry the operation, since dirty reads tolerate concurrent structural changes but can hit this transient condition when a partition is dropped mid-access.
- Coordinate DDL (partition drops) with dirty-read application activity, if this recurs frequently.
Examples
N/A
No specific triggering statement is documented beyond a dirty reader hitting a dropped partition.
Diagnostic Checks
- Check for concurrent DDL (partition drops) against the table around the time of the error.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -19838 in this set yet.
A dirty reader accessed a partition that no longer exists — retry, and check for concurrent partition-dropping DDL.