Reading on a ContentFilteredTopic after changing parameters still returns the samples read with the outdated parameters #3636
Unanswered
TheodoreCAshmore
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all!
I have a reader with with TRANSIENT_LOCAL_DURABILITY_QOS, RELIABLE_RELIABILITY_QOS and KEEP_ALL_HISTORY_QOS QoS. It is subscribed to a ContentFilteredTopic with this expression: "id <= %0 AND id >= %1".
If I initialise the parameters to a certain value (e.g. 10 and 5, so the expression is "id <=10 AND id >= 5"), when I perform a read, everything works as expected. That is, in the example, I would get all messages with id's between 5 and 10.
However, if I change the parameters or the expression (e.g. 20 and 15) and I perform a read, I still see the messages that were between the previous values instead of those between 20 and 15.
If that is the expected behaviour, is there something I can do to change it? I have been reading the documentation and I have found nothing about it, nor in the DDS specification.
Any help at all is very much appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions