/[Apache-SVN]
ViewVC logotype

Revision 664943


Jump to revision: Previous Next
Author: aditya
Date: Wed Jan 24 23:39:10 2007 UTC (17 years, 9 months ago)
Changed paths: 2
Log Message:
-- Error recovery code for thrift logfile

Summary:
- perform some basic corruption checks:
   1) Event larger than chunk
   2) Event larger than specified max
   3) Event crossing chunk boundary etc.
- If error encountered, then try to perform some recovery

Reviewed By: Slee

Test Plan: Going to test now...need to check in because of compile issues

Notes:
- These checks take care of the case when there is a dirty read from the filesystem (which
  we have encountered with the netapps). The recovery involves trying to perform the read
  again from ths FS and if that fails skipping the chunk altogether.
  Keep in mind that this might only be useful for idempotent systems (e.g. search redolog).


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26