Skip to content

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

Merged
shibu-kv merged 2 commits into
developfrom
topic/RDKEMW-18541
Jul 1, 2026
Merged

RDKEMW-18541: While configuring the report profile telemetry.txt.0 logs contains garbage data#377
shibu-kv merged 2 commits 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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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
@shibu-kv shibu-kv merged commit 1a9591c into develop Jul 1, 2026
15 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants