partially written log file?

derek dick
  • derek dick

    derek dick - 2003-06-09

    this may be a silly question but...

    is it possible that a log file could be partially written?

    - do some stuff...
    - call commit
    - starts to write out committed data to .LG file.
    - <crash>
    - JDBM starts up and sees a .LG file and commits it.  (even though its only partially written).

    .: if a partial log file can exist, then does JDBM ignore it.   if a partial log file can not exist then that is  fine too.

    • Alex Boisvert

      Alex Boisvert - 2003-06-09

      Upon recovery, JDBM will detect that the log file is corrupted and ignore any incomplete transaction record.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks