Open
Bug 1950587
Opened 23 days ago
Updated 23 days ago
Ensure re-registering pings doesn't cause state confusion
Categories
(Data Platform and Tools :: Glean: SDK, enhancement)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
NEW
People
(Reporter: janerik, Unassigned)
References
Details
bug 1947748 showed another instance of confusion what is the valid state of pings after they get re-registered.
We should tackle that better and ensure we only ever have a single instance per ping name around and thus no more state confusion.
This could work by ensuring we re-use an already registered instance if a new one is created (by looking it up in the registry).
Or by merging the state somehow.
Reporter | ||
Comment 1•23 days ago
|
||
A problem with that lookup/interning of ping instances is that we allow ping registration before Glean is initialized.
It will require a bit more to deal with that second list of pings.
You need to log in
before you can comment on or make changes to this bug.
Description
•