I am using rmds client to query to TREP FH. I have noticed if I keep restarting the rmds client (meaning start/kill/start) once in a while , the ADH does not send close for a stream and then re-request the same stream when rmds is started.
Now TREP FH application has no way of knowing active streams. This leads to TREP FH keeping 2 entries for same stream and send updates on both of them. Now rmds gets this and has duplicate updates. Is this behavior correct and what should TREP FH do? Also note that we can't just remove the duplicate streams blindly since we have checked that is a stream (symbol and source) is active and we re-request the same symbol and source, the ADH sends the request on same active stream and we do have to send initial image to the new request.