// TODO: Check that the string data has all been evicted.
// Now execute a query that needs to access data from this block
long expected = 1;
Procedure proc = this.getProcedure("GetRecord");
ClientResponse cresponse = this.client.callProcedure(proc.getName(), expected);
assertEquals(Status.OK, cresponse.getStatus());
// Check to make sure that our stats were updated
VoltTable newStats[] = this.ee.getStats(SysProcSelector.TABLE, this.locators, false, 0L);
assertEquals(1, newStats.length);
System.err.println(VoltTableUtil.format(newStats));
adv = newStats[0].advanceRow();
assert(adv);
for (int i = 0; i < statsFields.length; i++) {
// ACTIVE
assertEquals(statsFields[i], 0, newStats[0].getLong(statsFields[i]));
// GLOBAL WRITTEN
assertEquals(writtenFields[i], origStats[0].getLong(writtenFields[i]), newStats[0].getLong(writtenFields[i]));
// GLOBAL READ
assertEquals(readFields[i], origStats[0].getLong(writtenFields[i]), newStats[0].getLong(readFields[i]));
} // FOR
// Check that the global stats for the site matches too
this.executor.getDebugContext().updateMemory();
proc = this.getProcedure(VoltSystemProcedure.procCallName(Statistics.class));
Object params[] = { SysProcSelector.MEMORY.name(), 0 };
cresponse = this.client.callProcedure(proc.getName(), params);
assertEquals(Status.OK, cresponse.getStatus());
VoltTable results = cresponse.getResults()[0];
adv = results.advanceRow();
assert(adv);
for (int i = 0; i < statsFields.length; i++) {
// XXX: Skip the byte counters since it will be kilobytes
if (statsFields[i].contains("BYTES")) continue;