Skip to content

{bp-3527} system/uorb: fix listener_top not showing topic data#3547

Merged
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-3527
Jun 17, 2026
Merged

{bp-3527} system/uorb: fix listener_top not showing topic data#3547
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-3527

Conversation

@jerpelea

Copy link
Copy Markdown
Contributor

Summary

listener_update() only prints topic data when delta_generation is non-zero (i.e., new data arrived since last check). In listener_top, the first call adds objects to the list, and subsequent calls only print if new data was published between iterations. This results in listener_top -T showing only the header with no topic rows.

Fix by always printing the current topic state in listener_update, setting frequency to 0 when no new data arrives. This ensures listener_top displays all topics every iteration.

Fixes #3202

Impact

RELEASE

Testing

CI

listener_update() only prints topic data when delta_generation is
non-zero (i.e., new data arrived since last check). In listener_top,
the first call adds objects to the list, and subsequent calls only
print if new data was published between iterations. This results in
listener_top -T showing only the header with no topic rows.

Fix by always printing the current topic state in listener_update,
setting frequency to 0 when no new data arrives. This ensures
listener_top displays all topics every iteration.

Fixes apache#3202

Signed-off-by: hanzj <hanzhijian@zepp.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 5d2145a into apache:releases/13.0 Jun 17, 2026
27 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants