Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PublisherHistory: stateless writer never removes samples #34

Closed
liamstask opened this issue Apr 6, 2016 · 1 comment
Closed

PublisherHistory: stateless writer never removes samples #34

liamstask opened this issue Apr 6, 2016 · 1 comment

Comments

@liamstask
Copy link
Contributor

The fix for #33 is not correct in the case of a StatelessWriter. If the publisher is configured with KEEP_LAST_HISTORY_QOS and BEST_EFFORT reliability, StatelessWriter::clean_history() always returns false now, which means that when it's called in PublisherHistory::add_pub_change(), it triggers the path that logs Attempting to add Data to Full WriterCache:.

Might be enough to return true from StatelessWriter::clean_history() instead.

liamstask added a commit to 3drobotics/Fast-RTPS that referenced this issue Apr 29, 2016
`PublisherHistory::add_pub_change()` calls `clean_history()` and considers history full if it returns false. Actually remove items from history, and return whether we actually removed anything.

for eProsima#34
@SantiagoMunoz
Copy link
Contributor

It seems this issue has been solved on version 1.2.0. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants