reset password
Author Message
jcalilu
Posts: 20
Posted 12:02 May 28, 2016 |

Do we need to flush the log for <START, T> before doing any writing/flushing for it to be recoverable?

For example:

<START, T>

Flush(log)         ====> Is this flush necessary for this to be recoverable?

Write(X, vx')

<UPDATE, T, X, vx>

Flush(log)         ====> Or can we remove the flush above and just flush the <START, T> here?

Flush(X)

<COMMIT, T>

Flush(log)

Commit

Last edited by jcalilu at 12:02 May 28, 2016.
cysun
Posts: 2935
Posted 23:02 May 28, 2016 |

The first Flush(log) is not necessary for it to be recoverable.