add todo item
authorbdemsky <bdemsky@uci.edu>
Mon, 1 Aug 2016 19:56:38 +0000 (12:56 -0700)
committerbdemsky <bdemsky@uci.edu>
Mon, 1 Aug 2016 19:56:38 +0000 (12:56 -0700)
src/java/iotcloud/Table.java

index bbcfe6a..7c798ad 100644 (file)
@@ -128,6 +128,10 @@ final public class Table {
                }
 
                if (!rejectedmessagelist.isEmpty()) {
+                       /* TODO: We should avoid generating a rejected message entry if
+                        * there is already a sufficient entry in the queue (e.g.,
+                        * equalsto value of true and same sequence number).  */
+
                        long old_seqn=rejectedmessagelist.firstElement();
                        if (rejectedmessagelist.size() > REJECTED_THRESHOLD) {
                                long new_seqn=rejectedmessagelist.lastElement();