30.12.2013 Views

GFS: The Google File System

GFS: The Google File System

GFS: The Google File System

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

What If the Master Reboots?<br />

• Replays log from disk<br />

– Recovers namespace (directory) information<br />

– Recovers file-to-chunk-ID mapping<br />

• Asks chunkservers which chunks they hold<br />

– Recovers chunk-ID-to-chunkserver mapping<br />

• If chunk server has older chunk, it’s stale<br />

– Chunk server down at lease renewal<br />

• If chunk server has newer chunk, adopt its<br />

version number<br />

– Master may have failed while granting lease<br />

27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!