YottaDB / YDB

Mirrored from https://gitlab.com/YottaDB/DB/YDB
Other
76 stars 37 forks source link

JNLBADRECFMT errors from MUPIP JOURNAL EXTRACT if journal file is being updated concurrently #284

Closed nars1 closed 6 years ago

nars1 commented 6 years ago

Final Release Note

Description

MUPIP JOURNAL EXTRACT currently does not work well if the journal file it is extracting from is concurrently being updated. It works fine some times but also terminates abnormally (example output shown below) some times.

%YDB-E-JNLUNXPCTERR, Unexpected error encountered for Journal mumps.mjl at disk address 0x00035BB8
%YDB-E-JNLBADRECFMT, Journal File Record Format Error encountered for file mumps.mjl at disk address 0x00035BB8

It would be nice to get this fixed.

Draft Release Note

MUPIP JOURNAL -EXTRACT on a journal file that is being concurrently updated creates an extract file reflecting the state of the journal file when the command started executing. Previously, it was possible for the extract command to terminate abnormally with JNLBADRECFMT, JNLUNXPCTERR, and very rarely even GTMASSERT2 errors (which also produces a core file).