corrupted journal files

Started by Thomas Bock, July 11, 2023, 08:10:14 AM

Previous topic - Next topic

Thomas Bock

Each time a record with a large text field is written to a file with active journalization, the current journal file becomes corrupted.
As we cannot predict the requested field length, we define such fields with a length of 100 bytes delimited and turn on "extended records". We must always lie about the length in such cases. PxPlus has no problems with file I/O to the data file. So the 100 bytes are a signal for the developer, that there may me much more bytes.
We expect the journal file to be written as properly as the data file. How can we avoid the problem?

Devon Austen

Journalization is not supported for files with extended length records. See the note at the top of the documentation (https://manual.pvxplus.com/?Data%20Mirroring/Enabling%20Journalization.htm)

We have a wish list item looking at adding support for this. If it does get supported there may be limits on how large of a record length is supported with journalization.
Principal Software Engineer for PVX Plus Technologies LTD.