YoungLH
YoungLH

Reputation: 1

The structure of the GFS checkpoint

Recently, I read the GFS paper but I have some trouble on the data strcuture of the checkpoint. So what does Checkpoint's data structure look like, and how is it designed

Upvotes: 0

Views: 310

Answers (1)

RecharBao
RecharBao

Reputation: 371

When the operation log reaches a certain size, the GFS master will do a checkpoint, which is equivalent to dumping the log data in the B-Tree format of the memory to the disk. Note that you can understand the checkpoint at this time as a process;

when the master needs to be restarted, you can read the most recent checkpoint, and then replay the operation log after it to speed up the recovery time. Note that you can understand the checkpoint at this time as a reference, which refers to the result data of the most recent process of the checkpoint.

Upvotes: 1

Related Questions