EccentricLoggers / peloton

Street Strength Database Management System for Real-Time Analytics
http://pelotondb.org
Apache License 2.0
1 stars 2 forks source link

Crash during persist() #19

Closed eric-haibin-lin closed 8 years ago

eric-haibin-lin commented 8 years ago

What happens if we crash while writing a log file which has out of order transactions? Won't this lead to an inconsistent state? because We could output the commit message for a later transaction before a newer transaction. (from Matt)

Potential fix:

set a delimiter between these writes and complete the commit at that point.

eric-haibin-lin commented 8 years ago