gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1504960 - in /gora/trunk: CHANGES.txt gora-dynamodb/src/main/java/org/apache/gora/dynamodb/store/DynamoDBStore.java
Date Fri, 19 Jul 2013 18:36:10 GMT
Author: lewismc
Date: Fri Jul 19 18:36:10 2013
New Revision: 1504960

URL: http://svn.apache.org/r1504960
Log:
GORA-258 writeCapacUnits gets value from wrong attribute

Modified:
    gora/trunk/CHANGES.txt
    gora/trunk/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/store/DynamoDBStore.java

Modified: gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/gora/trunk/CHANGES.txt?rev=1504960&r1=1504959&r2=1504960&view=diff
==============================================================================
--- gora/trunk/CHANGES.txt (original)
+++ gora/trunk/CHANGES.txt Fri Jul 19 18:36:10 2013
@@ -4,6 +4,8 @@
 
 Gora Change Log
 
+* GORA-258 writeCapacUnits gets value from wrong attribute (Apostolos Giannakidis via lewismc)
+
 * GORA-256 Add Solr store to gora-tutorial (Scott Stults via lewismc)
 
 * GORA-9 Implement a Solr-based store (ab, lewismc, Scott Stults)

Modified: gora/trunk/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/store/DynamoDBStore.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/store/DynamoDBStore.java?rev=1504960&r1=1504959&r2=1504960&view=diff
==============================================================================
--- gora/trunk/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/store/DynamoDBStore.java
(original)
+++ gora/trunk/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/store/DynamoDBStore.java
Fri Jul 19 18:36:10 2013
@@ -211,7 +211,7 @@ public class DynamoDBStore<K, T extends 
     
         String tableName = tableElement.getAttributeValue("name");
         long readCapacUnits = Long.parseLong(tableElement.getAttributeValue("readcunit"));
-        long writeCapacUnits = Long.parseLong(tableElement.getAttributeValue("readcunit"));
+        long writeCapacUnits = Long.parseLong(tableElement.getAttributeValue("writecunit"));
     
         mappingBuilder.setTableName(tableName);
         mappingBuilder.setProvisionedThroughput(tableName, readCapacUnits, writeCapacUnits);



Mime
View raw message