Skip to content

Commit

Permalink
Do now wrap store folder since its already a database folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaDemianenko committed Jul 23, 2018
1 parent 09033c1 commit eceb30c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
import org.neo4j.kernel.impl.core.ThreadToStatementContextBridge;
import org.neo4j.kernel.impl.coreapi.InternalTransaction;
import org.neo4j.kernel.impl.store.StoreId;
import org.neo4j.kernel.impl.transaction.state.DataSourceManager;
import org.neo4j.kernel.internal.GraphDatabaseAPI;
import org.neo4j.kernel.monitoring.Monitors;

Expand Down Expand Up @@ -387,7 +386,7 @@ public GraphDatabaseAPI restartDatabase( RestartAction action, String... configC
{
FileSystemAbstraction fs = resolveDependency( FileSystemAbstraction.class );
database.shutdown();
action.run( fs, new File( storeDir, DataSourceManager.DEFAULT_DATABASE_NAME ) );
action.run( fs, storeDir );
database = null;
applyConfigChanges( configChanges );
return getGraphDatabaseAPI();
Expand Down

0 comments on commit eceb30c

Please sign in to comment.