This closes #364

This commit is contained in:
Clebert Suconic 2016-02-01 10:11:35 -05:00
commit cd04b49f89
2 changed files with 2 additions and 2 deletions

View File

@ -301,7 +301,7 @@ public class JDBCJournalImpl implements Journal {
// We actually only need the record ID in this instance. // We actually only need the record ID in this instance.
if (record.isTransactional()) { if (record.isTransactional()) {
RecordInfo info = new RecordInfo(record.getTxId(), record.getRecordType(), new byte[0], record.isUpdate(), record.getCompactCount()); RecordInfo info = new RecordInfo(record.getId(), record.getRecordType(), new byte[0], record.isUpdate(), record.getCompactCount());
if (record.getRecordType() == JDBCJournalRecord.DELETE_RECORD_TX) { if (record.getRecordType() == JDBCJournalRecord.DELETE_RECORD_TX) {
txHolder.recordsToDelete.add(info); txHolder.recordsToDelete.add(info);
} }

View File

@ -63,7 +63,7 @@ public class JDBCJournalRecord {
// Callback and sync operations // Callback and sync operations
private IOCompletion ioCompletion = null; private IOCompletion ioCompletion = null;
private boolean storeLineUp = false; private boolean storeLineUp = true;
private boolean sync = false; private boolean sync = false;
// DB Fields for all records // DB Fields for all records