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
Original issue reported on code.google.com by
smat...@gmail.com
on 31 May 2012 at 12:20