Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Our usage
Signal is collected by counting WorkerFactory.createWorker, for the same workerClassName. And having logs in the worker itself.
Problem
We see situations when the work manager starts our worker and cancels it and restarts it again in a short period of time (anecdotal data show cases where the worker was started 1k (and more) times in an hour.
Devices/Android versions reproduced on:
mostly different Samsung devices (but this is #1 manufacturer and we see on other devices too so no reasons to believe it is manufacturer specific issue). Android versions: 12/13/14
Here is a small snippet of the logs we have for such problems (will be happy to provide more logs and add more details and collect new logs when it will be clear what else is important for debugging the problem)