Commit 6958e77d authored by MishaDemianenko's avatar MishaDemianenko
Browse files

Review comments: same version to, paddings

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -172,7 +172,7 @@ public class IdGeneratorMigrator extends AbstractStoreMigrationParticipant
int numberOfReservedLowIds = store.getNumberOfReservedLowIds();
try ( PageCursor cursor = store.openPageCursorForReading( numberOfReservedLowIds );
// about maxId: let's not concern ourselves with maxId here; if it's in the store it can be in the id generator
IdGenerator idGenerator = rebuiltIdGenerators.create( pageCache, idFile, storeType.getIdType(), highId, true, Long.MAX_VALUE, readOnly ) )
IdGenerator idGenerator = rebuiltIdGenerators.create( pageCache, idFile, storeType.getIdType(), highId, true, Long.MAX_VALUE, readOnly ) )
{
idGenerator.start( visitor ->
{
......
......@@ -97,7 +97,7 @@ class IdGeneratorMigratorTest
// when
IdGeneratorMigrator migrator = new IdGeneratorMigrator( fs, pageCache, defaults() );
migrator.migrate( db, upgrade, ProgressReporter.SILENT, StandardV3_4.STORE_VERSION, Standard.LATEST_STORE_VERSION );
migrator.moveMigratedFiles( upgrade, db, StandardV3_4.STORE_VERSION, StandardV4_0.STORE_VERSION );
migrator.moveMigratedFiles( upgrade, db, StandardV3_4.STORE_VERSION, Standard.LATEST_STORE_VERSION );
// then
assertIdGeneratorContainsIds( db.idNodeStore(), IdType.NODE, 500, 1, 3, nodeStoreStartId );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment