hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Bertozzi <theo.berto...@gmail.com>
Subject Re: Snapshot internals questions
Date Thu, 26 Feb 2015 00:04:32 GMT
On Wed, Feb 25, 2015 at 6:39 PM, Vladimir Rodionov <vladrodionov@gmail.com>
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message