Fixes
authorAli Younis <ayounis@uci.edu>
Tue, 16 May 2017 02:29:23 +0000 (19:29 -0700)
committerAli Younis <ayounis@uci.edu>
Tue, 16 May 2017 02:29:23 +0000 (19:29 -0700)
version2/src/java/iotcloud/Table.java

index 735d150..6348ccc 100644 (file)
@@ -1524,11 +1524,16 @@ final public class Table {
 
 
                if (didFindTableStatus) {
-                       expectedsize = (prevslots < ((long) numberOfSlots)) ? (int) prevslots : expectedsize;
+                       // expectedsize = (prevslots < ((long) numberOfSlots)) ? (int) prevslots : expectedsize;
+                       // System.out.println("Here2: " + expectedsize + "    " + numberOfSlots + "   " + prevslots);
+
                } else {
                        expectedsize = (prevslots < ((long) numberOfSlots)) ? (int) prevslots : numberOfSlots;
+                       // System.out.println("Here: " + expectedsize);
                }
-               
+
+               // System.out.println(numberOfSlots);
+
                didFindTableStatus = true;
                currMaxSize = numberOfSlots;
        }
@@ -1539,6 +1544,9 @@ final public class Table {
                if (expectedsize > currMaxSize) {
                        expectedsize = currMaxSize;
                }
+
+                                       // System.out.println("" + expectedsize);
+
        }