private final Connection masterConnection;
private long masterVersion;
public ReadOnlySlave( String path, Map<String,String> params,
String masterIp, int masterPort )
{
<BUG>this.graphDb = new EmbeddedReadOnlyGraphDatabase( path, params );
this.xaDs = (NeoStoreXaDataSource) graphDb.getConfig().getTxModule()</BUG>
.getXaDataSourceManager().getXaDataSource( "nioneodb" );
this.xaDs.makeBackupSlave();
recover();

private final Connection masterConnection;
private long masterVersion;
public ReadOnlySlave( String path, Map<String,String> params,
String masterIp, int masterPort )
{
this.graphDb = new EmbeddedGraphDatabase( path, params );
this.xaDs = (NeoStoreXaDataSource) graphDb.getConfig().getTxModule()
.getXaDataSourceManager().getXaDataSource( "nioneodb" );
this.xaDs.makeBackupSlave();
recover();
