Permalink
Browse files

Tests all pass.

  • Loading branch information...
jarulraj committed Apr 18, 2014
1 parent 59579e6 commit c3f469f9faa762a18f206019cdccca6afc10a16a
@@ -70,9 +70,9 @@ public AriesLogNative(int numSites, int numPartitionsPerSite, int size, String l
}
public AriesLogNative(int numSites, int numPartitionsPerSite, int size, int syncFrequency, String logFileName) {
LOG.warn("AriesLogNative : numSites : "+numSites+ " logFileName : "+logFileName);
//LOG.warn("AriesLogNative : numSites : "+numSites+ " logFileName : "+logFileName);
m_perSiteRecoveryDone = new boolean[numSites*numPartitionsPerSite];
m_perSiteRecoveryDone = new boolean[numSites*numPartitionsPerSite];
for (int i = 0; i < numSites*numPartitionsPerSite; i++) {
m_perSiteRecoveryDone[i] = false;
@@ -101,7 +101,6 @@
import org.voltdb.sysprocs.Sleep;
import org.voltdb.sysprocs.SnapshotDelete;
import org.voltdb.sysprocs.SnapshotRestore;
import org.voltdb.sysprocs.SnapshotRestoreLocal;
import org.voltdb.sysprocs.SnapshotSave;
import org.voltdb.sysprocs.SnapshotScan;
import org.voltdb.sysprocs.SnapshotStatus;
@@ -1263,7 +1262,6 @@ void addSystemProcsToCatalog(final Catalog catalog, final Database database) thr
// Table of sysproc metadata.
final Object[][] procedures = {
// SysProcedure Class readonly everysite
//{SnapshotRestoreLocal.class, false, true},
{LoadMultipartitionTable.class, false, true},
{DatabaseDump.class, true, true},
{MarkovUpdate.class, true, true},
@@ -54,7 +54,9 @@
// TPCC
private static final String PREFIX = "tpcc";
private static int NUM_TRANSACTIONS = 5000;
// XXX ARIES logger fsync's a lot - so reduced this to 10 txns
// Either change it to group commit or use PMFS which has lightweight fsync
private static int NUM_TRANSACTIONS = 10;
private static final String projectJAR = "physical_" + PREFIX + ".jar";
public TestTPCCPhysicalRecovery(String name) {
@@ -192,10 +194,10 @@ static public Test suite() {
// PHYSICAL
builder.setGlobalConfParameter("site.aries", true);
builder.setGlobalConfParameter("site.aries_forward_only", false);
builder.setGlobalConfParameter("site.aries_dir", "/mnt/pmfs/aries");
builder.setGlobalConfParameter("site.anticache_enable", false);
//builder.setGlobalConfParameter("site.aries_dir", "/mnt/pmfs/aries");
TPCCProjectBuilder project = new TPCCProjectBuilder();
project.addAllDefaults();
@@ -64,7 +64,7 @@
// YCSB
private static final String PREFIX = "ycsb";
private static int NUM_TRANSACTIONS = 5000;
private static int NUM_TRANSACTIONS = 10000;
private static final String projectJAR = "physical_" + PREFIX + ".jar";
public TestYCSBPhysicalRecovery(String name) {

0 comments on commit c3f469f

Please sign in to comment.