3 colorado state university sangmi pallickara cs480

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: •  Snapshots Dele4ons/Garbage Collec4on Data Integrity Inefficiency Creating snapshots Google File System 2/15/13 L23.3 Colorado State University, Sangmi Pallickara CS480 Principles of Data Management Spring 2013 2/14/13 4 Colorado State University, Sangmi Pallickara CS480 Principles of Data Management Spring 2013 When a client wants to write to a chunk C after the snapshot operation Snapshots allow you to make a copy of a file very fast •  Master sees “the reference count to C” > 1 •  Pick new chunk ­handle C’ •  Ask chunk ­server with current replica of C 1.  Master revokes outstanding leases for any chunks of the file (source) to be snapshot –  Create new chunk C’ –  Data is copied locally, not over the network 2.  Log the opera4on to disk 3.  Update in ­memory state •  From this point chunk handling of C’ is no different 1.  Duplicate metadata of the source file 4.  Newly created file points to the same chunks as the source 2/14/13 Colorado State University, Sangmi Pallickara 5 2/14/13 Colorado State University, Sangmi Pallickara 6 1 2/15/13 CS480 Prin...
View Full Document

This note was uploaded on 02/11/2014 for the course CS 480 taught by Professor Staff during the Spring '08 term at Colorado State.

Ask a homework question - tutors are online