partially written log file?

Help
derek dick
2003-06-09
2003-06-09
  • 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?

    e.g.
    - 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.

      alex

       

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks