[ https://issues.apache.org/jira/browse/APEXMALHAR-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15550997#comment-15550997 ]
Chaitanya commented on APEXMALHAR-2276: --------------------------------------- I too agree But, I have a query relates to Managed State. If the same keys are inserted at different timestamps. While searching from Bucket, it's not getting the same value. I would like to know, Is there any constraint on this? Example: ======= ManagedTimeStateImpl mt = new ManagedTimeStateImpl(); bucketSpanTime = 0.5 secs Scenario (a): mt.put(1004, k1, v1); mt.put(1505, k1, v2); mt.put(1008, k1, v3); --------------- checkpoint() ---------------- mt.get(k1).equals(v2) will return true. Scenario (b): ---------------- mt.put(1004, k1, v1); mt.put(1505, k1, v2); -------------------- checkpoint() mt.put(1008, k1, v3); mt.get(k1).equals(v2) will return false. > ManagedState: value of a key does not get over-written in the same time bucket > ------------------------------------------------------------------------------ > > Key: APEXMALHAR-2276 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2276 > Project: Apache Apex Malhar > Issue Type: Bug > Reporter: Siyuan Hua > Assignee: Chandni Singh > Fix For: 3.6.0 > > > For example: > ManagedTimeUnifiedStateImpl mtus; > mtus.put(10000, key1, val1) > mtus.put(10000, key1, val2) > mtus.get(10000, key1).equals(val2) will return false -- This message was sent by Atlassian JIRA (v6.3.4#6332)