HBASE-1484 commit log split writes files with newest edits first (since hbase-1430); should be other way round

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@781906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-06-05 03:58:46 +00:00
parent c72bd42fb4
commit 039ec8fb82
1 changed files with 0 additions and 2 deletions

View File

@ -553,7 +553,6 @@ public class HLog implements HConstants, Syncable {
for (KeyValue kv: edits) {
HLogKey logKey =
new HLogKey(regionName, tableName, seqNum[counter++], now);
System.out.println("REMOVE " + logKey);
doWrite(logKey, kv, sync, now);
this.numEntries.incrementAndGet();
}
@ -827,7 +826,6 @@ public class HLog implements HConstants, Syncable {
logEntries.put(regionName, queue);
}
HLogEntry hle = new HLogEntry(val, key);
System.out.println("REMOVE !! " + hle);
queue.push(hle);
count++;
// Make the key and value new each time; otherwise same instance