Skip to content

Commit

Permalink
refs 22648 Acknowledge change if removed in KeepAll mode
Browse files Browse the repository at this point in the history
Signed-off-by: Eugenio Collado <[email protected]>
  • Loading branch information
EugenioCollado committed Jan 21, 2025
1 parent c0e7929 commit fa4ed02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpp/fastdds/publisher/DataWriterHistory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ bool DataWriterHistory::prepare_change(
if (history_qos_.kind == KEEP_ALL_HISTORY_QOS)
{
ret = this->mp_writer->try_remove_change(max_blocking_time, lock);
// If change was removed (ret == 1) in KeepAllHistory, it must have been acked
is_acked = ret;
}
else if (history_qos_.kind == KEEP_LAST_HISTORY_QOS)
{
Expand Down

0 comments on commit fa4ed02

Please sign in to comment.