Permalink
Browse files

Test YCSB Recovery

  • Loading branch information...
jarulraj committed Mar 14, 2014
1 parent 995f716 commit 3e3f4078f10c9355ccb809c72eac6264d6fef5b2
@@ -52,7 +52,7 @@
// Transaction frequencies as specified in YCSB
public static final int FREQUENCY_INSERT_RECORD = 0;
public static final int FREQUENCY_DELETE_RECORD = 0;
public static final int FREQUENCY_READ_RECORD = 50;
public static final int FREQUENCY_READ_RECORD = 90;
public static final int FREQUENCY_SCAN_RECORD = 0;
public static final int FREQUENCY_UPDATE_RECORD = 50;
public static final int FREQUENCY_UPDATE_RECORD = 10;
}
@@ -1728,8 +1728,8 @@ void VoltDBEngine::doAriesRecovery(char *logData, size_t length, int64_t replay_
long microseconds = (tv2.tv_sec - tv1.tv_sec) * 1000000 + ((int)tv2.tv_usec - (int)tv1.tv_usec);
long milliseconds = microseconds/1000;
VOLT_WARN("ARIES : ######################### Recovery Latency : completed in %ld ms", milliseconds);
VOLT_WARN("ARIES : ######################### Recovery Completed : %d log records replayed", counter);
VOLT_INFO("ARIES : ######################### Recovery Latency : completed in %ld ms", milliseconds);
VOLT_INFO("ARIES : ######################### Recovery Completed : %d log records replayed", counter);
std::ostringstream sstm;
sstm << counter;
@@ -53,7 +53,7 @@
// TPCC
private static final String PREFIX = "tpcc";
private static int NUM_TRANSACTIONS = 10;
private static int NUM_TRANSACTIONS = 20000;
private static final String projectJAR = "physical_" + PREFIX + ".jar";
public TestTPCCPhysicalRecovery(String name) {
@@ -215,9 +215,8 @@ static public Test suite() {
success = m_config.compile(project);
assert (success);
builder.addServerConfig(m_config);
// CONFIG #2: 1 Local Site with 1 Partitions running on JNI backend
// CONFIG #2: 1 Local Site with 1 Partitions running on JNI backend
/*
NUM_SITES = 1;
NUM_PARTITIONS = 1;
@@ -64,7 +64,7 @@
// YCSB
private static final String PREFIX = "ycsb";
private static int NUM_TRANSACTIONS = 1000;
private static int NUM_TRANSACTIONS = 100000;
private static final String projectJAR = "physical_" + PREFIX + ".jar";
public TestYCSBPhysicalRecovery(String name) {

0 comments on commit 3e3f407

Please sign in to comment.