biddyweb / omapd

Automatically exported from code.google.com/p/omapd
GNU General Public License v3.0
0 stars 0 forks source link

Incorrect delta results returned in pollResults #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With a subscription on a sub-graph with multiple branches that all disappear at 
the same time (e.g. with session lifetime metadata), not all the metadata on 
the pruned branches show up as deleteResults for the matching subscriptions.

What steps will reproduce the problem?
1.  Subscribe to an identifier that will be the root of a multi-branch graph 
with max-depth > 1
2.  Publish session lifetime metadata to the branches of this graph
3.  End the session for the publisher, causing multiple deleteResults to be 
generated

What is the expected output? What do you see instead?
All session lifetime metadata matching the subscription should be returned as 
deleteResults when the publishing client ends the session.

Instead, only metadata on the first (ordering is identifier dependent) branch 
will be included in the deleteResults.  Also, the max-depth attribute is not 
enforced on these deltaResults.

The problem appears to be that all session level metadata for the publisher is 
removed at once.  Maybe making each piece of metadata for the publisher be 
removed individually, and checking the subscriptions would resolve this issue.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by smat...@gmail.com on 31 May 2012 at 12:20

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r128.

Original comment by smat...@gmail.com on 31 May 2012 at 8:31