| Addshore added a comment. |
Regarding what I said in T209201#4738324 re adding the wdqs lag to maxlag... that could be slightly tricky.
Right now the options for getting the maxlag are querying each server individually, or querying prometheus.
Also, waiting on a external service to return a result for the maxlag before performing an action might take too long.
A maxlag for the wdqs machines could be stored in some cache for checking and updater periodically, perhaps by a DeferrableUpdate or something similar?
TASK DETAIL
EMAIL PREFERENCES
To: Addshore
Cc: Krenair, Addshore, TerraCodes, Liuxinyu970226, Aklapper, Smalyshev, Nandana, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Vali.matei, D3r1ck01, Jonas, Xmlizer, Volker_E, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, GWicke, Dinoguy1000, Manybubbles, Mbch331, Jay8g
Cc: Krenair, Addshore, TerraCodes, Liuxinyu970226, Aklapper, Smalyshev, Nandana, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Vali.matei, D3r1ck01, Jonas, Xmlizer, Volker_E, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, GWicke, Dinoguy1000, Manybubbles, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
