if (loaded.compareAndSet(false, true)) {
final Page<Metadata> metadataPage = tx.load(pageId, metadataMarshaller);
// Is this a brand new index?
if (metadataPage.getType() == Page.PAGE_FREE_TYPE) {
// We need to create the pages for the bins
Page binPage = tx.allocate(metadata.binCapacity);
metadata.binPageId = binPage.getPageId();
metadata.page = metadataPage;
metadataPage.set(metadata);
clear(tx);
// If failure happens now we can continue initializing the