References work with {@link HalfMapFileReader}. References know how to write out the reference format in the file system and are whats juggled when references are mixed in with direct store files. The {@link HalfMapFileReader} is used reading the referred to file.
References to store files located over in some other region look like this in the file system 1278437856009925445.hbaserepository,qAReLZD-OyQORZWq_vqR1k==,959247014679548184
: i.e. an id followed by the name of the referenced region. The data ('mapfiles') of references are empty. The accompanying info
file contains the midkey
that demarks top and bottom of the referenced storefile, the id of the remote store we're referencing and whether we're to serve the top or bottom region of the remote store file. Note, a region is itself not splitable if it has instances of store file references. References are cleaned up by compactions.
|
|