Unblock RLB dispatcher when used with other bindings
Categories
(Data Platform and Tools :: Glean: SDK, defect, P1)
Tracking
(Not tracked)
People
(Reporter: janerik, Assigned: janerik)
References
Details
Attachments
(1 file)
|
82 bytes,
text/x-google-doc
|
Details |
Ryan uncovered an edge case we didn't consider before in nimbus-sdk#65:
When Glean is controlled by some other binding (e.g. Kotlin or Swift bindings) the RLB dispatcher is never unblocked (as rlb's glean::initialize is never called).
That we might be able to work around: as a first step glean-ffi can depend on the RLB and flush the dispatcher.
However that uncovers a bigger issue: we now have mutliple dispatchers running (on the Android side and on the Rust side).
Therefore the order of things can't be trusted anymore. This might be okayish for just recording where exact timing of independent metrics could still result in good data, but the bigger problem is that ping submission happens on either one or the other dispatcher and we don't block on other operations then, potentially missing queued-up recordings.
| Assignee | ||
Comment 1•5 years ago
|
||
Come up with the current state / write a proposal.
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
The proposal has been accepted. I'm going to file implementation bugs.
Description
•