Nimesh-0000 opened a new pull request, #13657:
URL: https://github.com/apache/skywalking/pull/13657
Fix the issue where browser-generated UUIDs can have duplicates due to
browser limitations, causing data loss in BanyanDB's Measure module (which
doesn't support updates).
Solution:
Modified `BrowserErrorLogRecord#id()` to generate a composite internal ID
combining the browser-provided `uniqueId` with the `timestamp`. This ensures
each error log entry has a unique storage ID even if browser UUIDs collide.
Changes:
- Modified `BrowserErrorLogRecord.java` to use `{uniqueId}_{timestamp}` for
internal ID.
- Updated `browser-protocol.md` documentation.
- Added `BrowserErrorLogRecordTest.java` unit tests to verify uniqueness.
Related: Browser logs issue with duplicated UUID.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]