dmwm / CRABServer

16 stars 38 forks source link

add a canary (qa) deployment for TW #8806

Open belforte opened 16 hours ago

belforte commented 16 hours ago

with ref to #8650

@aspiringmind-code and @belforte had a chat today. Here's notes to guide development:

Design in words

At very high level we decide which TW is master and which canary and the fraction to be sent. This goes in the conifg. And everything else is “implementation”

Master(primary) TW does scheduling and marks some tasks (up to 2*Nslaves at every poll cycle) with status HOLDING and its TWNAME. We want to change so that X% of those tasks end up with the canary TW name instead.

Implementation guidelines

Configuration params:

MasterWorker changes:

Extra niceties