Feature/rdkemw 16716#385
Open
Abhinavpv28 wants to merge 3 commits into
Open
Conversation
Comment on lines
31
to
34
| #define TOPTEMP "/tmp/t2toplog" | ||
| #define DCADONEFLAG "/tmp/.dca_done" | ||
| #define TELEMETRY_PREVLOGS_DONE_FLAG "/tmp/.telemetry_prevlogs_done" | ||
|
|
Comment on lines
+183
to
+195
| /* Synchronize with backup_logs before grepping the previous-log directory. | ||
| * backup_logs populates PREVIOUS_LOGS_PATH; reading it before the write is | ||
| * complete yields incomplete or empty results. This is a soft gate — if the | ||
| * sentinel does not appear within BACKUP_LOGS_SYNC_TIMEOUT_S seconds we | ||
| * still proceed so telemetry is never permanently blocked. */ | ||
| if (customLogPath != NULL && strcmp(customLogPath, PREVIOUS_LOGS_PATH) == 0) | ||
| { | ||
| if (!waitForBackupLogsDone()) | ||
| { | ||
| T2Warning("%s: backup_logs sentinel absent; grepping %s with potentially incomplete data\n", | ||
| __FUNCTION__, PREVIOUS_LOGS_PATH); | ||
| } | ||
| } |
Comment on lines
+183
to
+195
| /* Synchronize with backup_logs before grepping the previous-log directory. | ||
| * backup_logs populates PREVIOUS_LOGS_PATH; reading it before the write is | ||
| * complete yields incomplete or empty results. This is a soft gate — if the | ||
| * sentinel does not appear within BACKUP_LOGS_SYNC_TIMEOUT_S seconds we | ||
| * still proceed so telemetry is never permanently blocked. */ | ||
| if (customLogPath != NULL && strcmp(customLogPath, PREVIOUS_LOGS_PATH) == 0) | ||
| { | ||
| if (!waitForBackupLogsDone()) | ||
| { | ||
| T2Warning("%s: backup_logs sentinel absent; grepping %s with potentially incomplete data\n", | ||
| __FUNCTION__, PREVIOUS_LOGS_PATH); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.