Skip to content

Commit

Permalink
Andrei review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaDemianenko committed Aug 21, 2018
1 parent b4314e6 commit 2630331
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Expand Up @@ -450,11 +450,11 @@ private LifeSupport initializeExtensions( Dependencies dependencies )
return extensionsLife; return extensionsLife;
} }


private static RecordFormats selectStoreFormats( Config config, DatabaseLayout dbDirectoryStructure, FileSystemAbstraction fs, PageCache pageCache, private static RecordFormats selectStoreFormats( Config config, DatabaseLayout databaseLayout, FileSystemAbstraction fs, PageCache pageCache,
LogService logService ) LogService logService )
{ {
LogProvider logging = logService.getInternalLogProvider(); LogProvider logging = logService.getInternalLogProvider();
RecordFormats formats = RecordFormatSelector.selectNewestFormat( config, dbDirectoryStructure, fs, pageCache, logging ); RecordFormats formats = RecordFormatSelector.selectNewestFormat( config, databaseLayout, fs, pageCache, logging );
new RecordFormatPropertyConfigurator( formats, config ).configure(); new RecordFormatPropertyConfigurator( formats, config ).configure();
return formats; return formats;
} }
Expand Down
Expand Up @@ -67,22 +67,22 @@ public abstract class CommonAbstractStore<RECORD extends AbstractBaseRecord,HEAD
{ {
static final String UNKNOWN_VERSION = "Unknown"; static final String UNKNOWN_VERSION = "Unknown";


private final File idFile;
protected final Config configuration; protected final Config configuration;
protected final PageCache pageCache; protected final PageCache pageCache;
private final String databaseName;
final File storageFile;
protected final IdType idType; protected final IdType idType;
protected final IdGeneratorFactory idGeneratorFactory; protected final IdGeneratorFactory idGeneratorFactory;
protected final Log log; protected final Log log;
protected PagedFile pagedFile;
protected final String storeVersion; protected final String storeVersion;
protected final RecordFormat<RECORD> recordFormat; protected final RecordFormat<RECORD> recordFormat;
final File storageFile;
private final File idFile;
private final String databaseName;
private final String typeDescriptor;
protected PagedFile pagedFile;
protected int recordSize;
private IdGenerator idGenerator; private IdGenerator idGenerator;
private boolean storeOk = true; private boolean storeOk = true;
private RuntimeException causeOfStoreNotOk; private RuntimeException causeOfStoreNotOk;
private final String typeDescriptor;
protected int recordSize;


private final StoreHeaderFormat<HEADER> storeHeaderFormat; private final StoreHeaderFormat<HEADER> storeHeaderFormat;
private HEADER storeHeader; private HEADER storeHeader;
Expand Down

0 comments on commit 2630331

Please sign in to comment.