The structure of the GFS checkpoint

245 views Asked by At

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

1

There are 1 answers

2
RecharBao On

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.