PxPlus User Forum

Twitter Twitter Twitter

Author Topic: corrupted journal files  (Read 762 times)

Thomas Bock

  • Diamond Member
  • *****
  • Posts: 179
    • View Profile
corrupted journal files
« on: July 11, 2023, 08:10:14 AM »
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

  • Administrator
  • Diamond Member
  • *****
  • Posts: 384
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: corrupted journal files
« Reply #1 on: July 11, 2023, 08:50:25 AM »
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.