cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject git commit: Fix addColumn order in BM.getBatchlogMutationFor()
Date Thu, 23 May 2013 23:24:25 GMT
Updated Branches:
  refs/heads/trunk 98b9cb47f -> 22d117302


Fix addColumn order in BM.getBatchlogMutationFor()


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/22d11730
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/22d11730
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/22d11730

Branch: refs/heads/trunk
Commit: 22d1173021772cfb445cd60c7d6b8f2ef5ca193b
Parents: 98b9cb4
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Fri May 24 02:24:16 2013 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Fri May 24 02:24:16 2013 +0300

----------------------------------------------------------------------
 .../org/apache/cassandra/db/BatchlogManager.java   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/22d11730/src/java/org/apache/cassandra/db/BatchlogManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/BatchlogManager.java b/src/java/org/apache/cassandra/db/BatchlogManager.java
index 6f9cb35..48d86e3 100644
--- a/src/java/org/apache/cassandra/db/BatchlogManager.java
+++ b/src/java/org/apache/cassandra/db/BatchlogManager.java
@@ -122,8 +122,8 @@ public class BatchlogManager implements BatchlogManagerMBean
 
         ColumnFamily cf = ArrayBackedSortedColumns.factory.create(CFMetaData.BatchlogCf);
         cf.addColumn(new Column(columnName(""), ByteBufferUtil.EMPTY_BYTE_BUFFER, timestamp));
-        cf.addColumn(new Column(columnName("written_at"), writtenAt, timestamp));
         cf.addColumn(new Column(columnName("data"), data, timestamp));
+        cf.addColumn(new Column(columnName("written_at"), writtenAt, timestamp));
 
         return new RowMutation(Table.SYSTEM_KS, UUIDType.instance.decompose(uuid), cf);
     }


Mime
View raw message