On Wed, Feb 25, 2015 at 6:39 PM, Vladimir Rodionov <[email protected]>
wrote:

> 2. Do we have a possible race condition in SnapshotManifest:
>  a. When we get a list of a store files in
> public void addRegion(final HRegion region)
> b. then we iterate over this list and do some work
> c. then we close snapshot for region and save manifest to a file
>
> between a. and c. some files from list in a. can become invalid (deleted by
> HFileCleaner).
>
> I checked the code, no exception is raised if file is no longer exists
> during this phase.
>

there is a sanity check on the master before marking the snapshot as
successful. MasterSnapshotVerifier

Reply via email to