Skip to content

RDKEMW-18541: While configuring the report profile telemetry.txt.0 logs contains garbage data#377

Open
AravindanNC wants to merge 1 commit into
developfrom
topic/RDKEMW-18541
Open

RDKEMW-18541: While configuring the report profile telemetry.txt.0 logs contains garbage data#377
AravindanNC wants to merge 1 commit into
developfrom
topic/RDKEMW-18541

Conversation

@AravindanNC
Copy link
Copy Markdown
Contributor

Reason for change: Fix profile deletion race condition when RBUS method doesn not exist
Test Procedure: Build RDKE image

Signed-off-by: nc.aravindan@gmail.com

Copilot AI review requested due to automatic review settings June 2, 2026 15:27
@AravindanNC AravindanNC requested a review from a team as a code owner June 2, 2026 15:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a race around report-profile deletion when an RBUS_METHOD provider is missing, which previously could lead to corrupted/garbage output in telemetry.txt.0 logs during profile configuration.

Changes:

  • Added a small async wrapper (deleteProfileAsync) to invoke deleteProfile() from a different thread.
  • Updated the CollectAndReport failure path (after repeated RBUS_METHOD errors + missing provider) to spawn an async deletion thread instead of deleting inline.

Comment thread source/bulkdata/profile.c
Comment thread source/bulkdata/profile.c
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

Successfully merging this pull request may close these issues.

2 participants